Class Subs¶
Defined in File functions.h
Inheritance Relationships¶
Base Type¶
public SymEngine::Basic
(Class Basic)
Class Documentation¶
-
class
SymEngine
::
Subs
: public SymEngine::Basic¶ Subs operator Subs(f, {x1 : x2, y1: y2, …}) represents
f
after substitutingx1
withx2
,y1
withy2
, and so on.Public Functions
-
Subs
(const RCP<const Basic> &arg, const map_basic_basic &x)¶
-
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
-
bool
__eq__
(const Basic &o) const¶ true if
this
is equal too
. Deprecated: Use eq(const Basic &a, const Basic &b) non-member method
-
int
compare
(const Basic &o) const¶ Returns -1, 0, 1 for
this < o, this == o, this > o
. This method is used when you want to sort things likex+y+z
into canonical order. This function assumes thato
is the same type asthis
. Use__cmp__
if you want general comparison.
-
const map_basic_basic &
get_dict
() const¶
-
bool
is_canonical
(const RCP<const Basic> &arg, const map_basic_basic &x) const¶
Public Static Functions
-
RCP<const Subs>
create
(const RCP<const Basic> &arg, const map_basic_basic &x)¶
-