cmul

Method:

cmul

Syntax:

v3 = v.cmul(v2);

Parameters:

v2 - vector

Returns:

v3 - vector

Description:

Component wise multiplication. Multiplies each component in 'v' by corresponding component of 'v2' and returns the result as a new vector.

Example:

v = new r3Vect(1, 2, 3);