SymEngine::UDictWrapper< Vec, Value, Wrapper > Class Template Reference
+ Collaboration diagram for SymEngine::UDictWrapper< Vec, Value, Wrapper >:

Public Types

using Dict = std::unordered_map< Vec, Value, vec_hash< Vec > >
 
typedef Vec vec_type
 
typedef Value coef_type
 
typedef Dict dict_type
 

Public Member Functions

 UDictWrapper (unsigned int s) SYMENGINE_NOEXCEPT
 
 UDictWrapper (Dict &&p, unsigned int sz)
 
 UDictWrapper (const Dict &p, unsigned int sz)
 
Wrapper & operator= (Wrapper &&other)
 
Wrapper & operator+= (const Wrapper &other)
 
Wrapper operator- () const
 
Wrapper & operator-= (const Wrapper &other)
 
Wrapper & operator*= (const Wrapper &other)
 
bool operator== (const Wrapper &other) const
 
bool operator!= (const Wrapper &other) const
 
const Dictget_dict () const
 
bool empty () const
 
Value get_coeff (Vec &x) const
 
Wrapper translate (const vec_uint &translator, unsigned int size) const
 

Static Public Member Functions

static Wrapper mul (const Wrapper &a, const Wrapper &b)
 
static Wrapper pow (const Wrapper &a, unsigned int p)
 

Data Fields

Dict dict_
 
unsigned int vec_size
 

Friends

Wrapper operator+ (const Wrapper &a, const Wrapper &b)
 
Wrapper operator- (const Wrapper &a, const Wrapper &b)
 
Wrapper operator* (const Wrapper &a, const Wrapper &b)
 

Detailed Description

template<typename Vec, typename Value, typename Wrapper>
class SymEngine::UDictWrapper< Vec, Value, Wrapper >

Definition at line 14 of file msymenginepoly.h.


The documentation for this class was generated from the following file: