linbox
Fields <!--for oldref Fields...-->

Base for prime fields where the elements are represented by various primitive types (and their operations). More...

Base for prime fields where the elements are represented by various primitive types (and their operations).

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> Modular<long long> for integers modulo a wordsize prime, etc. for integers modulo a half-wordsize prime.