|
| | __construct (array $matrix, bool $validate=true) |
| |
|
| add (self $other) |
| | Element-wise addition of the matrix with another one.
|
| |
|
| crossOut (int $row, int $column) |
| |
| | divideByScalar ($value) |
| |
| | frobeniusNorm () |
| | Frobenius norm (Hilbert–Schmidt norm, Euclidean norm) (‖A‖F) Square root of the sum of the square of all elements.
|
| |
|
| getColumns () |
| |
| | getColumnValues (int $column) |
| |
| | getDeterminant () |
| |
|
| getRows () |
| |
|
| inverse () |
| |
|
| isSingular () |
| |
|
| isSquare () |
| |
|
| multiply (self $matrix) |
| |
| | multiplyByScalar ($value) |
| |
|
| subtract (self $other) |
| | Element-wise subtracting of another matrix from this one.
|
| |
|
| toArray () |
| |
|
| toScalar () |
| |
|
| transpose () |
| |
|
|
static | dot (array $array1, array $array2) |
| | Returns the dot product of two arrays
Matrix::dot(x, y) ==> x.y'.
|
| |
|
static | fromFlatArray (array $array) |
| |
|
static | transposeArray (array $array) |
| | Returns the transpose of given array.
|
| |
◆ __construct()
| Phpml\Math\Matrix::__construct |
( |
array | $matrix, |
|
|
bool | $validate = true ) |
◆ divideByScalar()
| Phpml\Math\Matrix::divideByScalar |
( |
| $value | ) |
|
◆ frobeniusNorm()
| Phpml\Math\Matrix::frobeniusNorm |
( |
| ) |
|
◆ getColumnValues()
| Phpml\Math\Matrix::getColumnValues |
( |
int | $column | ) |
|
◆ getDeterminant()
| Phpml\Math\Matrix::getDeterminant |
( |
| ) |
|
◆ multiplyByScalar()
| Phpml\Math\Matrix::multiplyByScalar |
( |
| $value | ) |
|
The documentation for this class was generated from the following file:
- lib/mlbackend/php/phpml/src/Phpml/Math/Matrix.php