* Bug 16620 fixed: polyint() introduced
[scilab.git] / scilab / modules / elementary_functions / help / pt_BR / complex / real.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 - 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: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="real" xml:lang="pt">
17     <refnamediv>
18         <refname>real</refname>
19         <refpurpose>parte real dos números complexos</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Seqüência de Chamamento</title>
23         <synopsis>y = real(x)</synopsis>
24     </refsynopsisdiv>
25     <refsection role="parameters">
26         <title>Parâmetros</title>
27         <variablelist>
28             <varlistentry>
29                 <term>x</term>
30                 <listitem>
31                     <para>matriz de números reais ou complexos, ou de polinômios
32                     ou de razões de polinômios com coeficientes reais ou complexos.
33                     </para>
34                 </listitem>
35             </varlistentry>
36             <varlistentry>
37                 <term>y</term>
38                 <listitem>
39                     <para>matriz de reais ou de polinômios ou de razões de polinômios com
40                     coeficientes reais. <varname>y</varname> tem o seu tamanho de
41                     <varname>x</varname>
42                     </para>
43                 </listitem>
44             </varlistentry>
45         </variablelist>
46     </refsection>
47     <refsection role="description">
48         <title>Descrição</title>
49         <para>
50             <literal>real(x)</literal> é a parte real de <literal>x</literal>
51             (ver <literal>%i</literal> para entrar com números complexos).
52         </para>
53     </refsection>
54     <refsection role="example">
55         <title>Exemplos</title>
56         <programlisting role="example"><![CDATA[
57 real([1 %i 2])
58 real(1+0*%i)
59 real(2+3*%i)
60 real(1+%s)
61 real(sprand(3,3,0.1))
62
63 // With polynomials:
64 A = [1-%i*%z (%z-%i)^2]
65 real(A)
66
67 // With rationals:
68 A = [ %z/(1-%z)  (1-%z)/%z^2];
69 B = A(1,[2 1])
70 C = A + %i*B
71 A, real(C)
72  ]]></programlisting>
73     </refsection>
74     <refsection role="see also">
75         <title>Ver Também</title>
76         <simplelist type="inline">
77             <member>
78                 <link linkend="imag">imag</link>
79             </member>
80         </simplelist>
81     </refsection>
82     <refsection role="history">
83         <title>Histórico</title>
84         <revhistory>
85             <revision>
86                 <revnumber>6.0</revnumber>
87                 <revdescription>Extension to rationals
88                 </revdescription>
89             </revision>
90         </revhistory>
91     </refsection>
92 </refentry>