linbox  1
Modular< int32 > Class Template Reference

Specialization of Modular to int32 element type with efficient dot product. More...

#include <modular-int32.h>

Inheritance diagram for Modular< int32 >:
FieldInterface FieldInterface

List of all members.


Detailed Description

template<>
class LinBox::Modular< int32 >

Specialization of Modular to int32 element type with efficient dot product.

Efficient element operations for dot product, mul, axpy, by using floating point inverse of modulus (borrowed from NTL) and some use of non-normalized intermediate values.

For some uses this is the most efficient field for primes in the range from half word to 2^30.

Requires: Modulus < 2^30. Intended use: 2^15 < prime modulus < 2^30.


The documentation for this class was generated from the following files: