That's fantastic Choonjoo Lee. I went down the pathway of trying to get rank(K) and rank(P) to be equal and tried a constrained ginv. Copilot suggested using pinv as it has these constraints built in. Unfortunately that didn't work as the rank(K) can be lost before the inverse(KVK) is constructed. So the next suggestion was to simply use a constrained inverse on M, so that rank(M) = rank(P). That did work with the pinv. rankpinv.do
-
Login or Register
- Log in with

Comment