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.
  Special cases aren't special enough to break the rules.
  Although practicality beats purity.

How much is the split a rule or "just" a convention, and is there
enough practicality here to beat the purity of the split?

Note: this is not a rhetorical question.
However: if you propose A.conjugate().transpose() as providing a teachable
moment about why to use NumPy instead of A' in Matlab, I conclude you
do not ever teach most of my students.  The real world matters.  Since
practicality beats purity, we do have A.conj().T, which is better
but still not as readable as A.H would be.  Or even A.H(), should
that satisfy your objections (and still provide a teachable moment).

Alan

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to