gtsam
4.0.0
gtsam

Cyclic group of order N.
Public Member Functions  
Cyclic (size_t i)  
Constructor.  
Cyclic ()  
Default constructor yields identity.  
operator size_t () const  
Cast to size_t.  
Cyclic  operator+ (const Cyclic &h) const 
Addition modulo N.  
Cyclic  operator (const Cyclic &h) const 
Subtraction modulo N.  
Cyclic  operator () const 
Inverse.  
void  print (const std::string &s="") const 
print with optional string  
bool  equals (const Cyclic &other, double tol=1e9) const 
equals with an tolerance, prints out message if unequal  
Static Public Member Functions  
static Cyclic  identity () 