l-infinity-norm ( k -- x )
Matrix operations

Prev:l2-norm ( k -- x )
Next:p-norm ( k p -- x )


Vocabulary
math.vectors

Inputs
ka sequence


Outputs
xa non-negative real number


Generic word contract
Computes the norm (size) of k in 𝑙∞ (L^∞) vector space, usually written ∥・∥∞. For a mathematical vector, this is simply its maximum.

Examples
USING: math.vectors prettyprint ; { 1 2 3 4 } l-infinity-norm .
4


See also
norm-sq, l1-norm, norm, p-norm

Definition