Am 27.02.2014 13:59, schrieb Sergey Kirpichev:
On Wednesday, February 26, 2014 11:49:47 PM UTC+4, Aaron Meurer wrote:
Because it turn python to be a DSL for numeric computations.
How is that a bad thing? Python is already used heavily for numeric
computations.
It's good for this specific domain, but bad for the Python in general,
as it is not a DSL.
btw, here is a discussion of the possibility to have generic infix ops (the
whole thread):
https://mail.python.org/pipermail/python-dev/2008-July/081509.html
and some arguments against matrix mul as well, e.g.:
https://mail.python.org/pipermail/python-dev/2008-July/081537.html
(a) The idea has been rejected by the BDFL, so the question is what the
reasons for that were and whether a new proposal can eliminate them.
(BTW it's entirely possible that the current PEP will be rejected as well.)
(b) There's the question of what we as SymPy might want out of Python's
operator system. What issues do we have, what's making our life
miserable? (I can guess there is, it would be nice to have the
established notations for bra and ket, for example.)
To raise our voice in that discussion, it would probably be a good idea
to answer (b) first.
We can probably also shed some light on the @ proponents' claim that
matrix multiplication is the one use case for which adding another
operator is a good idea - I guess we'd disagree, but we should bring
statistics. (From the perspective of SymPy, @ for matrix multiplication
is nonsensical anyway, we do well with * - do we?)
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/530F79CA.4060603%40durchholz.org.
For more options, visit https://groups.google.com/groups/opt_out.