Add Moore-Penrose inverse #167
test_pull_request.yml
on: pull_request
Matrix: Code coverage
Matrix: Static Analysis
Matrix: Test and Lint
Annotations
21 errors
Static Analysis (7.2):
src/LinearAlgebra/Decomposition/SVD.php#L163
Method MathPHP\LinearAlgebra\Decomposition\SVD::diagonalize() should return array{sort: string, P: MathPHP\LinearAlgebra\NumericMatrix} but returns MathPHP\LinearAlgebra\NumericSquareMatrix.
|
Static Analysis (7.2):
src/LinearAlgebra/Decomposition/SVD.php#L203
Parameter #2 $callback of function uksort expects callable(TKey, TKey): int, Closure(mixed, mixed): bool given.
|
Static Analysis (7.2):
src/LinearAlgebra/Decomposition/SVD.php#L273
Method MathPHP\LinearAlgebra\Decomposition\SVD::getStandardBasisIndex() should return int but returns false.
|
Static Analysis (7.2):
src/LinearAlgebra/Decomposition/SVD.php#L308
Parameter #2 ...$args of function array_merge expects array, array<int, int>|false given.
|
Static Analysis (7.2):
src/LinearAlgebra/Decomposition/SVD.php#L318
Parameter #2 $callback of function uksort expects callable(int|string, int|string): int, Closure(mixed, mixed): bool given.
|
Static Analysis (7.2):
src/LinearAlgebra/MatrixCatalog.php#L111
Method MathPHP\LinearAlgebra\MatrixCatalog::addPseudoInverse() has parameter $A⁺ with generic class MathPHP\LinearAlgebra\Matrix but does not specify its types: T
|
Static Analysis (7.2):
src/LinearAlgebra/MatrixCatalog.php#L113
Property MathPHP\LinearAlgebra\MatrixCatalog<T>::$A⁺ (MathPHP\LinearAlgebra\NumericMatrix) does not accept MathPHP\LinearAlgebra\Matrix.
|
Static Analysis (7.2):
src/LinearAlgebra/MatrixCatalog.php#L121
Property MathPHP\LinearAlgebra\MatrixCatalog<T>::$A⁺ (MathPHP\LinearAlgebra\NumericMatrix) in isset() is not nullable.
|
Static Analysis (7.2):
src/LinearAlgebra/MatrixCatalog.php#L127
Method MathPHP\LinearAlgebra\MatrixCatalog::getPseudoInverse() return type with generic class MathPHP\LinearAlgebra\Matrix does not specify its types: T
|
Static Analysis (7.2):
src/LinearAlgebra/NumericMatrix.php#L1615
Method MathPHP\LinearAlgebra\NumericMatrix::pseudoInverse() should return MathPHP\LinearAlgebra\NumericMatrix but returns MathPHP\LinearAlgebra\Matrix.
|
Test and Lint (8.1)
Process completed with exit code 2.
|
Test and Lint (8.2)
The job was canceled because "_8_1" failed.
|
Test and Lint (8.2)
Process completed with exit code 2.
|
Test and Lint (7.3)
The job was canceled because "_8_1" failed.
|
Test and Lint (7.3)
The operation was canceled.
|
Test and Lint (8.0)
The job was canceled because "_8_1" failed.
|
Test and Lint (8.0)
The operation was canceled.
|
Test and Lint (7.4)
The job was canceled because "_8_1" failed.
|
Test and Lint (7.4)
The operation was canceled.
|
Test and Lint (7.2)
The job was canceled because "_8_1" failed.
|
Test and Lint (7.2)
The operation was canceled.
|