Inherits LatBuilder::Traversal::Policy< CyclicGroup< LatticeType::ORDINARY, COMPRESS, TRAV, ORDER >, TRAV >.
|
| CyclicGroup (Traversal trav=Traversal()) |
| Constructor for an empty group.
|
|
| CyclicGroup (Modulus base, Level power, Traversal trav=Traversal()) |
| Constructor for the cyclic group of integers modulo \(b^m\), where \(b\) is a prime base. More...
|
|
template<class TRAV2 > |
| CyclicGroup (const CyclicGroup< LatticeType::ORDINARY, COMPRESS, TRAV2, ORDER > &other, Traversal trav=Traversal()) |
| Cross-traversal copy-constructor.
|
|
template<class TRAV2 > |
RebindTraversal< TRAV2 >::Type | rebind (TRAV2 trav) const |
| Returns a copy of this object, but using a different traversal policy.
|
|
Modulus | base () const |
| Returns the base of the group modulus.
|
|
Level | power () const |
| Returns the power of the base of the group modulus.
|
|
size_type | fullSize () const |
| Returns the cardinality of the full group. More...
|
|
size_type | size () const |
| Returns the cardinality of the group part specified by COMPRESS .
|
|
Modulus | modulus () const |
| Returns the modulus \(b^m\) of the cyclic group.
|
|
value_type | generator () const |
| Returns the generator \(g\) for the group.
|
|
value_type | operator[] (size_type i) const |
| Returns the element at index i .
|
|
CyclicGroup< LatticeType::ORDINARY, COMPRESS, TRAV, !ORDER > | inverse () const |
| Returns the group generated by the inverse generator.
|
|
CyclicGroup | subgroup (Level level) const |
| Returns the subgroup at level level .
|
|
template<Compress COMPRESS, class TRAV , GroupOrder ORDER> |
| CyclicGroup (const CyclicGroup< LatticeType::ORDINARY, COMPRESS, TRAV, ORDER > &other, Level level) |
|
|
template<LatticeType , LatBuilder::Compress , class , GroupOrder > |
class | CyclicGroup |
|
class | CyclicGroup< LatticeType::ORDINARY, COMPRESS, TRAV, !ORDER > |
|
◆ CyclicGroup()
template<Compress COMPRESS, class TRAV , GroupOrder ORDER>
Constructor for the cyclic group of integers modulo \(b^m\), where \(b\) is a prime base.
- Parameters
-
base | Prime base \(b\). |
power | Power \(m\) of the base. |
trav | Traversal instance. |
References LatBuilder::intPow().
◆ fullSize()
template<Compress COMPRESS, class TRAV , GroupOrder ORDER>
Returns the cardinality of the full group.
◆ smallestGenerator()
template<Compress COMPRESS, class TRAV , GroupOrder ORDER>
The documentation for this class was generated from the following file:
- include/latbuilder/GenSeq/CyclicGroup-OLR.h