Operators for matrix: current choices (Was Matlab vs Python ...)

John Lull lull at acm.org
Thu Jul 20 01:40:07 EDT 2000


Huaiyu Zhu <huaiyu_zhu at yahoo.com> wrote (with possible deletions):

>    A variant: only use .E for elementwise.  Always return matrixwise.  This
>    is simply just using casting to help select among two methods denoted by
>    the same binary symbol.  Does not look much better than 4 but worth
>    considering.

Might I suggest .e instead of .E?  .e* just looks a lot more like an
operator to me than .E*.  I think it makes the resulting expressions
more readable.

Regards,
John



More information about the Python-list mailing list