Handbook
Glossary
l2-norm ( k -- x )
Matrix operations
Prev:
l1-norm ( k -- x )
Next:
l-infinity-norm ( k -- x )
Vocabulary
math
.
vectors
Inputs
k
a
sequence
Outputs
x
a non-negative real number
Generic word contract
Implementation for the default
norm
, in 𝑙₂ (
L^2
) vector space, usually written ∥・∥₂.
See also
frobenius-norm
,
hilbert-schmidt-norm
Definition
USING:
math.functions
;
IN:
math.vectors
:
l2-norm
( k -- x )
norm-sq
sqrt
;
inline