norm-sq ( v -- x )
Factor handbook » The language » Numbers » Vector operations » Vector arithmetic

Prev:vdot ( u v -- x )
Next:l1-norm ( k -- x )


Vocabulary
math.vectors

Inputs
va sequence of numbers


Outputs
xa non-negative real number


Word description
Computes the squared length of a mathematical vector.

See also
l1-norm, norm, l-infinity-norm, p-norm

Definition


Methods