* Bug #13839 fixed - sign() could not be used with sparse matrices
[scilab.git] / scilab / modules / elementary_functions / help / fr_FR / sign.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA
5  * Copyright (C) 2015 - 2016 - Samuel GOUGEON
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <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="sign" xml:lang="fr">
17     <refnamediv>
18         <refname>sign</refname>
19         <refpurpose>fonction signe</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Syntaxe</title>
23         <synopsis>X = sign(A)</synopsis>
24     </refsynopsisdiv>
25     <refsection role="parameters">
26         <title>Paramètres</title>
27         <variablelist>
28             <varlistentry>
29                 <term>А</term>
30                 <listitem>
31                     <para>matrice de nombres réels ou complexes, d'encodage dense ou creux.</para>
32                 </listitem>
33             </varlistentry>
34             <varlistentry>
35                 <term>X</term>
36                 <listitem>
37                     <para>matrice de nombres réels ou complexes.</para>
38                 </listitem>
39             </varlistentry>
40         </variablelist>
41     </refsection>
42     <refsection role="description">
43         <title>Description</title>
44         <para>
45             <literal>X = sign(A)</literal> renvoie la matrice contenant les signes
46             de termes <literal>A(i,j)</literal>. Pour les matrices de nombres
47             complexes, <literal>sign(A) = A./abs(A)</literal>.
48         </para>
49     </refsection>
50     <refsection role="examples">
51         <title>Exemples</title>
52         <programlisting role="example"><![CDATA[
53 sign(rand(2,3))
54 sign(1+%i)
55 sign(sprand(8,3,0.3,"normal"))
56  ]]></programlisting>
57     </refsection>
58     <refsection role="see also">
59         <title>Voir aussi</title>
60         <simplelist type="inline">
61             <member>
62                 <link linkend="abs">abs</link>
63             </member>
64         </simplelist>
65     </refsection>
66     <refsection role="history">
67         <title>Historique</title>
68         <revhistory>
69             <revision>
70                 <revnumber>6.0</revnumber>
71                 <revdescription>Extension aux matrices creuses
72                 </revdescription>
73             </revision>
74         </revhistory>
75     </refsection>
76 </refentry>