Various improvements of the poly help page 66/10266/2
Sylvestre Ledru [Mon, 21 Jan 2013 19:04:42 +0000 (20:04 +0100)]
Change-Id: I6df2da01f47ac7a4f2835c9c30065c8aac2ec44f

scilab/modules/polynomials/help/en_US/poly.xml
scilab/modules/polynomials/help/fr_FR/poly.xml
scilab/modules/polynomials/help/ja_JP/poly.xml
scilab/modules/polynomials/help/pt_BR/poly.xml
scilab/modules/polynomials/help/ru_RU/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
index b366dd3..909a8dc 100644 (file)
                 <term>vname </term>
                 <listitem>
                     <para>chaîne de caractères, nom de l'indéterminée du
-                        polynôme.Si la chaîne comprend plus de 4 caractères, seuls les 4
-                        premiers sont pris en compte.
+                        polynôme. La châine ne doit pas dépasser les 4 caractères.
                     </para>
                 </listitem>
             </varlistentry>
             <varlistentry>
-                <term>"flag"  </term>
+                <term>"flag"</term>
                 <listitem>
                     <para>chaîne de caractères ("roots", "coeff"), la
                         valeur par défaut est "roots".
                     </para>
+                    <para>
+                        Des raccourcis peuvent être aussi utilisés: <literal>"r"</literal> pour <literal>"roots"</literal> et <literal>"c"</literal> pour <literal>"coeff"</literal>.
+                    </para>
+                    
                 </listitem>
             </varlistentry>
         </variablelist>
@@ -86,7 +89,7 @@
         <title>Exemples</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")
  ]]></programlisting>
index 5534ac1..d1d5866 100644 (file)
@@ -82,7 +82,7 @@
         <title>例</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
index 84a1229..9cdf1a5 100644 (file)
@@ -83,7 +83,7 @@
         <title>Exemplos</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")
 //frações racionais
index 182d060..3df932a 100644 (file)
@@ -87,7 +87,7 @@
         <title>Примеры</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")
 //рациональные дроби