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

Abstract Ring. More...

+ Inheritance diagram for AbstractRing< T >:

Public Types

typedef T Element
 
- Public Types inherited from AbstractGroup< T >
typedef T Element
 

Public Member Functions

 AbstractRing (const AbstractRing &source)
 
AbstractRingoperator= (const AbstractRing &source)
 
virtual bool IsUnit (const Element &a) const =0
 
virtual const Element & MultiplicativeIdentity () const =0
 
virtual const Element & Multiply (const Element &a, const Element &b) const =0
 
virtual const Element & MultiplicativeInverse (const Element &a) const =0
 
virtual const Element & Square (const Element &a) const
 
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 Equal (const Element &a, const Element &b) const =0
 
virtual const Element & Identity () const =0
 
virtual const Element & Add (const Element &a, const Element &b) const =0
 
virtual const Element & Inverse (const Element &a) const =0
 
virtual bool InversionIsFast () const
 
virtual const Element & Double (const Element &a) const
 
virtual const Element & Subtract (const Element &a, const Element &b) const
 
virtual Element & Accumulate (Element &a, const Element &b) const
 
virtual Element & Reduce (Element &a, const Element &b) 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 AbstractRing< T >

Abstract Ring.

Definition at line 52 of file algebra.h.


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