|
| UnparametricField (const UnparametricField &F) |
| construct this field as copy of F. More...
|
|
unsigned long & | cardinality (unsigned long &c) const |
|
unsigned long & | characteristic (unsigned long &c) const |
|
unsigned long | cardinality () const |
|
unsigned long | characteristic () const |
|
UnparametricField< Element > | operator= (const UnparametricField< Element >) |
|
template<typename Src > |
Element & | init (Element &x, const Src &s) const |
| x := y. Caution: it is via cast to long. Good candidate for specialization. More...
|
|
template<typename T > |
T & | convert (T &x, const Element &y) const |
| x := y. Caution: it is via cast to long. Good candidate for specialization. –dpritcha More...
|
|
|
| UnparametricField (long int q=0, size_t e=1) |
| Builds this field to have characteristic q and cardinality qe. More...
|
|
|
first argument is set and the value is also returned.
|
Element & | init (Element &x) const |
|
Element & | assign (Element &x, const Element &y) const |
|
|
bool | areEqual (const Element &x, const Element &y) const |
| x == y More...
|
|
bool | isZero (const Element &x) const |
| x == 0 More...
|
|
bool | isOne (const Element &x) const |
| x == 1 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 & | 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...
|
|
|
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 & | negin (Element &x) const |
| x := -x More...
|
|
Element & | invin (Element &x) const |
| x := 1/x More...
|
|
Element & | axpyin (Element &y, const Element &a, const Element &x) const |
| y := a*x + y More...
|
|
|
std::ostream & | write (std::ostream &os) const |
| Print field. More...
|
|
std::ostream & | write (std::ostream &os, const Element &x) const |
| Print field element. More...
|
|
std::istream & | read (std::istream &is) const |
| Read field. More...
|
|
std::istream & | read (std::istream &is, Element &x) const |
| Read field element. More...
|
|