49 const
ex & f4, const
ex & f5);
51 const
ex & f4, const
ex & f5, const
ex & f6);
58 bool info(
unsigned inf)
const override;
59 int degree(
const ex & s)
const override;
62 ex coeff(
const ex & s,
int n=1)
const override;
99 #endif // ndef GINAC_NCMUL_H Non-commutative product of expressions.
exvector get_free_indices() const override
Return a vector containing the free indices of an expression.
bool info(unsigned inf) const override
Information about the object.
friend ex reeval_ncmul(const exvector &v)
Archiving of GiNaC expressions.
return_type_t return_type_tinfo() const override
unsigned return_type() const override
size_t count_factors(const ex &e) const
int ldegree(const ex &s) const override
Return degree of lowest power in object s.
void do_print(const print_context &c, unsigned level) const
ex hold_ncmul(const exvector &v)
void append_factors(exvector &v, const ex &e) const
exvector expandchildren(unsigned options) const
friend ex hold_ncmul(const exvector &v)
To distinguish between different kinds of non-commutative objects.
Definition of GiNaC's exprseq.
std::vector< ex > exvector
ex real_part() const override
ex imag_part() const override
Base class for print_contexts.
ex coeff(const ex &s, int n=1) const override
Return coefficient of degree n in object s.
Lightweight wrapper for GiNaC's symbolic objects.
const exvector & get_factors() const
ex eval() const override
Perform automatic term rewriting rules in this class.
This class holds a two-component object, a basis and and exponent representing exponentiation.
ex expand(unsigned options=0) const override
Expand expression, i.e.
ex thiscontainer(const exvector &v) const override
ex derivative(const symbol &s) const override
Implementation of ex::diff() for a non-commutative product.
ex evalm() const override
Evaluate sums, products and integer powers of matrices.
ex reeval_ncmul(const exvector &v)
Wrapper template for making GiNaC classes out of STL containers.
#define GINAC_DECLARE_REGISTERED_CLASS(classname, supername)
Macro for inclusion in the declaration of each registered class.
void do_print_csrc(const print_context &c, unsigned level) const
unsigned precedence() const override
Return relative operator precedence (for parenthezing output).
GINAC_DECLARE_UNARCHIVER(add)
int degree(const ex &s) const override
Return degree of highest power in object s.
ex conjugate() const override