Crypto++  5.6.3
Free C++ class library of cryptographic schemes
Public Types | Public Member Functions | List of all members
QuotientRing< T > Class Template Reference

Quotient Ring. More...

+ Inheritance diagram for QuotientRing< T >:

Public Types

typedef T EuclideanDomain
 
typedef T::Element Element
 
- Public Types inherited from AbstractRing< T::Element >
typedef T Element
 
- Public Types inherited from AbstractGroup< T >
typedef T Element
 

Public Member Functions

 QuotientRing (const EuclideanDomain &domain, const Element &modulus)
 
const EuclideanDomain & GetDomain () const
 
const Element & GetModulus () const
 
bool Equal (const Element &a, const Element &b) const
 
const Element & Identity () const
 
const Element & Add (const Element &a, const Element &b) const
 
Element & Accumulate (Element &a, const Element &b) const
 
const Element & Inverse (const Element &a) const
 
const Element & Subtract (const Element &a, const Element &b) const
 
Element & Reduce (Element &a, const Element &b) const
 
const Element & Double (const Element &a) const
 
bool IsUnit (const Element &a) const
 
const Element & MultiplicativeIdentity () const
 
const Element & Multiply (const Element &a, const Element &b) const
 
const Element & Square (const Element &a) const
 
const Element & MultiplicativeInverse (const Element &a) const
 
bool operator== (const QuotientRing< T > &rhs) const
 
- Public Member Functions inherited from AbstractRing< T::Element >
 AbstractRing (const AbstractRing &source)
 
AbstractRingoperator= (const AbstractRing &source)
 
virtual const Element & Divide (const Element &a, const Element &b) const
 
virtual Element Exponentiate (const Element &a, const Integer &e) const
 
virtual Element CascadeExponentiate (const Element &x, const Integer &e1, const Element &y, const Integer &e2) const
 
virtual void SimultaneousExponentiate (Element *results, const Element &base, const Integer *exponents, unsigned int exponentsCount) const
 
virtual const AbstractGroup< T > & MultiplicativeGroup () const
 
- Public Member Functions inherited from AbstractGroup< T >
virtual bool InversionIsFast () const
 
virtual Element ScalarMultiply (const Element &a, const Integer &e) const
 
virtual Element CascadeScalarMultiply (const Element &x, const Integer &e1, const Element &y, const Integer &e2) const
 
virtual void SimultaneousMultiply (Element *results, const Element &base, const Integer *exponents, unsigned int exponentsCount) const
 

Detailed Description

template<class T>
class QuotientRing< T >

Quotient Ring.

Definition at line 228 of file algebra.h.


The documentation for this class was generated from the following files: