Метод |
Описание |
|
__construct ( $rows, $columns, array $set = [] ) |
|
|
__toString ( ) |
|
|
add ( Matrix $matrix ) |
|
|
determinant ( ) |
Computation of the determinant of 2x2 and 3x3 matrices |
|
divideScalar ( $number ) |
|
|
getColumns ( ) |
|
|
getElement ( $row, $column ) |
|
|
getRows ( ) |
|
|
isSquare ( ) |
|
|
multiplyScalar ( $number ) |
|
|
offsetExists ( $offset ) |
|
|
offsetGet ( $offset ) |
|
|
offsetSet ( $offset, $value ) |
|
|
offsetUnset ( $offset ) |
|
|
product ( Matrix $matrix ) |
Naive Matrix product, O(n^3) |
|
set ( array $m ) |
|
|
setElement ( $row, $column, $value ) |
|
|
substract ( Matrix $matrix ) |
|
|
transpose ( ) |
|
|