On the numpy list, there has been discussion on PEP225, which advocates for more custom inline operators in python, particularly to address matrix multiplication versus element-wise multiplication. Fernando Perez has put together a summary and is sending this to python-dev in a few days. See:
https://cirl.berkeley.edu/fperez/static/numpy-pep225/ If you have comments on this, please tell Fernando right away; he'll be sending the proposal to python-dev in a few days. I've copied the first couple of paragraphs for your convenience: In the Python-dev mailing lists, there were recently two threads regarding the possibility of adding to the language a new set of operators. This would allow one to define things like an element-wise and a matrix product for numpy arrays, for example. The original python-dev threads are here: * http://mail.python.org/pipermail/python-dev/2008-July/081508.html * http://mail.python.org/pipermail/python-dev/2008-July/081551.html And the actual PEP that discusses this at length is here: * http://www.python.org/dev/peps/pep-0225/ In order to provide feedback from the scientific/numerical community, a discussion was held on the numpy mailing list. This document is a brief summary of this discussion, in addition to some issues that were brought up during a BOF session that was held during the SciPy'08 conference. The point of this document is to provide the Python development team (and ultimately Guido) with feedback from a community that would be likely an important target of the features discussed in PEP 225, hoping that a final decision can be made on the PEP, either as-is or with modifications arising from this feedback. Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---