On Tuesday, April 26, 2016 at 1:53:41 AM UTC-7, Johan S. R. Nielsen wrote: > > Basically, I don't understand why this def should be a property, and it > seems to me to be problematic. Specifically: > > 1) This is a property that can throw an exception. Isn't that a problem? > > 2) This is a property that runs a heavy computation when called. Isn't > that a problem? >
I agree those things are a problem. I think I know why it was done: Transposition of a matrix is often written as M^T . It's difficult to support that syntax, so using M.T seems like a nice approximation. Once you have that, doing the same for conjugate and conjugate-transpose is a small step. And now that we have all these properties for order-two matrix operations, it's only natural to introduce one for inverses too. Given the ubiquity of tab-completion I agree that this is now probably a bad idea. I don't know if it's bad enough to break existing code, though. Perhaps deprecate their use? Even that has a cost. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.