From 5f480ae3aaf2cefbff4805365e43eef8953d08cb Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Sun, 2 Oct 2005 12:35:36 +0000 Subject: [PATCH] FIX norm_1 so it is implemented as sum(abs(()) as documented and correctly defined [SVN r31175] --- doc/overview.htm | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/overview.htm b/doc/overview.htm index 74d936a1..e235f0e8 100644 --- a/doc/overview.htm +++ b/doc/overview.htm @@ -284,24 +284,30 @@ matrices.

Comment -_asum +sasum OR dasum norm_1 (x) -sum |xi| -Computes the sum norm of a vector. +sum xi +Computes the l1 (sum) norm of a real vector. + + +scasum OR dzasum +no equivilent +sum re(xi) + sum im(xi) +Computes the sum of elements of a complex vector. _nrm2 norm_2 (x) sqrt (sum |xi|2 ) -Computes the euclidean norm of a vector. +Computes the linf (euclidean) norm of a vector. i_amax norm_inf (x)
norm_inf_index (x)
max |xi| -Computes the maximum norm of a vector.
+Computes the l2 (maximum) norm of a vector.
BLAS computes the index of the first element having this value.