+ (Matrix)
Returns the sum of two matrixes with the same dimension.
Arguments
matrix0
and matrix1
are the Matrixes to add. If their dimensions are different, an error will occur.
Return values
matrix2
is the sum Matrix.
Complexity
O(dimension)
Example
Output:
7.000000,0.000000,3.000000,
0.000000,3.000000,5.000000,
4.000000,-4.000000,-2.000000,