#include <givaro-zpz.h>
Inheritance diagram for GivaroZpz:
Public Types | |
typedef ZpzDom< TAG >::Rep | Element |
typedef GIV_randIter< ZpzDom< TAG >, integer > | RandIter |
Public Methods | |
GivaroZpz (const integer &p) | |
GivaroZpz (const integer &p, const integer &k) | |
GivaroZpz (const GivaroZpz< TAG > &F) | |
integer & | characteristic (integer &c) const |
long | characteristic () const |
integer & | cardinality (integer &c) const |
integer & | convert (integer &x, const Element &y) const |
double & | convert (double &x, const Element &y) const |
Element & | init (Element &x, const integer &y=0) const |
Element & | init (Element &x, const double &y) const |
Static Public Methods | |
int | getMaxModulus () |
|
Element type. This type is inherited from the Givaro class ZpzDom<TAG> |
|
RandIter type This type is inherited from the Givaro class ZpzDom<TAG> |
|
Constructor from an integer this constructor use the ZpzDom<TAG> constructor |
|
Constructor from an integer (takes degree of extension as 2nd parameter, must be 1) this constructor use the ZpzDom<TAG> constructor |
|
Copy constructor This copy constructor use the ZpzDom<TAG> copy constructor |
|
Cardinality. Return integer representing cardinality of the domain.
|
|
|
|
Characteristic. Return integer representing characteristic of the domain.
|
|
|
|
Conversion of field base element to an integer. This function assumes the output field base element x has already been constructed, but that it is not already initialized.
|
|
|
|
|
|
Initialization of field base element from an integer. Behaves like C++ allocator construct. This function assumes the output field base element x has already been constructed, but that it is not already initialized.
|