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