23 #ifndef GINAC_FDERIVATIVE_H 24 #define GINAC_FDERIVATIVE_H 91 #endif // ndef GINAC_DERIVATIVE_H Interface to class of symbolic functions.
This class represents the (abstract) derivative of a symbolic function.
void do_print(const print_context &c, unsigned level) const
void archive(archive_node &n) const override
Archive the object.
This class holds a relation consisting of two expressions and a logical relation between them...
ex thiscontainer(const exvector &v) const override
ex eval() const override
Perform automatic non-interruptive term rewriting rules.
void read_archive(const archive_node &n, lst &syms) override
Load (deserialize) the object from an archive node.
This class is the ABC (abstract base class) of GiNaC's class hierarchy.
void do_print_csrc(const print_csrc &c, unsigned level) const
const paramset & derivatives() const
Expose this object's derivative structure.
std::multiset< unsigned > paramset
void do_print_latex(const print_context &c, unsigned level) const
ex derivative(const symbol &s) const override
Implementation of ex::diff() for derivatives.
std::vector< ex > exvector
fderivative(unsigned ser, unsigned param, const exvector &args)
Construct derivative with respect to one parameter.
bool is_equal_same_type(const basic &other) const override
Returns true if two objects of same type are equal.
Base class for print_contexts.
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.
void print(const print_context &c, unsigned level=0) const override
Output to stream.
ex series(const relational &r, int order, unsigned options=0) const override
The series expansion of derivatives falls back to Taylor expansion.
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.
Base context for C source output.
paramset parameter_set
Set of parameter numbers with respect to which to take the derivative.
GINAC_DECLARE_UNARCHIVER(add)
bool match_same_type(const basic &other) const override
Returns true if the attributes of two objects are similar enough for a match.
The class function is used to implement builtin functions like sin, cos...
void do_print_tree(const print_tree &c, unsigned level) const
Context for tree-like output for debugging.