* Bug 15379 fixed: mtlb_zeros(size(A)) == zeros(A) was not documented 88/19688/4
Samuel GOUGEON [Sun, 21 Jan 2018 06:25:46 +0000 (07:25 +0100)]
  http://bugzilla.scilab.org/15379

Change-Id: Ia22f249c7666971df4b19313fb00b5b0e475f23b

scilab/CHANGES.md
scilab/modules/compatibility_functions/help/en_US/mtlb_zeros.xml
scilab/modules/compatibility_functions/help/fr_FR/mtlb_zeros.xml

index 5317a31..47de222 100644 (file)
@@ -537,6 +537,7 @@ Known issues
 * [#15368](http://bugzilla.scilab.org/show_bug.cgi?id=15368): `freson()` wrongly returned [] (no peak frequency detected) for some continuous time linear systems.
 * [#15370](http://bugzilla.scilab.org/show_bug.cgi?id=15370): `bezout()` mishandled its output arguments.
 * [#15375](http://bugzilla.scilab.org/show_bug.cgi?id=15375): A .zcos file opened as a palette was greyed out.
+* [#15379](http://bugzilla.scilab.org/show_bug.cgi?id=15379): `zeros(A)` was not documented as equivalent to `mtlb_zeros(size(A))`.
 * [#15395](http://bugzilla.scilab.org/show_bug.cgi?id=15395): `ones(2,3,2) / %z` yielded an error..
 * [#15396](http://bugzilla.scilab.org/show_bug.cgi?id=15396): `[m,n,p] = size(hr)` yielded an error with an hypermatrix hr of rationals.
 * [#15402](http://bugzilla.scilab.org/show_bug.cgi?id=15402): The `range()` page was not fixed against the bug 1904 for the french and portuguese versions.
index 2287450..ff1d28e 100644 (file)
  * along with this program.
     *
     -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="mtlb_zeros">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
+          xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
+          xml:lang="en" xml:id="mtlb_zeros">
     <refnamediv>
         <refname>mtlb_zeros</refname>
         <refpurpose>Matlab zeros emulation function</refpurpose>
             <listitem>
                 <para>
                     If <literal>A</literal> is a scalar
-                    <literal>mtlb_zeros(A)</literal> may be replaced by <literal>zeros(A,A)</literal>
+                    <literal>mtlb_zeros(A)</literal> may be replaced with <literal>zeros(A,A)</literal>
                 </para>
             </listitem>
             <listitem>
                 <para>
                     If <literal>A</literal> is not a scalar
-                    <literal>mtlb_zeros(A)</literal> may be replaced by <literal>zeros(A)</literal>
+                    <literal>mtlb_zeros(A)</literal> may be replaced with <literal>zeros(A)</literal>
+                </para>
+            </listitem>
+            <listitem>
+                <para>
+                    <literal>mtlb_zeros(size(A))</literal> may always be replaced with <literal>zeros(A)</literal>
                 </para>
             </listitem>
         </itemizedlist>
index 0eae8ae..e21614d 100644 (file)
  * along with this program.
     *
     -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="mtlb_zeros">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
+          xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
+          xml:lang="fr" xml:id="mtlb_zeros">
     <refnamediv>
         <refname>mtlb_zeros</refname>
         <refpurpose>Fonction d'émulation de la fonction Matlab zeros</refpurpose>
             <listitem>
                 <para>
                     Si <literal>A</literal> n'est pas un scalaire
-                    <literal>mtlb_zeros(A)</literal> peut être remplacé par <literal>zeros(A)</literal>
+                    <literal>mtlb_zeros(A)</literal> peut être remplacé par <literal>zeros(A)</literal>.
+                </para>
+            </listitem>
+            <listitem>
+                <para>
+                    <literal>mtlb_zeros(size(A))</literal> peut toujours être remplacé par <literal>zeros(A)</literal>.
                 </para>
             </listitem>
         </itemizedlist>