1 #ifndef SYMENGINE_TUPLE_H
2 #define SYMENGINE_TUPLE_H
16 Tuple(
const vec_basic &container);
18 hash_t __hash__()
const override;
19 bool __eq__(
const Basic &o)
const override;
20 int compare(
const Basic &o)
const override;
21 static bool is_canonical(
const vec_basic &container);
25 return vec_basic(container_.begin(), container_.end());
29 SYMENGINE_EXPORT RCP<const Basic> tuple(
const vec_basic &arg);
The base class for SymEngine.
#define IMPLEMENT_TYPEID(SYMENGINE_ID)
Inline members and functions.
The lowest unit of symbolic representation.
vec_basic get_args() const override
Returns the list of arguments.
Main namespace for SymEngine package.