45 return expair(newrest, newcoeff);
Lightweight wrapper for GiNaC's symbolic objects.
void print(const print_context &c, unsigned level=0) const
Print expression to stream.
ex rest
first member of pair, an arbitrary expression
const expair conjugate() const
ex coeff
second member of pair, must be numeric
void print(std::ostream &os) const
Context for tree-like output for debugging.
Definition of expression pairs (building blocks of expairseq).
bool are_ex_trivially_equal(const ex &e1, const ex &e2)
Compare two objects of class quickly without doing a deep tree traversal.
Interface to GiNaC's overloaded operators.