vmul - luxembourg/muxcode-clm GitHub Wiki

VMUL()

FUNCTION: vmul(<vector|num>,<vector|num>[,<delim>][,<output delim>])

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