| 
| 
  | execute ($value) | 
|   | 
|   | result () | 
|   | Return the result of the operation.  
  | 
|   | 
 | 
| 
  | $columns | 
|   | Number of columns in the matrix. 
  | 
|   | 
| 
  | $matrix | 
|   | 
| 
  | $rows | 
|   | Number of rows in the matrix. 
  | 
|   | 
◆ addMatrix()
  
  
      
        
          | Matrix\Operators\Addition::addMatrix  | 
          ( | 
          Matrix |           $value | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Execute the addition for a matrix. 
- Parameters
 - 
  
    | Matrix | $value | The numeric value to add to the current base value  | 
  
   
- Return values
 - 
  
    | $this | The operation object, allowing multiple additions to be chained  | 
  
   
- Exceptions
 - 
  
    | Exception | If the provided argument is not appropriate for the operation  | 
  
   
 
 
◆ addScalar()
  
  
      
        
          | Matrix\Operators\Addition::addScalar  | 
          ( | 
           |           $value | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Execute the addition for a scalar. 
- Parameters
 - 
  
    | mixed | $value | The numeric value to add to the current base value  | 
  
   
- Return values
 - 
  
    | $this | The operation object, allowing multiple additions to be chained  | 
  
   
 
 
◆ result()
  
  
      
        
          | Matrix\Operators\Operator::result  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Return the result of the operation. 
- Return values
 - 
  
  
 
 
 
◆ validateMatchingDimensions()
  
  
      
        
          | Matrix\Operators\Operator::validateMatchingDimensions  | 
          ( | 
          Matrix |           $matrix | ) | 
           | 
         
       
   | 
  
protectedinherited   | 
  
 
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 | ) | 
           | 
         
       
   | 
  
protectedinherited   | 
  
 
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/Addition.php