Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

QuotientRing< T > Class Template Reference

#include <algebra.h>

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 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

Protected Attributes

EuclideanDomain m_domain
Element m_modulus


The documentation for this class was generated from the following files:
Generated on Fri Aug 27 13:57:45 2004 for Crypto++ by doxygen 1.3.8