Class Contains

Inheritance Relationships

Base Type

Class Documentation

class SymEngine::Contains : public SymEngine::Boolean

Public Functions

Contains(const RCP<const Basic> &expr, const RCP<const Set> &set)

Constructor.

hash_t __hash__() const

Calculates the hash of the given SymEngine class. Use Basic.hash() which gives a cached version of the hash.

Return

64-bit integer value for the hash

RCP<const Basic> get_expr() const
RCP<const Set> get_set() const
vec_basic get_args() const

Returns the list of arguments.

bool __eq__(const Basic &o) const

true if this is equal to o. Deprecated: Use eq(const Basic &a, const Basic &b) non-member method

RCP<const Basic> create(const RCP<const Basic> &lhs, const RCP<const Set> &rhs) const
int compare(const Basic &o) const

Structural equality comparator.