#include <element-givaro.h>
template<class Field>
class F4::ElementGivaro< Field >
Represent an element of a prime field with zech logarithm tables, this class is a POD (Plain Old Data) because of the alignement required in class Matrix.
- Examples:
- tutorial-big-modulo-method3.cpp.
Set this+=(mult*element).
- Parameters
-
element | Element of the prime field. |
mult | Element of the prime field. |
- Returns
- this.
Inverse this according to the base field.
- Precondition
- The static variable F must be set beforehand.
- Returns
- this.
Test if this is one (neutral multiplicative element).
- Returns
- true if this==one.
-
false otherwise.
Test if this is nul.
- Returns
- true if this==zero.
-
false otherwise.
Overload the operator *=.
- Precondition
- The static variable F must be set beforehand.
- Parameters
-
element | Element of a prime field. |
- Returns
- Reference on this.
Overload the operator -.
- Precondition
- The static variable F must be set beforehand.
- Parameters
-
element | Element of a prime field. |
- Postcondition
- This is set to -element.
- Returns
- Reference on this.
Overload the operator =.
- Precondition
- The static variable F must be set beforehand.
- Parameters
-
element | Element of a prime field. |
- Returns
- Reference on this.
Overload the operator =.
- Precondition
- The static variable F must be set beforehand.
- Parameters
-
element | Integer representing an element of a prime field. |
- Returns
- Reference on this.
Overload the operator =.
- Precondition
- The static variable F must be set beforehand.
- Parameters
-
element | Integer representing an element of a prime field. |
- Returns
- Reference on this.
Overload the operator =.
- Precondition
- The static variable F must be set beforehand.
- Parameters
-
element | Big integer (gmp) under string representation. |
- Returns
- Reference on this.
Set the base field.
- Parameters
-
field | Givaro modular-log base field. |
Represent an element of the field of characteristic MODULO
The documentation for this class was generated from the following file: