Various improvements of the poly help page
[scilab.git] / scilab / modules / polynomials / help / en_US / poly.xml
index bf81e50..6fe2ff0 100644 (file)
@@ -20,8 +20,7 @@
             <varlistentry>
                 <term>vname</term>
                 <listitem>
-                    <para>String, the symbolic variable name. If the string have more
-                        than 4 characters only the first 4 are taken into account.
+                    <para>String, the symbolic variable name. The string must be 4 characters max.
                     </para>
                 </listitem>
             </varlistentry>
@@ -31,6 +30,9 @@
                     <para>
                         string ("roots", "coeff"), default value is <literal>"roots"</literal>.
                     </para>
+                    <para>
+                        Shortcuts can be also used: <literal>"r"</literal> for <literal>"roots"</literal> and <literal>"c"</literal> for <literal>"coeff"</literal>.
+                    </para>
                 </listitem>
             </varlistentry>
         </variablelist>
@@ -85,7 +87,7 @@
         <title>Examples</title>
         <programlisting role="example"><![CDATA[ 
 s=poly(0,"s");
-p=1+s+2*s^2;
+p=1+s+2*s^2
 A=rand(2,2);
 poly(A,"x")
 //rational fractions