Basic Polynomial Algebra Subprograms (BPAS)  v. 1.791
BPASFiniteField.hpp
1 
2 #ifndef _BPAS_FINITE_FIELD_H_
3 #define _BPAS_FINITE_FIELD_H_
4 
5 #include "../Ring/BPASField.hpp"
6 
7 /**
8  * An abstract class defining the interface of a prime field.
9  * See SmallPrimeField, BigPrimeField, GeneralizedFermatPrimeField.
10  */
11 template<class Derived>
12 class BPASFiniteField : public virtual BPASField<Derived> {
13 
14 public:
15 
16  virtual Derived findPrimitiveRootOfUnity(long int) const = 0;
17 };
18 
19 
20 #endif
An abstract class defining the interface of a field.
Definition: BPASField.hpp:11
An abstract class defining the interface of a prime field.
Definition: BPASFiniteField.hpp:12