On 24/03/07, Charles R Harris <[EMAIL PROTECTED]> wrote:

> Yes indeed, this is an old complaint. Just having an infix operator would be
> an improvement:
>
> A dot B dot C
>
> Not that I am suggesting dot in this regard ;) In particular, it wouldn't
> parse without spaces. What about division? Matlab has both / and \ for left
> and right matrix division and something like that could call solve instead
> of inverse, leading to some efficiencies. We also have both dot and
> tensordot, which raises the problem of interpretation when ndim > 2.

There's always the Haskell approach: *every* function can be an infix
operator, just surround the name with backticks; functions with
line-noise names (like + * - /) are infix by default.

Not a good idea for python, I think.

Anne.
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to