* Bug #10254 fixed - Slight improvements in help page of ones. 78/11378/2
Charlotte HECQUET [Wed, 24 Apr 2013 08:47:51 +0000 (10:47 +0200)]
Change-Id: Ie818ded63b5219225040336cf7467b9d91834f3e

scilab/CHANGES_5.5.X
scilab/modules/elementary_functions/help/en_US/elementarymatrices/ones.xml
scilab/modules/elementary_functions/help/fr_FR/elementarymatrices/ones.xml

index a73c3e2..3a15153 100644 (file)
@@ -108,6 +108,8 @@ Bug fixes
 
 * Bug #9691 fixed - "imp" option of optim was poorly documented.
 
+* Bug #10254 fixed - Slight improvements in help page of ones.
+
 * Bug #10862 fixed - Add a without internet connection installation
                      global configuration on the installer
 
index b5e0793..9c15ea0 100644 (file)
                 </listitem>
             </varlistentry>
         </variablelist>
-        <para>
-            Note that <literal>ones(3)</literal> is <literal>ones(a)</literal>
-            with <literal>a=3</literal> i.e it is NOT a 3x3 matrix!
-        </para>
-        <para>ones() is equivalent to ones(1,1).</para>
+    </refsection>
+    <refsection>
+        <title>Remarks</title>
+        <itemizedlist>
+            <listitem>
+                <para>
+                    Note that <literal>ones(3)</literal> is <literal>ones(a)</literal>
+                    with <literal>a=3</literal> i.e it is NOT a 3x3 matrix!
+                </para>
+            </listitem>
+            <listitem>
+                <para>ones() is equivalent to ones(1,1).</para>
+            </listitem>
+            <listitem>
+                <para><literal>ones(3,-3)</literal> and <literal>ones(-3,-3)</literal> both return an empty matrix.</para>
+            </listitem>
+        </itemizedlist>
     </refsection>
     <refsection>
         <title>Examples</title>
index 13e2832..7fbf9ea 100644 (file)
                 </listitem>
             </varlistentry>
         </variablelist>
-        <para>
-            Notez que <literal>ones(3)</literal> est équivalent à
-            <literal>ones(a)</literal> avec <literal>a=3</literal> et donc n'est PAS
-            une matrice 3x3 !
-        </para>
-        <para>ones() est équivalent à ones(1,1).</para>
+    </refsection>
+    <refsection>
+        <title>Remarques</title>
+        <itemizedlist>
+            <listitem>
+                <para>
+                    Notez que <literal>ones(3)</literal> est équivalent à
+                    <literal>ones(a)</literal> avec <literal>a=3</literal> et donc n'est PAS
+                    une matrice 3x3 !
+                </para>
+            </listitem>
+            <listitem>
+                <para>ones() est équivalent à ones(1,1).</para>
+            </listitem>
+            <listitem>
+                <para>
+                    Les commandes <literal>ones(3,-3)</literal> et <literal>ones(-3,-3)</literal> renvoient
+                    une matrice vide.
+                </para>
+            </listitem>
+        </itemizedlist>
     </refsection>
     <refsection>
         <title>Exemples</title>