6 #ifndef SYMENGINE_NAN_H
7 #define SYMENGINE_NAN_H
27 hash_t __hash__()
const override;
33 bool __eq__(
const Basic &o)
const override;
34 int compare(
const Basic &o)
const override;
67 RCP<const Basic>
conjugate()
const override;
74 RCP<const Number>
add(
const Number &other)
const override;
75 RCP<const Number>
mul(
const Number &other)
const override;
76 RCP<const Number>
div(
const Number &other)
const override;
77 RCP<const Number> pow(
const Number &other)
const override;
78 RCP<const Number> rpow(
const Number &other)
const override;
The base class for SymEngine.
#define IMPLEMENT_TYPEID(SYMENGINE_ID)
Inline members and functions.
The lowest unit of symbolic representation.
A class that will evaluate functions numerically.
bool is_positive() const override
bool is_minus_one() const override
bool is_exact() const override
return true if the number is an exact representation
bool is_zero() const override
bool is_one() const override
bool is_complex() const override
bool is_negative() const override
Main namespace for SymEngine package.
RCP< const Basic > add(const RCP< const Basic > &a, const RCP< const Basic > &b)
Adds two objects (safely).
RCP< const Basic > conjugate(const RCP< const Basic > &arg)
Canonicalize Conjugate.
RCP< const Basic > mul(const RCP< const Basic > &a, const RCP< const Basic > &b)
Multiplication.
RCP< const Basic > div(const RCP< const Basic > &a, const RCP< const Basic > &b)
Division.