distance ( u v -- x )
Factor handbook » The language » Numbers » Vector operations » Vector arithmetic

Prev:p-norm ( k p -- x )
Next:v~ ( a b epsilon -- ? )


Vocabulary
math.vectors

Inputs
ua sequence of numbers
va sequence of numbers


Outputs
xa non-negative real number


Word description
Outputs the Euclidean distance between two vectors.

Definition


Methods