* Bug #6693 fixed - modulo did not accept polynomial inputs. Help page was not updated.
[scilab.git] / scilab / modules / elementary_functions / help / en_US / modulo.xml
index c34b63f..4345527 100644 (file)
@@ -37,7 +37,7 @@
             <varlistentry>
                 <term>m</term>
                 <listitem>
-                    <para>real vector or matrix </para>
+                    <para>real or polynomial vector or matrix </para>
                 </listitem>
             </varlistentry>
         </variablelist>
@@ -49,8 +49,7 @@
                 m)
             </code>
             i.e. remainder of <varname>n</varname> divided by
-            <varname>m</varname> (<varname>n</varname> and <varname>m</varname>
-            are integers).
+            <varname>m</varname>.
         </para>
         <para>
             <code>i = n - m .* int (n ./ m)</code>. Here the answer may be negative
         </para>
     </refsection>
     <refsection>
+        <title>Remark</title>
+        <para><note>
+                If m and n are vector or matrix type, m and n must have the same dimensions.
+            </note>
+        </para>
+    </refsection>
+    <refsection>
         <title>Examples</title>
         <programlisting role="example"><![CDATA[ 
 n = [1,2,10,15];