Vmag()

From TinyMUX
Revision as of 16:59, 25 November 2010 by Ihavenomouth (talk | contribs) (New page: Category:Functions {{Function|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+...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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

Related Topics

vdim(), vunit()