Class Xor¶
Defined in File logic.h
Inheritance Relationships¶
Base Type¶
public SymEngine::Boolean(Class Boolean)
Class Documentation¶
-
class
SymEngine::Xor: public SymEngine::Boolean¶ Public Functions
-
Xor(const vec_boolean &s)¶
-
bool
is_canonical(const vec_boolean &container_)¶
-
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
thisis 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+zinto canonical order. This function assumes thatois the same type asthis. Use__cmp__if you want general comparison.
-
const vec_boolean &
get_container() const¶
-