Open simon-king-jena opened 14 years ago
Description changed:
---
+++
@@ -33,3 +33,4 @@
TypeError: op_add expected 2 arguments, got 4
+Compare this thread at sage-devel.
Note to self: after this is fixed (or at least just the arithmetic operators), simplify_hypergeometric
should be added to simplify_full
. Now it cannot be added because it will sometimes raise errors due to this bug.
Burcin, is there a problem with setting the sum operator to Expression.add
, for example? I don't understand why we have to define new functions representing the arithmetic operators.
This will not work with some symbolic functions because they may have been called with the hold=True
keyword, and calling them again doesn't know about it. See also #17849. The solution of that ticket in line with this one would be to make keywords into operands (strings?, a dedicated class OperatorKeyword
?).
Another possible solution would be to abandon the hold
keyword and introduce a hold
context, see #10035.
I think that for all symbolic expression
s
should holdThat currently does not work, for two reasons.
I believe there should instead be an identity operator.
Compare this thread at sage-devel.
CC: @eviatarbach
Component: symbolics
Keywords: operator operands symbolics
Issue created by migration from https://trac.sagemath.org/ticket/10169