Modular square roots.
More...
#include <givintsqrootmod.h>
|
|
bool | set (Container1 &setint, Container2 &setpwd, const Rep &a, unsigned long loops=0) const |
| | Factors with primes.
|
|
bool | isUnit (const Rep &x) const |
| | isUnit
|
|
bool | isDivisor (const Element &a, const Element &b) const |
| | isDivisor (a, b) Test if b | a.
|
| 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.
|
first argument is set and the value is also returned.
|
template<class MyRandIter = GivRandom>
class Givaro::IntSqrtModDom< MyRandIter >
Modular square roots.
- Examples
- examples/Integer/ModularSquareRoot.C.
◆ write() [1/2]
| std::ostream & write |
( |
std::ostream & | os, |
|
|
std::string | F ) const |
|
inlineinherited |
Read field.
- Returns
- input stream from which field is read.
- Parameters
-
| is | input stream from which field is read. |
◆ write() [2/2]
| std::ostream & write |
( |
std::ostream & | os, |
|
|
const Element & | x ) const |
|
inlineinherited |
Print field element.
- Returns
- output stream to which field element is written.
- Parameters
-
| os | output stream to which field element is written. |
| x | field element. |
◆ read() [1/2]
| std::istream & read |
( |
std::istream & | is | ) |
const |
|
inlineinherited |
Read field.
- Returns
- input stream from which field is read.
- Parameters
-
| is | input stream from which field is read. |
◆ read() [2/2]
| virtual std::istream & read |
( |
std::istream & | is, |
|
|
Element & | x ) const |
|
inlinevirtualinherited |
Read field element.
- Returns
- input stream from which field element is read.
- Parameters
-
| is | input stream from which field element is read. |
| x | field element. |
The documentation for this class was generated from the following files: