Does anybody know why there are two methods to invert matrices? One of them is called m.inverse() and the other is m.invert().
invert() seems to be only defined for dense matrices with rational entries, and inverse() seems to work for both sparse and dense matrices over any field. Is there a good reason to have invert()? I can imagine something happening along the lines of somebody trying to override inverse for dense rational matrices to give a better algorithm or whatever and calling the method invert instead of inverse by accident... By the way, inverse is a much better name, since invert sounds very imperative and you might expect invert to invert the matrix in place (that's what I thought it did initially). --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---