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

Prev:norm ( v -- x )
Next:normalize ( v -- w )


Vocabulary
math.vectors

Inputs and outputs
va sequence of numbers
xa non-negative real number


Word description
Computes the squared length of a mathematical vector.

Definition


Methods