HTBasic Help
×
Menu
Index
Norm
Euclidean or F-norm of a vector.
 
Loading        LOADSUB ALL FROM "NORM.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                REAL Y,A(*)
Y=FNNorm(A(*))
 
Description                
FNNorm returns the value of the Euclidean norm of the vector represented in A. This norm is computed by summing the squares of the elements and taking the square root of the sum. This norm is also called the L-2 norm or the F-norm.
 
Errors                
FNNorm causes an HTBasic error if its argument is not a REAL array.
 
See Also
Norm1, Norminf