(optimized) implementation of a finite field F_q and finite ring F_q[epsilon] template for small characteristic.
More...
#include "fastNumber.h"
#include "CompileFunctions.h"
#include <math.h>
#include <cstdlib>
#include <exception>
#include <new>
Go to the source code of this file.
Classes | |
class | fast_Ring< TNum, kdefs > |
Implements some fast basic operations for elemens of a ring F_q[epsilon] or field F_q with small characteristic; For all operations the user must be sure that the operators are regular represantants of ring elements, in doubt by calling the Convert() function. Currently all represantant values must lie between 0 and (characteristic-1). Allowed 'eps' precisions are 0 (is a field) and 1 (is a ring) Parametrized with element Type (TNum) and characteristic of the field the ring is based on during compile time. More... | |
struct | fast_Ring< TNum, kdefs >::sqrtInf |
Characteristic of the field/ring may be defined at compile time. TODO Ring mit Characteristic = 0!
Definition in file fast_Ring.h.