6 #ifndef SYMENGINE_SYMBOL_H
7 #define SYMENGINE_SYMBOL_H
47 RCP<const Symbol> as_dummy()
const;
75 size_t get_index()
const
84 return make_rcp<const Symbol>(name);
90 return make_rcp<const Dummy>();
95 return make_rcp<const Dummy>(name);
The base class for SymEngine.
#define IMPLEMENT_TYPEID(SYMENGINE_ID)
Inline members and functions.
The lowest unit of symbolic representation.
Dummy()
Dummy Constructors.
int compare(const Basic &o) const override
hash_t __hash__() const override
size_t dummy_index
Dummy index.
static size_t count_
Dummy count.
bool __eq__(const Basic &o) const override
const std::string & get_name() const
Symbol(const std::string &name)
Symbol Constructor.
bool __eq__(const Basic &o) const override
std::string name_
name of Symbol
int compare(const Basic &o) const override
hash_t __hash__() const override
vec_basic get_args() const override
Returns the list of arguments.
Main namespace for SymEngine package.
RCP< const Dummy > dummy()
inline version to return Dummy
RCP< const Symbol > symbol(const std::string &name)
inline version to return Symbol