Multiplying an array by a constant

When we multiply an array by a constant, each element is multiplied by that constant.

>>> print(2*M)
[[  2.  -4.   2.]
 [  4.  -8.   4.]
 [  6. -12.   6.]
 [  8. -16.   8.]
 [ 10. -20.  10.]]