SymEngine::ODictWrapper< Key, Value, Wrapper > Class Template Reference
+ Collaboration diagram for SymEngine::ODictWrapper< Key, Value, Wrapper >:

Public Types

typedef Key key_type
 

Public Member Functions

 ODictWrapper (const int &i)
 
 ODictWrapper (const std::map< Key, Value > &p)
 
 ODictWrapper (std::map< Key, Value > &&p)
 
 ODictWrapper (const Value &p)
 
 ODictWrapper (std::string s)
 
Wrapper & operator= (Wrapper &&other) SYMENGINE_NOEXCEPT
 
Wrapper & operator+= (const Wrapper &other)
 
Wrapper operator- () const
 
Wrapper & operator-= (const Wrapper &other)
 
Wrapper & operator*= (const Wrapper &other)
 
bool operator!= (const Wrapper &other) const
 
const std::map< Key, Value > & get_dict () const
 
size_t size () const
 
bool empty () const
 
Key degree () const
 
Value get_coeff (Key x) const
 
Value get_lc () const
 

Static Public Member Functions

static Wrapper from_vec (const std::vector< Value > &v)
 
static Wrapper mul (const Wrapper &a, const Wrapper &b)
 
static Wrapper pow (const Wrapper &a, unsigned int p)
 
template<typename FromPoly >
static Wrapper from_poly (const FromPoly &p)
 

Data Fields

std::map< Key, Value > dict_
 

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)
 
bool operator== (const Wrapper &a, const Wrapper &b)
 

Detailed Description

template<typename Key, typename Value, typename Wrapper>
class SymEngine::ODictWrapper< Key, Value, Wrapper >

Definition at line 104 of file upolybase.h.


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