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" version="5.0-subset Scilab" xml:id="norm" xml:lang="fr">
4
<refname>norm</refname>
5
<refpurpose>normes matricielles</refpurpose>
8
<title>Séquence d'appel</title>
9
<synopsis>[y]=norm(x [,flag])</synopsis>
12
<title>Paramètres</title>
17
<para>vecteur ou matrice (réelle ou complexe, pleine ou
25
<para>chaîne de caractères (type de la norme, 2 par défaut)</para>
31
<title>Description</title>
32
<para>Pour les matrices</para>
38
où <literal>norm(x,2)</literal> est la plus grande valeur
39
singulière de <literal>x</literal>
40
(<literal>max(svd(x))</literal>).
45
<term>norm(x,1) renvoie</term>
48
la norme l_1 de <literal>x</literal> (la plus grande somme
49
suivant les colonnes : <literal>max(sum(abs(x),'r'))</literal>
55
<term>norm(x,'inf'),norm(x,%inf)</term>
58
la norme infinie de <literal>x</literal> (la plus grande somme
59
suivant les lignes : <literal>max(sum(abs(x),'c'))</literal>
65
<term>norm(x,'fro')</term>
68
la norme de Frobenius de <literal>x</literal> c'est à dire
69
<literal>sqrt(sum(diag(x'*x)))</literal>
74
<para>Pour les vecteurs</para>
77
<term>norm(v,p)</term>
80
norme l_p (<literal>sum(v(i)^p))^(1/p)</literal> .
88
<literal>=norm(v,2)</literal> : norme euclidienne
93
<term>norm(v,'inf')</term>
96
<literal>max(abs(v(i)))</literal>.
103
<title>Exemples</title>
104
<programlisting role="example"><![CDATA[
111
A=sparse([1 0 0 33 -1])
115
<refsection role="see also">
116
<title>Voir aussi</title>
117
<simplelist type="inline">
119
<link linkend="h_norm">h_norm</link>
122
<link linkend="dhnorm">dhnorm</link>
125
<link linkend="h2norm">h2norm</link>
128
<link linkend="abs">abs</link>