|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Matrix\Operators\Operator:
Collaboration diagram for Matrix\Operators\Operator:Public Member Functions | |
| __construct (Matrix $matrix) | |
| Create an new handler object for the operation. More... | |
| result () | |
| Return the result of the operation. More... | |
Protected Member Functions | |
| 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... | |
Protected Attributes | |
| $matrix | |
| $rows | |
| Number of rows in the matrix. More... | |
| $columns | |
| Number of columns in the matrix. More... | |
Definition at line 8 of file Operator.php.
| Matrix\Operators\Operator::__construct | ( | Matrix | $matrix | ) |
Create an new handler object for the operation.
Definition at line 36 of file Operator.php.
References Matrix\Operators\Operator\$matrix.
| Matrix\Operators\Operator::result | ( | ) |
Return the result of the operation.
Definition at line 74 of file Operator.php.
|
protected |
Compare the dimensions of the matrices being operated on to see if they are valid for addition/subtraction.
| Exception |
Definition at line 49 of file Operator.php.
References Matrix\Operators\Operator\$matrix.
Referenced by Matrix\Operators\Addition\addMatrix(), and Matrix\Operators\Subtraction\subtractMatrix().
Here is the caller graph for this function:
|
protected |
Compare the dimensions of the matrices being operated on to see if they are valid for multiplication/division.
| Exception |
Definition at line 62 of file Operator.php.
References Matrix\Operators\Operator\$matrix.
Referenced by Matrix\Operators\Multiplication\multiplyMatrix().
Here is the caller graph for this function:
|
protected |
Number of columns in the matrix.
Definition at line 29 of file Operator.php.
Referenced by Matrix\Operators\Addition\addMatrix(), Matrix\Operators\Addition\addScalar(), Matrix\Operators\Multiplication\multiplyScalar(), Matrix\Operators\Subtraction\subtractMatrix(), and Matrix\Operators\Subtraction\subtractScalar().
|
protected |
Definition at line 15 of file Operator.php.
Referenced by Matrix\Operators\Operator\__construct(), Matrix\Operators\Multiplication\multiplyMatrix(), Matrix\Operators\Operator\validateMatchingDimensions(), and Matrix\Operators\Operator\validateReflectingDimensions().
|
protected |
Number of rows in the matrix.
Definition at line 22 of file Operator.php.
Referenced by Matrix\Operators\Addition\addMatrix(), Matrix\Operators\Addition\addScalar(), Matrix\Operators\DirectSum\directSumMatrix(), Matrix\Operators\Multiplication\multiplyMatrix(), Matrix\Operators\Multiplication\multiplyScalar(), Matrix\Operators\Subtraction\subtractMatrix(), and Matrix\Operators\Subtraction\subtractScalar().