Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

DoubleFmod Class Reference

#include <double-fmod.h>

Inheritance diagram for DoubleFmod:

FieldInterface List of all members.

Public Types

typedef double Element
typedef GenericRandIter< DoubleFmod > RandIter

Public Methods

 DoubleFmod (int p)
 DoubleFmod (const integer &p)
 DoubleFmod (const DoubleFmod &mf)
const DoubleFmod & operator= (const DoubleFmod &F)
integer & cardinality (integer &c) const
integer & characteristic (integer &c) const
integer & convert (integer &x, const Element &y) const
double & convert (double &x, const Element &y) const
std::ostream & write (std::ostream &os) const
std::istream & read (std::istream &is)
std::ostream & write (std::ostream &os, const Element &x) const
std::istream & read (std::istream &is, Element &x) const
Element & init (Element &x, const integer &y) const
Element & init (Element &x, double y=0) const
Element & assign (Element &x, const Element &y) const
bool areEqual (const Element &x, const Element &y) const
bool isZero (const Element &x) const
bool isOne (const Element &x) const
Element & add (Element &x, const Element &y, const Element &z) const
Element & sub (Element &x, const Element &y, const Element &z) const
Element & mul (Element &x, const Element &y, const Element &z) const
Element & div (Element &x, const Element &y, const Element &z) const
Element & neg (Element &x, const Element &y) const
Element & inv (Element &x, const Element &y) const
Element & axpy (Element &r, const Element &a, const Element &x, const Element &y) const
Element & addin (Element &x, const Element &y) const
Element & subin (Element &x, const Element &y) const
Element & mulin (Element &x, const Element &y) const
Element & divin (Element &x, const Element &y) const
Element & negin (Element &x) const
Element & invin (Element &x) const
Element & axpyin (Element &r, const Element &a, const Element &x) const

Protected Attributes

double modulus

Friends

class FieldAXPY< DoubleFmod >
class DotProductDomain< DoubleFmod >

Member Typedef Documentation

typedef double Element
 

typedef GenericRandIter<DoubleFmod> RandIter
 


Constructor & Destructor Documentation

DoubleFmod (  int    p )  [inline]
 

DoubleFmod (  const integer &    p )  [inline]
 

DoubleFmod (  const DoubleFmod &    mf )  [inline]
 


Member Function Documentation

Element& add (  Element &    x,
const Element &    y,
const Element &    z
)  const [inline]
 

Element& addin (  Element &    x,
const Element &    y
)  const [inline]
 

bool areEqual (  const Element &    x,
const Element &    y
)  const [inline]
 

Element& assign (  Element &    x,
const Element &    y
)  const [inline]
 

Element& axpy (  Element &    r,
const Element &    a,
const Element &    x,
const Element &    y
)  const [inline]
 

Element& axpyin (  Element &    r,
const Element &    a,
const Element &    x
)  const [inline]
 

integer& cardinality (  integer &    c )  const [inline]
 

integer& characteristic (  integer &    c )  const [inline]
 

double& convert (  double &    x,
const Element &    y
)  const [inline]
 

integer& convert (  integer &    x,
const Element &    y
)  const [inline]
 

Element& div (  Element &    x,
const Element &    y,
const Element &    z
)  const [inline]
 

Element& divin (  Element &    x,
const Element &    y
)  const [inline]
 

Element& init (  Element &    x,
double    y = 0
)  const [inline]
 

Element& init (  Element &    x,
const integer &    y
)  const [inline]
 

Element& inv (  Element &    x,
const Element &    y
)  const [inline]
 

Element& invin (  Element &    x )  const [inline]
 

bool isOne (  const Element &    x )  const [inline]
 

bool isZero (  const Element &    x )  const [inline]
 

Element& mul (  Element &    x,
const Element &    y,
const Element &    z
)  const [inline]
 

Element& mulin (  Element &    x,
const Element &    y
)  const [inline]
 

Element& neg (  Element &    x,
const Element &    y
)  const [inline]
 

Element& negin (  Element &    x )  const [inline]
 

const DoubleFmod& operator= (  const DoubleFmod &    F )  [inline]
 

std::istream& read (  std::istream &    is,
Element &    x
)  const [inline]
 

std::istream& read (  std::istream &    is )  [inline]
 

Element& sub (  Element &    x,
const Element &    y,
const Element &    z
)  const [inline]
 

Element& subin (  Element &    x,
const Element &    y
)  const [inline]
 

std::ostream& write (  std::ostream &    os,
const Element &    x
)  const [inline]
 

std::ostream& write (  std::ostream &    os )  const [inline]
 


Friends And Related Function Documentation

friend class DotProductDomain< DoubleFmod > [friend]
 

friend class FieldAXPY< DoubleFmod > [friend]
 


Member Data Documentation

double modulus [protected]
 


Generated on Mon Jun 20 09:16:53 2005 for linbox by doxygen1.2.18