|
|
bool | isUnit (const Rep &x) const |
| | isUnit
|
|
bool | isDivisor (const Element &a, const Element &b) const |
| | isDivisor (a, b) Test if b | a.
|
first argument is set and the value is also returned.
|
| std::ostream & | write (std::ostream &os, std::string F) const |
| | Read field.
|
| std::ostream & | write (std::ostream &os, const Element &x) const |
| | Print field element.
|
| std::istream & | read (std::istream &is) const |
| | Read field.
|
| virtual std::istream & | read (std::istream &is, Element &x) const |
| | Read field element.
|
| std::ostream & | write (std::ostream &os, const Integer &x) const |
| | Print field element.
|
| std::istream & | read (std::istream &is) const |
| | Read field.
|
| virtual std::istream & | read (std::istream &is, Integer &x) const |
| | Read field element.
|
|
bool | areEqual (const Integer &x, const Integer &y) const |
| | x == y
|
The first argument is set and is also the return value.
|
|
Integer & | add (Integer &x, const Integer &y, const Integer &z) const |
| | x := y + z
|
|
Integer & | sub (Integer &x, const Integer &y, const Integer &z) const |
| | x := y - z
|
|
Integer & | mul (Integer &x, const Integer &y, const Integer &z) const |
| | x := y*z
|
|
Integer & | div (Integer &x, const Integer &y, const Integer &z) const |
| | x := y/z
|
|
Integer & | mod (Integer &x, const Integer &y, const Integer &z) const |
| | x := y mod z
|
|
Integer & | neg (Integer &x, const Integer &y) const |
| | x := -y
|
|
Integer & | inv (Integer &x, const Integer &y) const |
| | x := 1/y
|
|
Integer & | axpy (Integer &z, const Integer &a, const Integer &x, const Integer &y) const |
| | z := a*x + y
|
|
Integer & | axpyin (Integer &z, const Integer &a, const Integer &x) const |
| | z := a*x + z
|
|
Integer & | axmy (Integer &z, const Integer &a, const Integer &x, const Integer &y) const |
| | z := a*x - y
|
|
Integer & | axmyin (Integer &z, const Integer &a, const Integer &x) const |
| | z := a*x - z
|
|
Integer & | maxpy (Integer &z, const Integer &a, const Integer &x, const Integer &y) const |
| | z := y - a*x
|
|
Integer & | maxpyin (Integer &z, const Integer &a, const Integer &x) const |
| | z := z - a*x
|
The first argument is modified and the result is the return value.
|
|
Integer & | addin (Integer &x, const Integer &y) const |
| | x := x + y
|
|
Integer & | subin (Integer &x, const Integer &y) const |
| | x := x - y
|
|
Integer & | mulin (Integer &x, const Integer &y) const |
| | x := x*y
|
|
Integer & | divin (Integer &x, const Integer &y) const |
| | x := x/y
|
|
Integer & | modin (Integer &x, const Integer &y) const |
| | x := x mod y
|
|
Integer & | negin (Integer &x) const |
| | x := -x
|
|
Integer & | invin (Integer &x) const |
| | x := 1/x
|
Integer Domain, Specialization of ZRing.