-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Description
Adding the generalize pseudo-inverse I think is on the docket somewhere (mentioned in #260)
I've actually implemented it in a fork using the SVD method of construction (pretty easy actually).
Here are the changes I think it would introduce, but I wanted to check if I'm not missing something before submitting a pr:
- Add pseudoInverse property + adder/haser/getter to MatrixCatalog
- Add pseudoInverse method to NumericMatrix
- Add pseudoInverse test in MatrixOperationsTest that re-uses the regular inverse dataset + tests non-square matrices
Mainly, I noticed NumericDiagonalMatrix has a special inverse method and was wondering if I should add the following to it:
class NumericDiagonalMatrix
{
...
public function pseudoInverse(): NumericMatrix
{
return $this->inverse()
}
...
}For posterity.
But I'm probably missing other things as well.
Metadata
Metadata
Assignees
Labels
No labels