linbox
1
|
Prime fields of positive characteristic implemented directly in LinBox. More...
#include <modular.h>
Inherits ModularBase< _Element >.
Public Member Functions | |
ModularBase | |
Base for prime fields where the elements are represented by various primitive types (and their operations). Normally use it's children. This class is of interest for the developer of a new field representation. This parameterized field can be used to construct any prime field. Typical use would be Modular<integer> for integers modulo a large prime, Modular<long, long long> for integers modulo a wordsize prime, etc. for integers modulo a half-wordsize prime. | |
template<> | |
integer & | init (integer &x, const double &y) const |
![]() | |
template<> | |
std::ostream & | write (std::ostream &os) const |
Additional Inherited Members | |
![]() | |
Element | _modulus |
Private (non-static) element for modulus. |
Prime fields of positive characteristic implemented directly in LinBox.
This parameterized field can be used to construct prime fields. Typical use would be Modular<integer> for integers modulo a large prime, Modular<uint32>, modular<int>, or modular<double> for integers modulo a wordsize * prime. Each of those has specialized performance features suitable to certain applications.