Mercurial > hg > octave-lyh
comparison scripts/linear-algebra/norm.m @ 3966:c5cf860b756d
[project @ 2002-06-29 02:52:28 by jwe]
author | jwe |
---|---|
date | Sat, 29 Jun 2002 02:52:28 +0000 |
parents | bc61e418f200 |
children | e7da90a1cc11 |
comparison
equal
deleted
inserted
replaced
3965:edd758a7ca8d | 3966:c5cf860b756d |
---|---|
24 ## | 24 ## |
25 ## If @var{a} is a matrix: | 25 ## If @var{a} is a matrix: |
26 ## | 26 ## |
27 ## @table @asis | 27 ## @table @asis |
28 ## @item @var{p} = @code{1} | 28 ## @item @var{p} = @code{1} |
29 ## 1-norm, the largest column sum of @var{a}. | 29 ## 1-norm, the largest column sum of the absolute values of @var{a}. |
30 ## | 30 ## |
31 ## @item @var{p} = @code{2} | 31 ## @item @var{p} = @code{2} |
32 ## Largest singular value of @var{a}. | 32 ## Largest singular value of @var{a}. |
33 ## | 33 ## |
34 ## @item @var{p} = @code{Inf} | 34 ## @item @var{p} = @code{Inf} |
35 ## @cindex infinity norm | 35 ## @cindex infinity norm |
36 ## Infinity norm, the largest row sum of @var{a}. | 36 ## Infinity norm, the largest row sum of the absolute values of @var{a}. |
37 ## | 37 ## |
38 ## @item @var{p} = @code{"fro"} | 38 ## @item @var{p} = @code{"fro"} |
39 ## @cindex Frobenius norm | 39 ## @cindex Frobenius norm |
40 ## Frobenius norm of @var{a}, @code{sqrt (sum (diag (@var{a}' * @var{a})))}. | 40 ## Frobenius norm of @var{a}, @code{sqrt (sum (diag (@var{a}' * @var{a})))}. |
41 ## @end table | 41 ## @end table |