TinyMUX

Vmag()

Functions

vmag(<vector>[,<delimiter>]

Returns the magnitude of a vector using a Euclidean distance metric. That is, for vector a b c d, it returns sqrt(a^2+b^2+c^2+d^2).

Example

> think vmag(3 4)

5

vdim(), vunit()