|
FflasFfpack
|
#include <rns.h>
Public Types | |
| typedef RNS::Element | Element |
| typedef RNS::Element_ptr | Element_ptr |
| typedef RNS::ConstElement_ptr | ConstElement_ptr |
Public Member Functions | |
| RNSInteger (const RNS &myrns) | |
| template<typename T > | |
| RNSInteger (const T &F) | |
| const RNS & | rns () const |
| size_t | size () const |
| bool | isOne (const Element &x) const |
| bool | isMOne (const Element &x) const |
| bool | isZero (const Element &x) const |
| integer | characteristic (integer &p) const |
| integer | cardinality (integer &p) const |
| Element & | init (Element &x) const |
| Element & | init (Element &x, const Givaro::Integer &y) const |
| Element & | reduce (Element &x, const Element &y) const |
| Element & | reduce (Element &x) const |
| Givaro::Integer | convert (Givaro::Integer &x, const Element &y) const |
| Element & | assign (Element &x, const Element &y) const |
| std::ostream & | write (std::ostream &os, const Element &y) const |
| std::ostream & | write (std::ostream &os) const |
Data Fields | |
| Element | one |
| Element | mOne |
| Element | zero |
Protected Types | |
| typedef RNS::BasisElement | BasisElement |
| typedef Givaro::Integer | integer |
Protected Attributes | |
| const RNS * | _rns |
|
protected |
|
protected |
| typedef RNS::Element Element |
| typedef RNS::Element_ptr Element_ptr |
| typedef RNS::ConstElement_ptr ConstElement_ptr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
| Element one |
| Element mOne |
| Element zero |
1.8.8