Crypto++
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
RingOfPolynomialsOver Class Reference

Ring of polynomials over another ring. More...

#include <polynomi.h>

Inheritance diagram for RingOfPolynomialsOver:
AbstractEuclideanDomain< PolynomialOver< T > >

List of all members.

Classes

class  InterpolationFailed

Public Types

typedef T CoefficientRing
typedef PolynomialOver< T > Element
typedef Element::CoefficientType CoefficientType
typedef
Element::RandomizationParameter 
RandomizationParameter

Public Member Functions

 RingOfPolynomialsOver (const CoefficientRing &ring)
Element RandomElement (RandomNumberGenerator &rng, const RandomizationParameter &parameter)
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
const ElementMultiplicativeIdentity () const
const ElementMultiply (const Element &a, const Element &b) const
const ElementSquare (const Element &a) const
bool IsUnit (const Element &a) const
const ElementMultiplicativeInverse (const Element &a) const
const ElementDivide (const Element &a, const Element &b) const
const ElementMod (const Element &a, const Element &b) const
void DivisionAlgorithm (Element &r, Element &q, const Element &a, const Element &d) const
Element Interpolate (const CoefficientType x[], const CoefficientType y[], unsigned int n) const
CoefficientType InterpolateAt (const CoefficientType &position, const CoefficientType x[], const CoefficientType y[], unsigned int n) const
virtual void DivisionAlgorithm (Element &r, Element &q, const Element &a, const Element &d) const =0
virtual const ElementMod (const Element &a, const Element &b) const =0
virtual const ElementGcd (const Element &a, const Element &b) const

Protected Member Functions

void CalculateAlpha (std::vector< CoefficientType > &alpha, const CoefficientType x[], const CoefficientType y[], unsigned int n) const

Protected Attributes

CoefficientRing m_ring
Element result

Detailed Description

Ring of polynomials over another ring.


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