38 ex newrest =
rest.conjugate();
39 ex newcoeff =
coeff.conjugate();
43 return expair(newrest, newcoeff);
Lightweight wrapper for GiNaC's symbolic objects.
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.
const unsigned delta_indent
size of indentation step
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.