1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<refentry version="5.0-subset Scilab" xml:id="matrices" xml:lang="en"
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">
<info>
<pubdate>$LastChangedDate$</pubdate>
</info>
<refnamediv>
<refname>matrices</refname>
<refpurpose>objeto do Scilab: matrizes</refpurpose>
</refnamediv>
<refsection>
<title>Descrio</title>
<para>Matrizes so objetos bsicos definidos no Scilab. Elas podem ser
definidas como segue:</para>
<programlisting role = ""><![CDATA[
E=[e11,e12,...,e1n;
e21,e22,...,e2n;
....
em1,em2,...,emn];
]]></programlisting>
<para>As entradas <literal>eij</literal> podem ser nmeros reais,
complexos, polinmios, razes de polinmios, strings ou booleanos.</para>
<para>Vetores so vistos como matrizes de uma linha ou uma coluna.</para>
</refsection>
<refsection>
<title>Exemplos</title>
<programlisting role="example"><![CDATA[
E=[1,2;3,4]
E=[%T,%F;1==1,1~=1]
s=poly(0,'s');E=[s,s^2;1,1+s]
E=[1/s,0;s,1/(s+1)]
E=['A11','A12';'A21','A22']
]]></programlisting>
</refsection>
<refsection>
<title> Ver Tambm </title>
<simplelist type="inline">
<member><link linkend="poly">poly</link></member>
<member><link linkend="string">string</link></member>
<member><link linkend="boolean">boolean</link></member>
<member><link linkend="rational">rational</link></member>
<member><link linkend="empty">empty</link></member>
<member><link linkend="hypermatrices">hypermatrices</link></member>
</simplelist>
</refsection>
</refentry>
|