elementary_functions: fix rand() with a single key letter after 02f1f9cd
[scilab.git] / scilab / modules / elementary_functions / help / en_US / elementarymatrices / random / rand.xml
index 9834aad..25e0851 100644 (file)
                 <listitem>
                     <para>
                         a string, the distribution of random numbers (default  <literal>key="uniform" </literal>).
-                        The available values are <literal>"uniform"</literal> and
-                        <literal>"normal"</literal>.
+                        The possible values are:
+                        <itemizedlist>
+                        <listitem>
+                        <literal>"uniform"</literal> or <literal>"u"</literal>
+                        </listitem>
+                        <listitem>
+                        <literal>"normal"</literal> or <literal>"n"</literal>
+                        </listitem>
+                        </itemizedlist>
                     </para>
                 </listitem>
             </varlistentry>
         </para>
         <variablelist>
             <varlistentry>
-                <term>rand("uniform")</term>
+                <term>rand("uniform") or rand("u")</term>
                 <listitem>
                     <para>
                         sets the generator to a uniform random number
                 </listitem>
             </varlistentry>
             <varlistentry>
-                <term>rand("normal")</term>
+                <term>rand("normal") or rand("n")</term>
                 <listitem>
                     <para>
                         sets the generator to a normal (Gauss-Laplace) random number generator,