HTBasic Help
×
Menu
Index
Norm1
L-1 norm of a vector.
 
Loading        LOADSUB ALL FROM "NORM.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                REAL Y,A(*)
Y=FNNorm1(A(*))
 
Description                
FNNorm1 returns the value of the L-1 norm of the vector represented in A. This norm is computed by summing the absolute values of the elements in A.
 
Errors                
FNNorm1 causes an HTBasic error if its argument is not a REAL array.
 
See Also
Norm, Norminf