|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Matrix\Operators\Addition:
Collaboration diagram for Matrix\Operators\Addition:Public Member Functions | |
| execute ($value) | |
| Execute the addition. More... | |
Public Member Functions inherited from Matrix\Operators\Operator | |
| __construct (Matrix $matrix) | |
| Create an new handler object for the operation. More... | |
| result () | |
| Return the result of the operation. More... | |
Protected Member Functions | |
| addScalar ($value) | |
| Execute the addition for a scalar. More... | |
| addMatrix (Matrix $value) | |
| Execute the addition for a matrix. More... | |
Protected Member Functions inherited from Matrix\Operators\Operator | |
| validateMatchingDimensions (Matrix $matrix) | |
| Compare the dimensions of the matrices being operated on to see if they are valid for addition/subtraction. More... | |
| validateReflectingDimensions (Matrix $matrix) | |
| Compare the dimensions of the matrices being operated on to see if they are valid for multiplication/division. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Matrix\Operators\Operator | |
| $matrix | |
| $rows | |
| Number of rows in the matrix. More... | |
| $columns | |
| Number of columns in the matrix. More... | |
Definition at line 8 of file Addition.php.
|
protected |
Execute the addition for a matrix.
| Matrix | $value | The numeric value to add to the current base value |
| Exception | If the provided argument is not appropriate for the operation |
Definition at line 56 of file Addition.php.
References Matrix\Operators\Operator\$columns, $row, Matrix\Operators\Operator\$rows, Matrix\Matrix\getValue(), and Matrix\Operators\Operator\validateMatchingDimensions().
Referenced by Matrix\Operators\Addition\execute().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Execute the addition for a scalar.
| mixed | $value | The numeric value to add to the current base value |
Definition at line 38 of file Addition.php.
References Matrix\Operators\Operator\$columns, $row, and Matrix\Operators\Operator\$rows.
Referenced by Matrix\Operators\Addition\execute().
Here is the caller graph for this function:| Matrix\Operators\Addition::execute | ( | $value | ) |
Execute the addition.
| mixed | $value | The matrix or numeric value to add to the current base value |
| Exception | If the provided argument is not appropriate for the operation |
Definition at line 17 of file Addition.php.
References Matrix\Operators\Addition\addMatrix(), and Matrix\Operators\Addition\addScalar().
Here is the call graph for this function: