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;
52 ex expand(
unsigned options = 0)
const override;
Archiving of GiNaC expressions.
#define GINAC_DECLARE_UNARCHIVER(classname)
Helper macros to register a class with (un)archiving (a.k.a.
Interface to GiNaC's ABC.
This class stores all properties needed to record/retrieve the state of one object of class basic (or...
Lightweight wrapper for GiNaC's symbolic objects.
ex evalf() const override
Evaluate object numerically.
void do_print(const print_context &c, unsigned level) const
static ex relative_integration_error
ex expand(unsigned options=0) const override
Expand expression, i.e.
unsigned return_type() const override
int degree(const ex &s) const override
Return degree of highest power in object s.
ex eval() const override
Perform automatic non-interruptive term rewriting rules.
size_t nops() const override
Number of operands/members.
ex conjugate() const override
unsigned precedence() const override
Return relative operator precedence (for parenthezing output).
ex eval_integ() const override
Evaluate integrals, if result is known.
ex eval_ncmul(const exvector &v) const override
int ldegree(const ex &s) const override
Return degree of lowest power in object s.
void do_print_latex(const print_latex &c, unsigned level) const
integral(const ex &x_, const ex &a_, const ex &b_, const ex &f_)
ex & let_op(size_t i) override
Return modifiable operand/member at position i.
void read_archive(const archive_node &n, lst &syms) override
Read (a.k.a.
ex op(size_t i) const override
Return operand/member at position i.
exvector get_free_indices() const override
Return a vector containing the free indices of an expression.
void archive(archive_node &n) const override
Save (a.k.a.
return_type_t return_type_tinfo() const override
static int max_integration_level
ex series(const relational &r, int order, unsigned options=0) const override
Default implementation of ex::series().
ex derivative(const symbol &s) const override
Default implementation of ex::diff().
Base class for print_contexts.
Context for latex-parsable output.
This class holds a relation consisting of two expressions and a logical relation between them.
Interface to GiNaC's light-weight expression handles.
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...
container< std::list > lst
std::vector< ex > exvector
#define GINAC_DECLARE_REGISTERED_CLASS(classname, supername)
Macro for inclusion in the declaration of each registered class.
To distinguish between different kinds of non-commutative objects.