~ubuntu-branches/ubuntu/trusty/scilab/trusty

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<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" version="5.0-subset Scilab" xml:id="sign" xml:lang="fr">
  <refnamediv>
    <refname>sign</refname>
    <refpurpose>fonction signe</refpurpose>
  </refnamediv>
  <refsection>
    <title>Description</title>
    <para>
      <literal>X=sign(A)</literal> renvoie la matrice contenant les signes
      de termes <literal>A(i,j)</literal>. Pour les matrices complexes,
      <literal>sign(A) = A./abs(A)</literal>.
    </para>
  </refsection>
  <refsection>
    <title>Exemples</title>
    <programlisting role="example"><![CDATA[ 
sign(rand(2,3))
sign(1+%i)
 ]]></programlisting>
  </refsection>
  <refsection role="see also">
    <title>Voir aussi</title>
    <simplelist type="inline">
      <member>
        <link linkend="abs">abs</link>
      </member>
    </simplelist>
  </refsection>
</refentry>