QuotientRing< T > Class Template Reference

#include <algebra.h>

Inheritance diagram for QuotientRing< T >:

AbstractRing< T::Element > AbstractGroup< T::Element > List of all members.

Detailed Description

template<class T>
class QuotientRing< T >

Quotient Ring.

Definition at line 218 of file algebra.h.

Public Types

typedef T EuclideanDomain
typedef T::Element Element

Public Member Functions

 QuotientRing (const EuclideanDomain &domain, const Element &modulus)
const EuclideanDomainGetDomain () const
const ElementGetModulus () const
bool Equal (const Element &a, const Element &b) const
const ElementIdentity () const
const ElementAdd (const Element &a, const Element &b) const
ElementAccumulate (Element &a, const Element &b) const
const ElementInverse (const Element &a) const
const ElementSubtract (const Element &a, const Element &b) const
ElementReduce (Element &a, const Element &b) const
const ElementDouble (const Element &a) const
bool IsUnit (const Element &a) const
const ElementMultiplicativeIdentity () const
const ElementMultiply (const Element &a, const Element &b) const
const ElementSquare (const Element &a) const
const ElementMultiplicativeInverse (const Element &a) const
bool operator== (const QuotientRing< T > &rhs) const
virtual const ElementDivide (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::Element > & 
MultiplicativeGroup () const
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

Protected Attributes

EuclideanDomain m_domain
Element m_modulus


The documentation for this class was generated from the following files:
Generated on Sat Dec 23 02:07:32 2006 for Crypto++ by  doxygen 1.5.1-p1