Vmag(): Difference between revisions

From TinyMUX
Jump to navigation Jump to search
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+...
 
(No difference)

Latest revision as of 16:59, 25 November 2010


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()