Vocabularymath.
vectorsInputsOutputsx | a non-negative real number |
Generic word contractComputes the norm (size) of
k in 𝑙₂ (
L^2) vector space, usually written ∥・∥₂.
NotesThis is generally the "default norm", and when referring to an unqualified norm, so it is an alias for the
l2-norm implementation.
ExamplesUSING: math.vectors math.functions prettyprint ;
{ 1 2 3 4 } norm 5.4772255 10e-8 ~ .
t
See alsonorm-sq,
l1-norm,
l-infinity-norm,
p-normDefinition