1 | initial version |
Look at the operator()
and operands()
built-in methods of the Symbolic Expression class:
sage: F.operator()
<built-in function add>
sage: F.operands()
[A*B, C]
sage: F == F.operator()(*F.operands())
A*B + C == A*B + C
sage: bool(F == F.operator()(*F.operands()))
True