Class GaussJordanElimination
Gauss Jordan Elimination
This is largely copied from the moc/math library with variation to fit this library and it's use of strong numeric types.
Unlike the original, this does not alter the original matrices and returns (a clone of) itself to fit with the Decomposition interface.
The inline comments are largely the same, so hopefully the original authors will recognise it :-)
- Chippyash\Math\Matrix\Decomposition\AbstractDecomposition implements Chippyash\Math\Matrix\Interfaces\DecompositionInterface
-
Chippyash\Math\Matrix\Decomposition\GaussJordanElimination uses Chippyash\Matrix\Traits\AssertParameterIsMatrix (not available) Chippyash\Math\Matrix\Traits\AssertMatrixIsNumeric, Chippyash\Matrix\Traits\AssertMatrixIsSquare (not available) Chippyash\Matrix\Traits\AssertMatrixRowsAreEqual (not available) Chippyash\Math\Matrix\Traits\CreateCorrectMatrixType
public
Chippyash\Math\Matrix\DecompositionAbstractDecomposition
|
#
decompose(
Perform Guass Jordan Elimination on the two supplied matrices |
__get(),
__invoke(),
product()
|