82095a65c0ed227a80222945e4ff39c1acb6d5da
[scilab.git] / scilab / modules / elementary_functions / help / pt_BR / 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) 2012 - 2016 - Scilab Enterprises
6  *
7  * This file is hereby licensed under the terms of the GNU GPL v2.0,
8  * pursuant to article 5.3.4 of the CeCILL v.2.1.
9  * This file was originally licensed under the terms of the CeCILL v2.1,
10  * and continues to be available under such terms.
11  * For more information, see the COPYING file which you should have received
12  * along with this program.
13  *
14  -->
15 <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="pt">
16     <refnamediv>
17         <refname>sign</refname>
18         <refpurpose>função de sinal</refpurpose>
19     </refnamediv>
20     <refsynopsisdiv>
21         <title>Seqüência de Chamamento</title>
22         <synopsis>X = sign(A)</synopsis>
23     </refsynopsisdiv>
24     <refsection role="parameters">
25         <title>Parâmetros</title>
26         <variablelist>
27             <varlistentry>
28                 <term>?</term>
29                 <listitem>
30                     <para>real or complex matrix. <varname>A</varname> may be sparse.</para>
31                 </listitem>
32             </varlistentry>
33             <varlistentry>
34                 <term>X</term>
35                 <listitem>
36                     <para>real or complex matrix</para>
37                 </listitem>
38             </varlistentry>
39         </variablelist>
40     </refsection>
41     <refsection role="description">
42         <title>Descrição</title>
43         <para>
44             <literal>X = sign(A)</literal> retorna a matriz feita dos sinais de
45             <literal>A(i,j)</literal>. Para <literal>A</literal>, feita de complexos
46             <literal>sign(A) = A./abs(A)</literal>.
47         </para>
48     </refsection>
49     <refsection role="examples">
50         <title>Exemplos</title>
51         <programlisting role="example"><![CDATA[
52 sign(rand(2,3))
53 sign(1+%i)
54 sign(sprand(8,3,0.3,"normal"))
55  ]]></programlisting>
56     </refsection>
57     <refsection role="see also">
58         <title>Ver Também</title>
59         <simplelist type="inline">
60             <member>
61                 <link linkend="abs">abs</link>
62             </member>
63         </simplelist>
64     </refsection>
65     <refsection role="history">
66         <title>Histórico</title>
67         <revhistory>
68             <revision>
69                 <revnumber>6.0</revnumber>
70                 <revdescription>Extension to sparse matrices
71                 </revdescription>
72             </revision>
73         </revhistory>
74     </refsection>
75 </refentry>