clifford
clifford copied to clipboard
Added a .pinv() method to MultiVectors plus tests
PR implementing #366.
I've added a method .pinv()
to multivectors, which returns the pseudoinverse instead of the normal inverse. Identical to the matrix inverse method but when invoked on singular elements this does not throw an error but instead returns the original element, because well... it's singular.
CI failures can be ignored. Thanks for the PR, I think I like the pinv
name better than your previous suggestion anyway.