Vmul()

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