* Bug #9153 fixed: isequalbitwise page was inaccurate and badly located 86/18286/3
Samuel GOUGEON [Wed, 22 Jun 2016 03:18:26 +0000 (05:18 +0200)]
  http://bugzilla.scilab.org/9153#c10
  isequalbitwise merged in isequal.
  isequal (en) overhauled. Review + approval needed before (fr) translation

Change-Id: Ifbc682036162260f63ff8a3aaa02dcad7dc78027

scilab/CHANGES.md
scilab/modules/elementary_functions/help/en_US/bitwise/isequalbitwise.xml [deleted file]
scilab/modules/elementary_functions/help/en_US/isequal.xml
scilab/modules/elementary_functions/help/ja_JP/bitwise/isequalbitwise.xml [deleted file]
scilab/modules/elementary_functions/help/ja_JP/isequal.xml [deleted file]
scilab/modules/elementary_functions/help/pt_BR/bitwise/isequalbitwise.xml [deleted file]
scilab/modules/elementary_functions/help/pt_BR/isequal.xml [deleted file]
scilab/modules/elementary_functions/help/ru_RU/bitwise/isequalbitwise.xml [deleted file]
scilab/modules/elementary_functions/help/ru_RU/isequal.xml [deleted file]

index 168b9d0..4b761d4 100644 (file)
@@ -232,7 +232,7 @@ Bug Fixes
 ### In 6.0.0:
 * [Bug #5723](http://bugzilla.scilab.org/show_bug.cgi?id=5723) fixed   - Cross-references were missing between axis_properties and axes_properties help pages
 * [Bug #9912](http://bugzilla.scilab.org/show_bug.cgi?id=9912) fixed   - In case of missing translated help page, the default en_US was sometimes ignored
-
+* [Bug #9153](http://bugzilla.scilab.org/9153) fixed   - The `isqualbitwise` help page was inaccurate and badly located
 * [Bug #11959](http://bugzilla.scilab.org/show_bug.cgi?id=11959) fixed - Allow "Zoom Area" to be clicked out of axes
 * [Bug #12110](http://bugzilla.scilab.org/show_bug.cgi?id=12110) fixed - Unable to zoom multiple axes at once
 * [Bug #13597](http://bugzilla.scilab.org/show_bug.cgi?id=13597) fixed - `help format` claimed setting a number of digits instead of characters
diff --git a/scilab/modules/elementary_functions/help/en_US/bitwise/isequalbitwise.xml b/scilab/modules/elementary_functions/help/en_US/bitwise/isequalbitwise.xml
deleted file mode 100644 (file)
index b7b9546..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA
- * 
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * 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:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="isequalbitwise" xml:lang="en">
-    <refnamediv>
-        <refname>isequalbitwise</refname>
-        <refpurpose>bitwise comparison of variables</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Syntax</title>
-        <synopsis>t=isequalbitwise(a,b)
-            t=isequalbitwise(a,b,..)
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Arguments</title>
-        <variablelist>
-            <varlistentry>
-                <term>a, b , ...</term>
-                <listitem>
-                    <para>variables of any types</para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>t</term>
-                <listitem>
-                    <para>boolean</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Description</title>
-        <para>
-            <literal>isequalbitwise</literal> compares its arguments. If all of
-            them are equal, then the function returns <literal>%t</literal> and in the other
-            case it returns <literal>%f</literal>.
-        </para>
-        <para>
-            When comparing list's, structures,... the comparison is made
-            recursively, the order of the fields matters.
-        </para>
-        <para>
-            Floating point data are compared bitwise, i.e. NaN values are not
-            equal, double(1) and int32(1) are not equal. See <link linkend="isequal">isequal</link> for IEEE comparisons.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
-a=list(1:5,%s+1,'ABCDEFG');
-isequalbitwise(a,a)
- ]]></programlisting>
-    </refsection>
-    <refsection role="see also">
-        <title>See also</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="isequal">isequal</link>
-            </member>
-        </simplelist>
-    </refsection>
-</refentry>
index cf6bc42..f8d709e 100644 (file)
@@ -2,7 +2,7 @@
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
- * 
+ * Copyright (C) 2016 - Samuel GOUGEON
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="isequal" xml:lang="en">
     <refnamediv>
         <refname>isequal</refname>
-        <refpurpose>objects comparison</refpurpose>
+        <refpurpose>comparison of objects</refpurpose>
+    </refnamediv>
+    <refnamediv xml:id="isequalbitwise">
+        <refname>isequalbitwise</refname>
+        <refpurpose>comparison of objects (NaN are equal)</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Syntax</title>
-        <synopsis>t=isequal(a,b)
-            t=isequal(a,b,..)
+        <synopsis>
+            t = isequal(a,b)
+            t = isequal(a,b,..)
+        </synopsis>
+        <para></para>
+        <synopsis>
+            t = isequalbitwise(a,b)
+            t = isequalbitwise(a,b,..)
         </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
                 <term>a, b , ...</term>
                 <listitem>
-                    <para>variables of any types</para>
+                    <para>objects: variable of any types ; expressions of any types of results</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>t</term>
                 <listitem>
-                    <para>boolean</para>
+                    <para>single boolean</para>
                 </listitem>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             <literal>isequal</literal> compares its arguments. If all of them
-            are equal then the function returns <literal>%t</literal> and in the 
-            other case it returns <literal>%f</literal>.
+            are equal then the function returns <literal>%t</literal>. Otherwise
+            it returns <literal>%f</literal>.
         </para>
         <para>
-            When comparing lists, structures,... the comparison is made
-            recursively, the order of the fields matters.
+            2 objects <varname>a</varname> and <varname>b</varname> are equal
+            whether they fullfil ALL the following conditions:
+            <itemizedlist>
+                <listitem>they must have the same type of containers: both are
+                    matrices
+                    or hypermatrices with the same data types, or lists,
+                    or cells arrays, or structures arrays,
+                    or any mlists or tlists of same types.
+                </listitem>
+                <listitem>they must have the same sizes.
+                </listitem>
+                <listitem>they must have the same encoding: boolean, int8, uint8,
+                    int16, uint16, int32, uint32, int64, uint64, decimal,
+                    complex, sparse
+                </listitem>
+                <listitem>If they are mlists or tlists such as structures,
+                    they must have the same fields in the same order.
+                </listitem>
+                <listitem>They must have the same contents, the same values
+                    at the same places.
+                    <warning>
+                        <literal>1/%z == -1/(-%z)</literal> returns
+                        <literal>%T</literal>, while
+                        <literal>1/%z == 2/(2*%z)</literal>,
+                        <literal>isequal(1/%z, -1/(-%z))</literal> and
+                        <literal>isequal(1/%z, 2/(2*%z))</literal>
+                        are <literal>%F</literal>.
+                    </warning>
+                </listitem>
+            </itemizedlist>
+            If at least one of these conditions is not fulfilled, the objects
+            are considered not equal.
         </para>
         <para>
-            Floating point data are compared according to IEEE rule, i.e. NaN
-            values are not equal. See <link linkend="isequalbitwise">isequalbitwise</link> for bitwise
-            comparisons.
+            When comparing nested heterogeneous containers like lists, structures,
+            cells, etc, comparisons are performed recursively.
         </para>
+        <important>
+            With <function>isequal</function>, 2 compared Nan values are always
+            considered not equal, according to the IEEE rule. On the opposite, with
+            <function>isequalbitwise</function>, 2 compared Nan values are
+            considered equal. This is the only difference between both
+            functions.
+        </important>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
-a=[1 2]
-isequal(a,[1 2])
-isequal(a,1)
- ]]></programlisting>
+        <programlisting role="example"><![CDATA[
+// Examples returning %T
+// =====================
+a = [1 2];
+isequal(a, [1 2])
+isequal(a, 1)
+isequal([1<2, %pi>%e], [3<10, %e>1])
+isequal(-0, +0)
+isequal([-%inf %inf], [-%inf %inf])
+isequal(%z, poly(0,"z"), poly([0 1], "z", "coeff"))
+
+// Functions "handles" can be compared:
+s = sin;   isequal(s, sin)   // Built-in function
+c = cosd;  isequal(c, cosd)  // Scilab function
+
+// Comparisons are done recursively (here in nested lists):
+L = list(%pi, "test", list(%t, 1/%z, 7), sin);
+n = %pi; t = "test"; r = 1/%z; s = sin;
+isequal(L, list(n, t, list(%t,r,7), s))
+
+
+// ALL the following examples return %F
+// ====================================
+// 1) Containers must be identical:
+isequal([1 %pi], {1, %pi})
+isequal([1 %pi], list(1, %pi))
+
+// 2) Encodings must be identical:
+isequal([1 7], int8([1 7]))
+isequal(uint8([1 7]), int8([1 7]))
+isequal(int8([1 7]), int16([1 7]))
+
+and([1 0]==[1 0*%i]) // is %T, but not as objects:
+//isequal([1 0], [1 0*%i])  // bug http://bugzilla.scilab.org/9153#c12
+
+p = (1+%z)^3
+pc = p + 0*%i
+p==pc
+//isequal(p, pc)           // bug http://bugzilla.scilab.org/9153#c12
+
+s = sprand(10,10,0.1); and(s==full(s)) // is %T, but not as objects:
+isequal(s, full(s))
+
+// 3) Sizes must be identical:
+isequal([7 11], [7 11]')
+
+// 4) fields of tlists or of mlists such as structures must be in the same order:
+s1 = struct("r", %pi,     "t", "Hello")
+s2 = struct("t", "Hello", "r", %pi)
+//isequal(s1,s2)           // bug http://bugzilla.scilab.org/9153#c13
+
+// Results with Nans
+// =================
+%nan==%nan                    // %F
+isequal(%nan, %nan)           // %F
+isequal([3 %nan], [3 %nan])   // %F
+L = list(3, "test", %z, list(1, %nan, %T));
+isequal(L,L)                  // %F
+//isequalbitwise(L,L)           // %T ! bug http://bugzilla.scilab.org/14512
+]]></programlisting>
     </refsection>
     <refsection role="see also">
         <title>See also</title>
         <simplelist type="inline">
             <member>
-                <link linkend="isequalbitwise">isequalbitwise</link>
+                <link linkend="comparison">==</link>
+            </member>
+            <member>
+                <link linkend="strcmp">strcmp</link>
+            </member>
+            <member>
+                <link linkend="intersect">intersect</link>
             </member>
             <member>
-                <link linkend="equal">equal</link>
+                <link linkend="assert_checkequal">assert_checkequal</link>
             </member>
             <member>
-                <link linkend="less">less</link>
+                <link linkend="assert_checkfilesequal">assert_checkfilesequal</link>
             </member>
         </simplelist>
     </refsection>
diff --git a/scilab/modules/elementary_functions/help/ja_JP/bitwise/isequalbitwise.xml b/scilab/modules/elementary_functions/help/ja_JP/bitwise/isequalbitwise.xml
deleted file mode 100644 (file)
index c0eaeea..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA
- * 
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * 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:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="isequalbitwise" xml:lang="ja">
-    
-    <refnamediv>
-        
-        <refname>isequalbitwise</refname>
-        
-        <refpurpose>ビット単位の変数比較</refpurpose>
-        
-    </refnamediv>
-    
-    <refsynopsisdiv>
-        
-        <title>呼び出し手順</title>
-        
-        <synopsis>t=isequalbitwise(a,b)
-            
-            t=isequalbitwise(a,b,..)
-            
-        </synopsis>
-        
-    </refsynopsisdiv>
-    
-    <refsection>
-        
-        <title>引数</title>
-        
-        <variablelist>
-            
-            <varlistentry>
-                
-                <term>a, b , ...</term>
-                
-                <listitem>
-                    
-                    <para>任意の型の変数</para>
-                    
-                </listitem>
-                
-            </varlistentry>
-            
-            <varlistentry>
-                
-                <term>t</term>
-                
-                <listitem>
-                    
-                    <para>論理値</para>
-                    
-                </listitem>
-                
-            </varlistentry>
-            
-        </variablelist>
-        
-    </refsection>
-    
-    <refsection>
-        
-        <title>説明</title>
-        
-        <para>
-            
-            <literal>isequalbitwise</literal> は引数を比較します. 
-            
-            引数全てが等しい場合,関数は <literal> %t</literal>を返し,
-            
-            その他の場合 <literal> %f</literal>を返します.
-            
-        </para>
-        
-        <para>リスト,構造体,...を比較する場合,
-            
-            比較は再帰的,フィールドの順に行われます.
-            
-        </para>
-        
-        <para>
-            
-            浮動小数点数のデータはビット単位で比較されます.
-            
-            すなわち, NaN 値は等しくなく,
-            
-            double(1) と int32(1)は等しくありません.
-            
-            IEEE比較については,<link linkend="isequal">isequal</link>を参照ください.
-            
-        </para>
-        
-    </refsection>
-    
-    <refsection>
-        
-        <title>例</title>
-        
-        <programlisting role="example"><![CDATA[ 
-a=list(1:5,%s+1,'ABCDEFG');
-isequalbitwise(a,a)
- ]]></programlisting>
-        
-    </refsection>
-    
-    <refsection role="see also">
-        
-        <title>参照</title>
-        
-        <simplelist type="inline">
-            
-            <member>
-                
-                <link linkend="isequal">isequal</link>
-                
-            </member>
-            
-        </simplelist>
-        
-    </refsection>
-    
-</refentry>
-
diff --git a/scilab/modules/elementary_functions/help/ja_JP/isequal.xml b/scilab/modules/elementary_functions/help/ja_JP/isequal.xml
deleted file mode 100644 (file)
index edcb882..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA
- * 
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * 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:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="isequal" xml:lang="ja">
-    
-    <refnamediv>
-        
-        <refname>isequal</refname>
-        
-        <refpurpose>オブジェクトの比較</refpurpose>
-        
-    </refnamediv>
-    
-    <refsynopsisdiv>
-        
-        <title>呼び出し手順</title>
-        
-        <synopsis>t=isequal(a,b)
-            
-            t=isequal(a,b,..)
-            
-        </synopsis>
-        
-    </refsynopsisdiv>
-    
-    <refsection>
-        
-        <title>引数</title>
-        
-        <variablelist>
-            
-            <varlistentry>
-                
-                <term>a, b , ...</term>
-                
-                <listitem>
-                    
-                    <para>任意の型の変数</para>
-                    
-                </listitem>
-                
-            </varlistentry>
-            
-            <varlistentry>
-                
-                <term>t</term>
-                
-                <listitem>
-                    
-                    <para>論理値</para>
-                    
-                </listitem>
-                
-            </varlistentry>
-            
-        </variablelist>
-        
-    </refsection>
-    
-    <refsection>
-        
-        <title>説明</title>
-        
-        <para>
-            
-            <literal>isequal</literal> はその比較を比較します. 
-            
-            これら全てが等しい場合,関数は <literal> %t</literal>を返し,
-            
-            その他の場合 <literal> %f</literal>を返します.
-            
-        </para>
-        
-        <para>
-            
-            リスト,構造体,...を比較する場合,
-            
-            比較は再帰的,フィールドの順に行われます.
-            
-        </para>
-        
-        <para>
-            
-            浮動小数点数のデータは IEEE の規則に基づき比較されます.
-            
-            すなわち, NaN 値は等しくありません.
-            
-            ビット単位の比較については <link linkend="isequalbitwise">isequalbitwise</link> を参照ください.
-            
-        </para>
-        
-    </refsection>
-    
-    <refsection>
-        
-        <title>例</title>
-        
-        <programlisting role="example"><![CDATA[ 
-a=[1 2]
-isequal(a,[1 2])
-isequal(a,1)
- ]]></programlisting>
-        
-    </refsection>
-    
-    <refsection role="see also">
-        
-        <title>参照</title>
-        
-        <simplelist type="inline">
-            
-            <member>
-                
-                <link linkend="isequalbitwise">isequalbitwise</link>
-                
-            </member>
-            
-            <member>
-                
-                <link linkend="equal">equal</link>
-                
-            </member>
-            
-            <member>
-                
-                <link linkend="less">less</link>
-                
-            </member>
-            
-        </simplelist>
-        
-    </refsection>
-    
-</refentry>
-
diff --git a/scilab/modules/elementary_functions/help/pt_BR/bitwise/isequalbitwise.xml b/scilab/modules/elementary_functions/help/pt_BR/bitwise/isequalbitwise.xml
deleted file mode 100644 (file)
index 23dfa1c..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA
- * 
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * 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:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="isequalbitwise" xml:lang="pt">
-    <refnamediv>
-        <refname>isequalbitwise</refname>
-        <refpurpose>comparação bit a bit de variáveis</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Seqüência de Chamamento</title>
-        <synopsis>t=isequalbitwise(a,b)
-            t=isequalbitwise(a,b,..)
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Parâmetros</title>
-        <variablelist>
-            <varlistentry>
-                <term>a, b , ...</term>
-                <listitem>
-                    <para>variáveis de quaisquer tipos </para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>t</term>
-                <listitem>
-                    <para>um booleano</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Descrição</title>
-        <para>
-            <literal> isequalbitwise</literal> compara seus argumentos. Se todos
-            eles são iguais, a função retorna <literal> %t</literal> e, em caso
-            contrário, <literal> %f</literal>.
-        </para>
-        <para>Na comparação de listas, estruturas, etc., a comparação é feita
-            recursivamente, a ordem dos campos importa. 
-        </para>
-        <para>Dados de ponto flutuante são comparados bit a bit, i.e. valores NaN
-            ("não é um número") são iguais, double(1) e int32(1) não são iguais. Ver
-            <link linkend="isequal">isequal</link> para comparações IEEE.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Exemplos</title>
-        <programlisting role="example"><![CDATA[ 
-a=list(1:5,%s+1,'ABCDEFG');
-isequalbitwise(a,a)
- ]]></programlisting>
-    </refsection>
-    <refsection role="see also">
-        <title>Ver Também</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="isequal">isequal</link>
-            </member>
-        </simplelist>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/elementary_functions/help/pt_BR/isequal.xml b/scilab/modules/elementary_functions/help/pt_BR/isequal.xml
deleted file mode 100644 (file)
index e7c7159..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA
- * 
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * 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:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="isequal" xml:lang="pt">
-    <refnamediv>
-        <refname>isequal</refname>
-        <refpurpose>comparação de objetos</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Seqüência de Chamamento</title>
-        <synopsis>t=isequal(a,b)
-            t=isequal(a,b,..)
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Parâmetros</title>
-        <variablelist>
-            <varlistentry>
-                <term>a, b , ...</term>
-                <listitem>
-                    <para>variáveis de quaisquer tipos </para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>t</term>
-                <listitem>
-                    <para>um booleano</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Descrição</title>
-        <para>
-            <literal> isequal</literal> compara seus argumentos. Se todos eles
-            forem iguais, a função retorna <literal> %t</literal> e em caso contrário,
-            retorna <literal> %f</literal> .
-        </para>
-        <para>Na comparação de listas, estruturas, etc., a o processo é feito
-            recursivamente e a ordem dos campos importa.
-        </para>
-        <para>Dados de ponto flutuante são comparados de acordo com a regra IEEE,
-            i.e., valores NaN ("não é um número") não são iguais. Ver <link linkend="isequalbitwise">isequalbitwise</link> para comparações bit a
-            bit.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Exemplos</title>
-        <programlisting role="example"><![CDATA[ 
-a=[1 2]
-isequal(a,[1 2])
-isequal(a,1)
- ]]></programlisting>
-    </refsection>
-    <refsection role="see also">
-        <title>Ver Também</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="isequalbitwise">isequalbitwise</link>
-            </member>
-            <member>
-                <link linkend="equal">equal</link>
-            </member>
-            <member>
-                <link linkend="less">less</link>
-            </member>
-        </simplelist>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/elementary_functions/help/ru_RU/bitwise/isequalbitwise.xml b/scilab/modules/elementary_functions/help/ru_RU/bitwise/isequalbitwise.xml
deleted file mode 100644 (file)
index 4c8932d..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA
- * 
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * 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:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="isequalbitwise" xml:lang="ru">
-    <refnamediv>
-        <refname>isequalbitwise</refname>
-        <refpurpose>побитовое сравнение переменных</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Синтаксис</title>
-        <synopsis>t=isequalbitwise(a,b)
-            t=isequalbitwise(a,b,..)
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Аргументы</title>
-        <variablelist>
-            <varlistentry>
-                <term>a, b , ...</term>
-                <listitem>
-                    <para>переменные любого типа.</para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>t</term>
-                <listitem>
-                    <para>логическое значение.</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Описание</title>
-        <para>
-            <function>isequalbitwise</function> сравнивает свои аргументы. Если все они равны,
-            то функция возвращает <constant>%t</constant> в противном случае она
-            возвращает <constant>%f</constant>.
-        </para>
-        <para>
-            Когда сравниваются списки, структуры и т. п. то сравнение производится
-            рекурсивно, в порядке следования полей.
-        </para>
-        <para>
-            Данные с плавающей запятой сравниваются в соответствии с правилами IEEE, 
-            т.е. значения <constant>%nan</constant> не равны, <code>double(1)</code> и
-            <code>int32(1)</code> не равны. См. <link linkend="isequal">isequal</link> для
-            сравнений IEEE.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Примеры</title>
-        <programlisting role="example"><![CDATA[ 
-a=list(1:5,%s+1,'ABCDEFG');
-isequalbitwise(a,a)
- ]]></programlisting>
-    </refsection>
-    <refsection role="see also">
-        <title>Смотрите также</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="isequal">isequal</link>
-            </member>
-        </simplelist>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/elementary_functions/help/ru_RU/isequal.xml b/scilab/modules/elementary_functions/help/ru_RU/isequal.xml
deleted file mode 100644 (file)
index 777cd8b..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008 - INRIA
- * 
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * 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:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="isequal" xml:lang="ru">
-    <refnamediv>
-        <refname>isequal</refname>
-        <refpurpose>сравнение объектов</refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Синтаксис</title>
-        <synopsis>t=isequal(a,b)
-            t=isequal(a,b,..)
-        </synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Аргументы</title>
-        <variablelist>
-            <varlistentry>
-                <term>a, b , ...</term>
-                <listitem>
-                    <para>переменные любого типа</para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>t</term>
-                <listitem>
-                    <para>логическое значение</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Описание</title>
-        <para>
-            <literal>isequal</literal> сравнивает свои аргументы. Если все они равны, 
-            то функция возвращает <literal>%t</literal> в противном случает она 
-            возвращает <literal>%f</literal>.
-        </para>
-        <para>
-            Когда сравниваются списки, структуры и т. п. то сравнение производится
-            рекурсивно, в порядке следования полей.
-        </para>
-        <para>
-            Данные с плавающей запятой сравниваются в соответствии с правилами IEEE, 
-            т.е.значения NaN не равны. См. <link linkend="isequalbitwise">isequalbitwise</link>
-            для побитовых сравнений.
-        </para>
-    </refsection>
-    <refsection>
-        <title>Примеры</title>
-        <programlisting role="example"><![CDATA[ 
-a=[1 2]
-isequal(a,[1 2])
-isequal(a,1)
- ]]></programlisting>
-    </refsection>
-    <refsection role="see also">
-        <title>Смотрите также</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="isequalbitwise">isequalbitwise</link>
-            </member>
-            <member>
-                <link linkend="equal">equal</link>
-            </member>
-            <member>
-                <link linkend="less">less</link>
-            </member>
-        </simplelist>
-    </refsection>
-</refentry>