modfield.hpp
Go to the documentation of this file.
1 
12 #ifndef _MODFIELD_H_
13 #define _MODFIELD_H_
14 
15 #include "../field/field.hpp"
16 
17 
18 namespace arithm {
19 
20 
25 class ModField : public Field
26 {
27 public:
33  ModField(mpz_class order);
34 
35  Elmt multiplication(Elmt e1, Elmt e2);
38  Elmt addition(Elmt e1, Elmt e2);
39  Elmt addInverse(Elmt e);
40  std::string getType();
41 };
42 
43 } // closing namespace
44 
45 #endif