* (Matrix)
Multiplies a matrix by a number.
Arguments
matrix0
is the Matrix to multiply.Real
number
to multiply by.
Return values
matrix1
is the resulting Matrix.
Complexity
O(dimension)
Example
Output:
3.000000,-1.500000,0.500000,0.000000,
-0.500000,0.500000,4.000000,2.500000,
0.000000,1.000000,-4.000000,0.500000,