1
norm Scilab Group Scilab Function norm
8
x : real or complex vector or matrix (full or sparse storage)
10
flag : string (type of norm) (default value =2)
15
norm(x) : or norm(x,2) is the largest singular value of x
18
norm(x,1) : The l_1 norm x (the largest column sum :
19
maxi(sum(abs(x),'r')) ).
21
norm(x,'inf'),norm(x,%inf)
22
: The infinity norm of x (the largest row sum : maxi(sum(abs(x),'c'))
25
norm(x,'fro') : Frobenius norm i.e. sqrt(sum(diag(x'*x)))
29
norm(v,p) : l_p norm (sum(v(i)^p))^(1/p) .
31
norm(v) : =norm(v,2) : l_2 norm
33
norm(v,'inf') : max(abs(v(i))).
42
A=sparse([1 0 0 33 -1])
46
h_norm, dhnorm, h2norm, abs