obj1 * obj2

Multiplication operator. Computes the multiplication of objects obj1 and obj2. Used for scalars times scalar, scalar times an array, scalar times a matrix, and for matrix multiplication.


Example


a = (1, 2, 3);

2*a

2  4  6