23 #ifndef GINAC_INTEGRAL_H 24 #define GINAC_INTEGRAL_H 46 int degree(
const ex & s)
const override;
49 size_t nops()
const override;
50 ex op(
size_t i)
const override;
96 #endif // ndef GINAC_INTEGRAL_H int ldegree(const ex &s) const override
Return degree of lowest power in object s.
static int max_integration_level
void do_print_latex(const print_latex &c, unsigned level) const
ex conjugate() const override
integral(const ex &x_, const ex &a_, const ex &b_, const ex &f_)
size_t nops() const override
Number of operands/members.
This class holds a relation consisting of two expressions and a logical relation between them...
Archiving of GiNaC expressions.
This class is the ABC (abstract base class) of GiNaC's class hierarchy.
int degree(const ex &s) const override
Return degree of highest power in object s.
ex eval_ncmul(const exvector &v) const override
ex derivative(const symbol &s) const override
Default implementation of ex::diff().
ex eval_integ() const override
Evaluate integrals, if result is known.
exvector get_free_indices() const override
Return a vector containing the free indices of an expression.
unsigned precedence() const override
Return relative operator precedence (for parenthezing output).
Context for latex-parsable output.
void do_print(const print_context &c, unsigned level) const
static ex relative_integration_error
To distinguish between different kinds of non-commutative objects.
std::vector< ex > exvector
return_type_t return_type_tinfo() const override
Interface to GiNaC's light-weight expression handles.
Base class for print_contexts.
ex adaptivesimpson(const ex &x, const ex &a_in, const ex &b_in, const ex &f, const ex &error)
Numeric integration routine based upon the "Adaptive Quadrature" one in "Numerical Analysis" by Burde...
void read_archive(const archive_node &n, lst &syms) override
Read (a.k.a.
Interface to GiNaC's ABC.
ex series(const relational &r, int order, unsigned options=0) const override
Default implementation of ex::series().
This class stores all properties needed to record/retrieve the state of one object of class basic (or...
ex op(size_t i) const override
Return operand/member at position i.
Lightweight wrapper for GiNaC's symbolic objects.
ex evalf() const override
Evaluate object numerically.
unsigned return_type() const override
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.
ex & let_op(size_t i) override
Return modifiable operand/member at position i.
GINAC_DECLARE_UNARCHIVER(add)
void archive(archive_node &n) const override
Save (a.k.a.
ex eval() const override
Perform automatic non-interruptive term rewriting rules.
ex expand(unsigned options=0) const override
Expand expression, i.e.