psubgroup.hpp
Go to the documentation of this file.
1 
12 #ifndef _PSUBGROUP_H_
13 #define _PSUBGROUP_H_
14 
15 
16 #include "../group/group.hpp"
17 
18 
19 namespace arithm {
20 
21 
26 class PSubGroup : public Group
27 {
28 protected:
33 
37  mpz_class coOrder;
38 public:
46  PSubGroup(Group * bgrp, mpz_class order, mpz_class gen);
47 
48  Elmt multiplication(Elmt e1, Elmt e2);
51 
52  unsigned int getLeafSize();
57  bool isIn(mpz_class r);
58 
59  std::string getType();
60 };
61 
62 } // closing namespace
63 
64 
65 #endif