On Tue, Jul 23, 2013 at 12:35 AM, Dave Hirschfeld <[email protected]> wrote: > Alan G Isaac <alan.isaac <at> gmail.com> writes: > >> >> On 7/22/2013 3:10 PM, Nathaniel Smith wrote: >> > Having .T but not .H is an example of this split. >> >> Hate to do this but ... >> >> Readability counts. > > +10! > > A.conjugate().transpose() is unspeakably horrible IMHO. Since there's no way > to avoid a copy you gain nothing by not providing the convenience function.
Silly suggestion: why not just make .H a callable? a.H() is nearly as short/handy as .H, it fits easily into the mnemonic pattern suggested by .T, yet the extra () are indicative that something potentially big/expensive is happening... Cheers, f -- Fernando Perez (@fperez_org; http://fperez.org) fperez.net-at-gmail: mailing lists only (I ignore this when swamped!) fernando.perez-at-berkeley: contact me here for any direct mail _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
