~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/linear_algebra/help/pt_BR/kernel/range.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1"?>
 
2
<!--
 
3
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 
4
 * Copyright (C) 2008 - INRIA
 
5
 * 
 
6
 * This file must be used under the terms of the CeCILL.
 
7
 * This source file is licensed as described in the file COPYING, which
 
8
 * you should have received as part of this distribution.  The terms
 
9
 * are also available at    
 
10
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 
11
 *
 
12
 -->
 
13
<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" version="5.0-subset Scilab" xml:id="range" xml:lang="en">
 
14
  <refnamediv>
 
15
    <refname>range</refname>
 
16
    <refpurpose>Imagem (gerado) de A^k</refpurpose>
 
17
  </refnamediv>
 
18
  <refsynopsisdiv>
 
19
    <title> Seq��ncia de Chamamento</title>
 
20
    <synopsis>[X,dim]=range(A,k)</synopsis>
 
21
  </refsynopsisdiv>
 
22
  <refsection>
 
23
    <title>Par�metros</title>
 
24
    <variablelist>
 
25
      <varlistentry>
 
26
        <term>A</term>
 
27
        <listitem>
 
28
          <para>matriz de reais ou complexos que se assume quadrada se k&gt;1
 
29
          </para>
 
30
        </listitem>
 
31
      </varlistentry>
 
32
      <varlistentry>
 
33
        <term>k</term>
 
34
        <listitem>
 
35
          <para>inteiro</para>
 
36
        </listitem>
 
37
      </varlistentry>
 
38
      <varlistentry>
 
39
        <term>X</term>
 
40
        <listitem>
 
41
          <para>matriz ortonormal </para>
 
42
        </listitem>
 
43
      </varlistentry>
 
44
      <varlistentry>
 
45
        <term>dim</term>
 
46
        <listitem>
 
47
          <para>inteiro (dimens�o de subespa�o)</para>
 
48
        </listitem>
 
49
      </varlistentry>
 
50
    </variablelist>
 
51
  </refsection>
 
52
  <refsection>
 
53
    <title>Descri��o</title>
 
54
    <para>
 
55
      Computa��o da imagem de <literal>A^k</literal> ; as primeiras dim
 
56
      colunas de <literal>X</literal> geram a imagem de <literal>A^k</literal>.
 
57
      As �ltimas linhas de <literal>X</literal> geram o complemento ortogonal da
 
58
      imagem. <literal>X*X'</literal> � a matriz identidade.
 
59
    </para>
 
60
  </refsection>
 
61
  <refsection>
 
62
    <title>Exemplos</title>
 
63
    <programlisting role="example"><![CDATA[ 
 
64
A=rand(4,2)*rand(2,4);   // 4 vetores colunas, 2 independentes.
 
65
[X,dim]=range(A,1);dim   // computando a imagem
 
66
 
 
67
y1=A*rand(4,1);          //um vetor que est� na imagem de A
 
68
y2=rand(4,1);            //um vetor que n�o est� na imagem de A
 
69
norm(X(dim+1:$,:)*y1)    //as �ltimas entradas s�o zeros, y1 est� na imagem de A
 
70
norm(X(dim+1:$,:)*y2)    //as �ltimas entradas n�o s�o zeros
 
71
 
 
72
I=X(1:dim,:)'            //I � uma base para a imagem
 
73
coeffs=X(1:dim,:)*y1     //componentes de y1 relativos � base I
 
74
 
 
75
norm(I*coeffs-y1)        //verificando
 
76
 ]]></programlisting>
 
77
  </refsection>
 
78
  <refsection>
 
79
    <title> Ver Tamb�m </title>
 
80
    <simplelist type="inline">
 
81
      <member>
 
82
        <link linkend="fullrfk">fullrfk</link>
 
83
      </member>
 
84
      <member>
 
85
        <link linkend="rowcomp">rowcomp</link>
 
86
      </member>
 
87
    </simplelist>
 
88
  </refsection>
 
89
  <refsection>
 
90
    <title> Fun��o Usada</title>
 
91
    <para>
 
92
      A fun��o <literal>range</literal> � baseada na fun��o <link linkend="rowcomp">rowcomp</link> que usa decomposi��o <link linkend="svd">svd</link> (decomposi��o em valores singulares).
 
93
    </para>
 
94
  </refsection>
 
95
</refentry>