5 ms·
> general inversion of any MxN matrix ??! is there such a thing ? only nonsingular square matrices can be inverted. a general mxn matrix may have a “left inver
by dxbydt 7y ago
> general inversion of any MxN matrix
??! is there such a thing ? only nonsingular square matrices can be inverted. a general mxn matrix may have a “left inverse” or a “right inverse”, but i don’t think your code is computing that.
- deleted 7y ago[deleted]
- throw20102010 7y agoThere is such a thing as a generalized inverse, in which you can invert non-square or non-full rank matrices and the generalized inverse meets many (but not all) of the properties of an inverse. The tough part is that the agreed upon set of properties does not create a unique solution for a generalized inverse like it does for the inverse, so there are multiple possibilities when someone says generalized inverse. However, the most popular is probably the Moore-Penrose inverse: https://en.wikipedia.org/wiki/Moore–Penrose_inverse https://en.wikipedia.org/wiki/Moore–Penrose_inverse
- wittedhaddock 7y agothank you very much for this !!
- wittedhaddock 7y agoYou're 100% correct, the algo only handles square matrices! Typo. So, disclaimer, where m === n :) thanks!