|
| UnparametricZRing () |
|
| UnparametricZRing (const UnparametricZRing &F) |
|
template<class T > |
| UnparametricZRing (const T &) |
|
Residu_t | residu () const |
|
Residu_t | size () const |
|
Residu_t | cardinality () const |
|
Residu_t | characteristic () const |
|
template<typename T > |
T & | cardinality (T &c) const |
|
template<typename T > |
T & | characteristic (T &c) const |
|
bool | operator== (const Self_t &F) const |
|
bool | operator!= (const Self_t &F) const |
|
UnparametricZRing< Element > & | operator= (const UnparametricZRing< Element > &) |
|
bool | isZero (const Element &a) const |
|
bool | isOne (const Element &a) const |
|
bool | isMOne (const Element &a) const |
|
bool | isUnit (const Element &a) const |
|
Element & | abs (Element &x, const Element &a) const |
|
Element | abs (const Element &a) const |
|
long | compare (const Element &a, const Element &b) const |
|
Element & | init (Element &x) const |
|
template<typename T > |
Element & | init (Element &x, const T &s) const |
|
Element & | assign (Element &x, const Element &y) const |
|
template<typename T > |
T & | convert (T &x, const Element &y) const |
|
Element & | reduce (Element &x, const Element &y) const |
|
Element & | reduce (Element &x) const |
|
Element | minElement () const |
|
Element | maxElement () const |
|
template<class Random > |
Element & | random (const Random &g, Element &r) const |
|
template<class Random > |
Element & | nonzerorandom (const Random &g, Element &a) const |
|
std::ostream & | write (std::ostream &os) const |
| Print field. More...
|
|
std::ostream & | write (std::ostream &os, const Element &a) const |
| Print field element. More...
|
|
std::istream & | read (std::istream &is, Element &a) const |
| Read field element. More...
|
|
|
bool | areEqual (const Element &x, const Element &y) const |
| x == y More...
|
|
|
The first argument is set and is also the return value.
|
Element & | add (Element &x, const Element &y, const Element &z) const |
| x := y + z More...
|
|
Element & | sub (Element &x, const Element &y, const Element &z) const |
| x := y - z More...
|
|
Element & | mul (Element &x, const Element &y, const Element &z) const |
| x := y*z More...
|
|
Element & | div (Element &x, const Element &y, const Element &z) const |
| x := y/z More...
|
|
Element & | mod (Element &x, const Element &y, const Element &z) const |
| x := y mod z More...
|
|
Element & | neg (Element &x, const Element &y) const |
| x := -y More...
|
|
Element & | inv (Element &x, const Element &y) const |
| x := 1/y More...
|
|
Element & | axpy (Element &z, const Element &a, const Element &x, const Element &y) const |
| z := a*x + y More...
|
|
Element & | axpyin (Element &z, const Element &a, const Element &x) const |
| z := a*x + z More...
|
|
Element & | axmy (Element &z, const Element &a, const Element &x, const Element &y) const |
| z := a*x - y More...
|
|
Element & | axmyin (Element &z, const Element &a, const Element &x) const |
| z := a*x - z More...
|
|
Element & | maxpy (Element &z, const Element &a, const Element &x, const Element &y) const |
| z := y - a*x More...
|
|
Element & | maxpyin (Element &z, const Element &a, const Element &x) const |
| z := z - a*x More...
|
|
|
The first argument is modified and the result is the return value.
|
Element & | addin (Element &x, const Element &y) const |
| x := x + y More...
|
|
Element & | subin (Element &x, const Element &y) const |
| x := x - y More...
|
|
Element & | mulin (Element &x, const Element &y) const |
| x := x*y More...
|
|
Element & | divin (Element &x, const Element &y) const |
| x := x/y More...
|
|
Element & | modin (Element &x, const Element &y) const |
| x := x mod y More...
|
|
Element & | negin (Element &x) const |
| x := -x More...
|
|
Element & | invin (Element &x) const |
| x := 1/x More...
|
|
|
std::ostream & | write (std::ostream &os, std::string F) const |
| Read field. More...
|
|
std::istream & | read (std::istream &is) const |
| Read field. More...
|
|
template<class _Element>
class Givaro::UnparametricZRing< _Element >
Generic Class ZRing.
Ring of integers, using the unparametric _Element base type. Provide unparametric with domain features ZRing<Element> is a sugar name for UnparametricZRing<Element> Also, there is a specialization, below, for ZRing<Integer>