Revert "* Bug #13839 fixed - sign() could not be used with sparse matrices * sign...
[scilab.git] / scilab / modules / elementary_functions / help / pt_BR / sign.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA
5  * 
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="en">
17     <refnamediv>
18         <refname>sign</refname>
19         <refpurpose>função de sinal</refpurpose>
20     </refnamediv>
21     <refsection>
22         <title>Descrição</title>
23         <para>
24             <literal>X=sign(A)</literal> retorna a matriz feita dos sinais de
25             <literal>A(i,j)</literal>. Para <literal>A</literal>, feita de complexos
26             <literal>sign(A) = A./abs(A)</literal>.
27         </para>
28     </refsection>
29     <refsection>
30         <title>Exemplos</title>
31         <programlisting role="example"><![CDATA[ 
32 sign(rand(2,3))
33 sign(1+%i)
34  ]]></programlisting>
35     </refsection>
36     <refsection role="see also">
37         <title>Ver Também</title>
38         <simplelist type="inline">
39             <member>
40                 <link linkend="abs">abs</link>
41             </member>
42         </simplelist>
43     </refsection>
44 </refentry>