Givaro
Public Types | Public Member Functions
RingInterface< _Element > Struct Template Referenceabstract

#include <ring-interface.h>

+ Inheritance diagram for RingInterface< _Element >:

Public Types

typedef _Element Element
 
typedef ElementElement_ptr
 
typedef const Element ConstElement
 
typedef const ElementConstElement_ptr
 

Public Member Functions

virtual bool isZero (const Element &a) const =0
 
virtual bool isOne (const Element &a) const =0
 
virtual bool isMOne (const Element &a) const =0
 
virtual bool areEqual (const Element &a, const Element &b) const =0
 
virtual Elementmul (Element &r, const Element &a, const Element &b) const =0
 
virtual Elementadd (Element &r, const Element &a, const Element &b) const =0
 
virtual Elementsub (Element &r, const Element &a, const Element &b) const =0
 
virtual Elementneg (Element &r, const Element &a) const =0
 
virtual Elementmulin (Element &r, const Element &a) const =0
 
virtual Elementaddin (Element &r, const Element &a) const =0
 
virtual Elementsubin (Element &r, const Element &a) const =0
 
virtual Elementnegin (Element &r) const =0
 
virtual Elementaxpy (Element &r, const Element &a, const Element &x, const Element &y) const =0
 
virtual Elementaxpyin (Element &r, const Element &a, const Element &x) const =0
 
virtual Elementaxmy (Element &r, const Element &a, const Element &x, const Element &y) const =0
 
virtual Elementaxmyin (Element &r, const Element &a, const Element &x) const =0
 
virtual Elementmaxpy (Element &r, const Element &a, const Element &x, const Element &y) const =0
 
virtual Elementmaxpyin (Element &r, const Element &a, const Element &x) const =0
 

Member Typedef Documentation

typedef _Element Element
typedef Element* Element_ptr
typedef const Element ConstElement
typedef const Element* ConstElement_ptr

Member Function Documentation

virtual bool isZero ( const Element a) const
pure virtual
virtual bool isOne ( const Element a) const
pure virtual
virtual bool isMOne ( const Element a) const
pure virtual
virtual bool areEqual ( const Element a,
const Element b 
) const
pure virtual
virtual Element& mul ( Element r,
const Element a,
const Element b 
) const
pure virtual
virtual Element& add ( Element r,
const Element a,
const Element b 
) const
pure virtual
virtual Element& sub ( Element r,
const Element a,
const Element b 
) const
pure virtual
virtual Element& neg ( Element r,
const Element a 
) const
pure virtual
virtual Element& mulin ( Element r,
const Element a 
) const
pure virtual
virtual Element& addin ( Element r,
const Element a 
) const
pure virtual
virtual Element& subin ( Element r,
const Element a 
) const
pure virtual
virtual Element& negin ( Element r) const
pure virtual
virtual Element& axpy ( Element r,
const Element a,
const Element x,
const Element y 
) const
pure virtual
virtual Element& axpyin ( Element r,
const Element a,
const Element x 
) const
pure virtual
virtual Element& axmy ( Element r,
const Element a,
const Element x,
const Element y 
) const
pure virtual
virtual Element& axmyin ( Element r,
const Element a,
const Element x 
) const
pure virtual
virtual Element& maxpy ( Element r,
const Element a,
const Element x,
const Element y 
) const
pure virtual
virtual Element& maxpyin ( Element r,
const Element a,
const Element x 
) const
pure virtual

The documentation for this struct was generated from the following file: