%i_isreal() %i_real() %i_imag() added
[scilab.git] / scilab / modules / data_structures / help / pt_BR / types / matrices.xml
1 <?xml version="1.0" encoding="UTF-8"?>
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: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="matrices" xml:lang="pt">
3     <refnamediv>
4         <refname>matrices</refname>
5         <refpurpose>objeto do Scilab: matrizes</refpurpose>
6     </refnamediv>
7     <refsection>
8         <title>Descrição</title>
9         <para>Matrizes são objetos básicos definidos no Scilab. Elas podem ser
10             definidas como segue:
11         </para>
12         <programlisting role=""><![CDATA[
13 E=[e11,e12,...,e1n;
14    e21,e22,...,e2n;
15         ....
16    em1,em2,...,emn];
17  ]]></programlisting>
18         <para>
19             As entradas <literal>eij</literal> podem ser números reais,
20             complexos, polinômios, razões de polinômios, strings ou booleanos.
21         </para>
22         <para>Vetores são vistos como matrizes de uma linha ou uma coluna.</para>
23     </refsection>
24     <refsection>
25         <title>Exemplos</title>
26         <programlisting role="example"><![CDATA[
27 E=[1,2;3,4]
28 E=[%T,%F;1==1,1~=1]
29 s=poly(0,'s');
30 E=[s,s^2;1,1+s]
31 E=[1/s,0;s,1/(s+1)]
32 E=['A11','A12';'A21','A22']
33  ]]></programlisting>
34     </refsection>
35     <refsection>
36         <title> Ver Também </title>
37         <simplelist type="inline">
38             <member>
39                 <link linkend="poly">poly</link>
40             </member>
41             <member>
42                 <link linkend="string">string</link>
43             </member>
44             <member>
45                 <link linkend="boolean">boolean</link>
46             </member>
47             <member>
48                 <link linkend="rational">rational</link>
49             </member>
50             <member>
51                 <link linkend="empty">empty</link>
52             </member>
53             <member>
54                 <link linkend="hypermatrices">hypermatrices</link>
55             </member>
56         </simplelist>
57     </refsection>
58 </refentry>