84a1229896674a691865aac6a6761bdeaf65b912
[scilab.git] / scilab / modules / polynomials / help / pt_BR / poly.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <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="poly" xml:lang="en">
3     <refnamediv>
4         <refname>poly</refname>
5         <refpurpose>definição de polinômios</refpurpose>
6     </refnamediv>
7     <refsynopsisdiv>
8         <title>Seqüência de Chamamento</title>
9         <synopsis>p=poly(a,x, ["flag"])</synopsis>
10     </refsynopsisdiv>
11     <refsection>
12         <title>Parâmetros</title>
13         <variablelist>
14             <varlistentry>
15                 <term>a</term>
16                 <listitem>
17                     <para>matriz ou número real </para>
18                 </listitem>
19             </varlistentry>
20             <varlistentry>
21                 <term>x</term>
22                 <listitem>
23                     <para>String, o nome da variável simbólica. Se o string tiver mais
24                         de 4 caracteres, apenas os quatro primeiros serão levados em
25                         conta.
26                     </para>
27                 </listitem>
28             </varlistentry>
29             <varlistentry>
30                 <term>"flag"</term>
31                 <listitem>
32                     <para>string ("roots", "coeff"), valor padrão é "roots".</para>
33                 </listitem>
34             </varlistentry>
35         </variablelist>
36     </refsection>
37     <refsection>
38         <title>Descrição</title>
39         <variablelist>
40             <varlistentry>
41                 <term>Se a é uma matriz,</term>
42                 <listitem>
43                     <para>
44                         <literal>p</literal> é o polinômio característico, i.e.,
45                         <literal>determinant(x*eye()-a)</literal>, <literal>x</literal>
46                         sendo a variável simbólica.
47                     </para>
48                 </listitem>
49             </varlistentry>
50             <varlistentry>
51                 <term>Se v é um vetor,</term>
52                 <listitem>
53                     <itemizedlist>
54                         <listitem>
55                             <para>
56                                 <literal>poly(v,"x",["roots"])</literal> é o polinômio com
57                                 entradas de <literal>v</literal> como raízes e
58                                 <literal>"x"</literal> como variável formal (neste caso,
59                                 <literal>roots</literal> e <literal>poly</literal> são funções
60                                 inversas). Note que infinitas raízes fornecem zero coeficientes
61                                 de grau mais elevado.
62                             </para>
63                         </listitem>
64                         <listitem>
65                             <para>
66                                 <literal>poly(v,"x","coeff")</literal> cria o polinômio
67                                 com símbolo <literal>"x"</literal> e com entradas de
68                                 <literal>v</literal> como coeficientes (v(1) é o termo constante
69                                 do polinômio). (aqui <literal>poly</literal> e
70                                 <literal>coeff</literal> são funções inversas).
71                             </para>
72                         </listitem>
73                     </itemizedlist>
74                 </listitem>
75             </varlistentry>
76         </variablelist>
77         <para>
78             <literal>s=poly(0,"s")</literal> é a fonte para definir polinômios
79             com símbolo <literal>"s"</literal>.
80         </para>
81     </refsection>
82     <refsection>
83         <title>Exemplos</title>
84         <programlisting role="example"><![CDATA[ 
85 s=poly(0,"s");
86 p=1+s+2*s^2;
87 A=rand(2,2);
88 poly(A,"x")
89 //frações racionais
90 h=(1+2*%s)/poly(1:4,'s','c')
91  ]]></programlisting>
92     </refsection>
93     <refsection role="see also">
94         <title>See Also</title>
95         <simplelist type="inline">
96             <member>
97                 <link linkend="coeff">coeff</link>
98             </member>
99             <member>
100                 <link linkend="roots">roots</link>
101             </member>
102             <member>
103                 <link linkend="varn">varn</link>
104             </member>
105             <member>
106                 <link linkend="horner">horner</link>
107             </member>
108             <member>
109                 <link linkend="derivat">derivat</link>
110             </member>
111             <member>
112                 <link linkend="matrices">matrices</link>
113             </member>
114             <member>
115                 <link linkend="rational">rational</link>
116             </member>
117         </simplelist>
118     </refsection>
119 </refentry>