Public Types | |
typedef vec_integer_class::const_iterator | iterator |
typedef vec_integer_class::const_reverse_iterator | reverse_iterator |
Public Types inherited from SymEngine::UNonExprPoly< Container, Poly, Cf > | |
typedef Cf | coef_type |
Public Types inherited from SymEngine::UPolyBase< Container, Poly > | |
typedef Container | container_type |
Public Member Functions | |
void | accept (Visitor &v) const override |
void | accept (EvalRealDoubleVisitorFinal &v) const override |
GaloisField (const RCP< const Basic > &var, GaloisFieldDict &&dict) | |
Constructor of GaloisField class. | |
bool | is_canonical (const GaloisFieldDict &dict) const |
hash_t | __hash__ () const override |
int | compare (const Basic &o) const override |
integer_class | eval (const integer_class &x) const override |
vec_integer_class | multieval (const vec_integer_class &v) const |
iterator | begin () const |
iterator | end () const |
reverse_iterator | obegin () const |
reverse_iterator | oend () const |
integer_class | get_coeff (unsigned int x) const override |
vec_basic | get_args () const override |
Returns the list of arguments. | |
const std::vector< integer_class > & | get_dict () const |
int | size () const override |
Public Member Functions inherited from SymEngine::UIntPolyBase< GaloisFieldDict, GaloisField > | |
UIntPolyBase (const RCP< const Basic > &var, GaloisFieldDict &&container) | |
RCP< const Basic > | as_symbolic () const |
Public Member Functions inherited from SymEngine::UNonExprPoly< Container, Poly, Cf > | |
UNonExprPoly (const RCP< const Basic > &var, Container &&container) | |
virtual Cf | eval (const Cf &x) const =0 |
std::vector< Cf > | multieval (const std::vector< Cf > &v) const |
int | get_degree () const |
Cf | get_lc () const |
Public Member Functions inherited from SymEngine::UPolyBase< Container, Poly > | |
UPolyBase (const RCP< const Basic > &var, Container &&container) | |
bool | __eq__ (const Basic &o) const override |
const RCP< const Basic > & | get_var () const |
const Container & | get_poly () const |
vec_basic | get_args () const override |
Returns the list of arguments. | |
Public Member Functions inherited from SymEngine::Basic | |
TypeID | get_type_code () const |
Basic () | |
Constructor. | |
Basic (const Basic &)=delete | |
Delete the copy constructor and assignment. | |
Basic & | operator= (const Basic &)=delete |
Assignment operator in continuation with above. | |
Basic (Basic &&)=delete | |
Delete the move constructor and assignment. | |
Basic & | operator= (Basic &&)=delete |
Assignment operator in continuation with above. | |
hash_t | hash () const |
bool | __neq__ (const Basic &o) const |
true if this is not equal to o . More... | |
int | __cmp__ (const Basic &o) const |
Comparison operator. | |
std::string | __str__ () const |
std::string | dumps () const |
Returns a string of the instance serialized. | |
RCP< const Basic > | subs (const map_basic_basic &subs_dict) const |
Substitutes 'subs_dict' into 'self'. | |
RCP< const Basic > | xreplace (const map_basic_basic &subs_dict) const |
virtual RCP< const Basic > | expand_as_exp () const |
expands the special function in terms of exp function | |
RCP< const Basic > | diff (const RCP< const Symbol > &x, bool cache=true) const |
Public Member Functions inherited from SymEngine::EnableRCPFromThis< Basic > | |
RCP< Basic > | rcp_from_this () |
Get RCP<T> pointer to self (it will cast the pointer to T) | |
RCP< const Basic > | rcp_from_this () const |
Get RCP<const T> pointer to self (it will cast the pointer to const T) | |
RCP< const T2 > | rcp_from_this_cast () const |
Get RCP<T2> pointer to self (it will cast the pointer to T2) | |
unsigned int | use_count () const |
Static Public Member Functions | |
static RCP< const GaloisField > | from_dict (const RCP< const Basic > &var, GaloisFieldDict &&d) |
static RCP< const GaloisField > | from_vec (const RCP< const Basic > &var, const std::vector< integer_class > &v, const integer_class &modulo) |
static RCP< const GaloisField > | from_uintpoly (const UIntPoly &a, const integer_class &modulo) |
Static Public Member Functions inherited from SymEngine::UNonExprPoly< Container, Poly, Cf > | |
static RCP< const Poly > | from_dict (const RCP< const Basic > &var, std::map< unsigned, Cf > &&d) |
Static Public Member Functions inherited from SymEngine::UPolyBase< Container, Poly > | |
static RCP< const Poly > | from_container (const RCP< const Basic > &var, Container &&d) |
Static Public Member Functions inherited from SymEngine::Basic | |
static RCP< const Basic > | loads (const std::string &) |
Creates an instance of a serialized string. | |
Static Public Attributes | |
static const TypeID | type_code_id = SYMENGINE_GALOISFIELD |
Additional Inherited Members | |
Data Fields inherited from SymEngine::Basic | |
TypeID | type_code_ |
|
overridevirtual |
Implements SymEngine::UPolyBase< Container, Poly >.
Definition at line 28 of file fields.cpp.
|
overridevirtual |
-1
,0
or 1
after comparing Implements SymEngine::UPolyBase< Container, Poly >.
Definition at line 41 of file fields.cpp.
bool SymEngine::GaloisField::is_canonical | ( | const GaloisFieldDict & | dict | ) | const |
Definition at line 17 of file fields.cpp.
|
static |