linbox
1
|
Specialization of Modular to short element type with efficient dot product. More...
#include <modular-short.h>
Specialization of Modular to short 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.
Requires: modulus < 2^15. Intended use: 2^7 < prime modulus < 2^15.