Skip to content

Add Moore-Penrose inverse #178

Add Moore-Penrose inverse

Add Moore-Penrose inverse #178

Triggered via pull request December 4, 2023 21:21
Status Failure
Total duration 1m 45s
Artifacts

test_pull_request.yml

on: pull_request
Matrix: Code coverage
Matrix: Static Analysis
Matrix: Test and Lint
Fit to window
Zoom out
Zoom in

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#L216
PHPDoc tag @var above foreach loop does not specify variable name.
Static Analysis (7.2): src/LinearAlgebra/Decomposition/SVD.php#L221
Cannot call method l2Norm() on float|int.
Static Analysis (7.2): src/LinearAlgebra/Decomposition/SVD.php#L224
Parameter #1 $v of static method MathPHP\LinearAlgebra\Decomposition\SVD::getStandardBasisIndex() expects MathPHP\LinearAlgebra\Vector, float|int given.
Static Analysis (7.2): src/LinearAlgebra/Decomposition/SVD.php#L234
Cannot access offset mixed on float|int.
Static Analysis (7.2): src/LinearAlgebra/Decomposition/SVD.php#L280
Method MathPHP\LinearAlgebra\Decomposition\SVD::getStandardBasisIndex() should return int but returns false.
Static Analysis (7.2): src/LinearAlgebra/Decomposition/SVD.php#L315
Parameter #2 ...$args of function array_merge expects array, array<int, int>|false given.
Static Analysis (7.2): src/LinearAlgebra/Decomposition/SVD.php#L325
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
Test and Lint (7.4)
Process completed with exit code 2.
Test and Lint (8.0)
The job was canceled because "_7_4" failed.
Test and Lint (8.0)
Process completed with exit code 2.
Test and Lint (8.1)
The job was canceled because "_7_4" failed.
Test and Lint (8.1)
Process completed with exit code 2.
Test and Lint (8.2)
The job was canceled because "_7_4" failed.
Test and Lint (8.2)
The operation was canceled.
Test and Lint (7.3)
The job was canceled because "_7_4" failed.
Test and Lint (7.3)
The operation was canceled.
Test and Lint (7.2)
The job was canceled because "_7_4" failed.
Test and Lint (7.2)
The operation was canceled.