| 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
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.