Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You cannot use M+ as a variable name. In fact, M+=... is interpreted as incrementing M by what is given in the right hand side. Try this out:

Mp = pseudo_inverse(M)
M * Mp * M == M