| 
|   | __construct (Matrix $matrix) | 
|   | Create an new handler object for the operation.  
  | 
|   | 
|   | result () | 
|   | Return the result of the operation.  
  | 
|   | 
 | 
| 
  | $columns | 
|   | Number of columns in the matrix. 
  | 
|   | 
| 
  | $matrix | 
|   | 
| 
  | $rows | 
|   | Number of rows in the matrix. 
  | 
|   | 
◆ __construct()
      
        
          | Matrix\Operators\Operator::__construct  | 
          ( | 
          Matrix |           $matrix | ) | 
           | 
        
      
 
Create an new handler object for the operation. 
- Parameters
 - 
  
    | Matrix | $matrix | The base Matrix object on which the operation will be performed  | 
  
   
 
 
◆ result()
      
        
          | Matrix\Operators\Operator::result  | 
          ( | 
           | ) | 
           | 
        
      
 
Return the result of the operation. 
- Return values
 - 
  
  
 
 
 
◆ validateMatchingDimensions()
  
  
      
        
          | Matrix\Operators\Operator::validateMatchingDimensions  | 
          ( | 
          Matrix |           $matrix | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Compare the dimensions of the matrices being operated on to see if they are valid for addition/subtraction. 
- Parameters
 - 
  
    | Matrix | $matrix | The second Matrix object on which the operation will be performed  | 
  
   
- Exceptions
 - 
  
  
 
 
 
◆ validateReflectingDimensions()
  
  
      
        
          | Matrix\Operators\Operator::validateReflectingDimensions  | 
          ( | 
          Matrix |           $matrix | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Compare the dimensions of the matrices being operated on to see if they are valid for multiplication/division. 
- Parameters
 - 
  
    | Matrix | $matrix | The second Matrix object on which the operation will be performed  | 
  
   
- Exceptions
 - 
  
  
 
 
 
The documentation for this class was generated from the following file:
- lib/phpspreadsheet/markbaker/matrix/classes/src/Operators/Operator.php