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

« back to all changes in this revision

Viewing changes to modules/elementary_functions/help/pt_BR/matrixoperations/norm.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="norm" xml:lang="en">
 
14
    <refnamediv>
 
15
        <refname>norm</refname>
 
16
        <refpurpose>norma de matrizes</refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>Seq��ncia de Chamamento</title>
 
20
        <synopsis>[y]=norm(x [,flag])</synopsis>
 
21
    </refsynopsisdiv>
 
22
    <refsection>
 
23
        <title>Par�metros</title>
 
24
        <variablelist>
 
25
            <varlistentry>
 
26
                <term>x</term>
 
27
                <listitem>
 
28
                    <para>vetor ou matriz de reais ou complexos (armazenamento cheio ou
 
29
                        esparso) 
 
30
                    </para>
 
31
                </listitem>
 
32
            </varlistentry>
 
33
            <varlistentry>
 
34
                <term>flag</term>
 
35
                <listitem>
 
36
                    <para>string (tipo da norma) (valor padr�o = 2)</para>
 
37
                </listitem>
 
38
            </varlistentry>
 
39
        </variablelist>
 
40
    </refsection>
 
41
    <refsection>
 
42
        <title>Descri��o</title>
 
43
        <para>For matrices</para>
 
44
        <variablelist>
 
45
            <varlistentry>
 
46
                <term>norm(x)</term>
 
47
                <listitem>
 
48
                    <para>
 
49
                        ou <literal>norm(x,2)</literal> � o maior valor singular de
 
50
                        <literal>x</literal> (<literal>max(svd(x))</literal>).
 
51
                    </para>
 
52
                </listitem>
 
53
            </varlistentry>
 
54
            <varlistentry>
 
55
                <term>norm(x,1)</term>
 
56
                <listitem>
 
57
                    <para>
 
58
                        a norma l_1 de <literal>x</literal> (a maior soma coluna a
 
59
                        coluna : <literal>max(sum(abs(x),'r'))</literal> ).
 
60
                    </para>
 
61
                </listitem>
 
62
            </varlistentry>
 
63
            <varlistentry>
 
64
                <term>norm(x,'inf'),norm(x,%inf)</term>
 
65
                <listitem>
 
66
                    <para>
 
67
                        a norma infinitesimal de <literal>x</literal> (a maior soma
 
68
                        linha a linha : <literal>max(sum(abs(x),'c'))</literal> ).
 
69
                    </para>
 
70
                </listitem>
 
71
            </varlistentry>
 
72
            <varlistentry>
 
73
                <term>norm(x,'fro')</term>
 
74
                <listitem>
 
75
                    <para>norma de Frobenius i.e.
 
76
                        <literal>sqrt(sum(diag(x'*x)))</literal>
 
77
                    </para>
 
78
                </listitem>
 
79
            </varlistentry>
 
80
        </variablelist>
 
81
        <para>Para vetores </para>
 
82
        <variablelist>
 
83
            <varlistentry>
 
84
                <term>norm(v,p)</term>
 
85
                <listitem>
 
86
                    <para>
 
87
                        norma l_p (<literal>sum(v(i)^p))^(1/p)</literal> .
 
88
                    </para>
 
89
                </listitem>
 
90
            </varlistentry>
 
91
            <varlistentry>
 
92
                <term>norm(v)</term>
 
93
                <listitem>
 
94
                    <para>
 
95
                        <literal>=norm(v,2)</literal> : norma l_2
 
96
                    </para>
 
97
                </listitem>
 
98
            </varlistentry>
 
99
            <varlistentry>
 
100
                <term>norm(v,'inf')</term>
 
101
                <listitem>
 
102
                    <para>
 
103
                        <literal>max(abs(v(i)))</literal>.
 
104
                    </para>
 
105
                </listitem>
 
106
            </varlistentry>
 
107
        </variablelist>
 
108
    </refsection>
 
109
    <refsection>
 
110
        <title>Exemplos</title>
 
111
        <programlisting role="example"><![CDATA[ 
 
112
A=[1,2,3];
 
113
norm(A,1)
 
114
norm(A,'inf')
 
115
A=[1,2;3,4]
 
116
max(svd(A))-norm(A)
 
117
 
 
118
A=sparse([1 0 0 33 -1])
 
119
norm(A)
 
120
 ]]></programlisting>
 
121
    </refsection>
 
122
    <refsection role="see also">
 
123
        <title>Ver Tamb�m</title>
 
124
        <simplelist type="inline">
 
125
            <member>
 
126
                <link linkend="h_norm">h_norm</link>
 
127
            </member>
 
128
            <member>
 
129
                <link linkend="dhnorm">dhnorm</link>
 
130
            </member>
 
131
            <member>
 
132
                <link linkend="h2norm">h2norm</link>
 
133
            </member>
 
134
            <member>
 
135
                <link linkend="abs">abs</link>
 
136
            </member>
 
137
        </simplelist>
 
138
    </refsection>
 
139
</refentry>