Vmul()

From TinyMUX
Revision as of 16:57, 25 November 2010 by Ihavenomouth (talk | contribs) (New page: Category:Functions {{Function|vmul(<vector|num>,<vector|num>[,<delim>][,<output delim>])}} Returns the result of either multiplying a vector by a number (scalar multiplication) or an...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


vmul(<vector

Returns the result of either multiplying a vector by a number (scalar multiplication) or an element-wise multiplication of two vectors.


Example

> think vmul(1 2 3,2)

2 4 6

> think vmul(1 2 3,2 3 4)

2 6 12

Related Topics

vdot(), vcross()