23 #ifndef GINAC_RELATIONAL_H 24 #define GINAC_RELATIONAL_H 56 bool info(
unsigned inf)
const override;
57 size_t nops()
const override;
58 ex op(
size_t i)
const override;
119 #endif // ndef GINAC_RELATIONAL_H size_t nops() const override
Number of operands/members.
unsigned return_type() const override
unsigned calchash() const override
Compute the hash value of an object and if it makes sense to store it in the objects status_flags...
void read_archive(const archive_node &n, lst &syms) override
Read (a.k.a.
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.
Context for python-parsable output.
ex eval_ncmul(const exvector &v) const override
ex subs(const exmap &m, unsigned options=0) const override
Substitute a set of objects by arbitrary expressions.
safe_bool make_safe_bool(bool) const
void(safe_bool_helper::* safe_bool)()
relational(const ex &lhs, const ex &rhs, operators oper=equal)
To distinguish between different kinds of non-commutative objects.
unsigned precedence() const override
Return relative operator precedence (for parenthezing output).
std::vector< ex > exvector
std::map< ex, ex, ex_is_less > exmap
safe_bool operator!() const
Function object for map().
Interface to GiNaC's light-weight expression handles.
Base class for print_contexts.
void archive(archive_node &n) const override
Save (a.k.a.
bool match_same_type(const basic &other) const override
Returns true if the attributes of two objects are similar enough for a match.
Interface to GiNaC's ABC.
void do_print_python_repr(const print_python_repr &c, unsigned level) const
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 op(size_t i) const override
Return operand/member at position i.
void do_print(const print_context &c, unsigned level) const
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.
GINAC_DECLARE_UNARCHIVER(add)
ex map(map_function &f) const override
Construct new expression by applying the specified function to all sub-expressions (one level only...
bool info(unsigned inf) const override
Information about the object.
return_type_t return_type_tinfo() const override