$matrix
$matrix :
Stored internally as a 2-dimension array of values
__construct(\Matrix\Matrix $matrix)
Create an new handler object for the operation
\Matrix\Matrix | $matrix | The base Matrix object on which the operation will be performed |
result() : \Matrix\Matrix
Return the result of the operation
validateMatchingDimensions(\Matrix\Matrix $matrix)
Compare the dimensions of the matrices being operated on to see if they are valid for addition/subtraction
\Matrix\Matrix | $matrix | The second Matrix object on which the operation will be performed |
validateReflectingDimensions(\Matrix\Matrix $matrix)
Compare the dimensions of the matrices being operated on to see if they are valid for multiplication/division
\Matrix\Matrix | $matrix | The second Matrix object on which the operation will be performed |