Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

FieldAXPY< UnparametricField< integer > > Class Template Reference

#include <unparametric.h>

template<>
class LinBox::FieldAXPY< UnparametricField< integer > >


Public Types

typedef UnparametricField<
integer
Field
typedef integer Element

Public Member Functions

 FieldAXPY (const Field &F)
 FieldAXPY (const FieldAXPY< Field > &faxpy)
FieldAXPY< Field > & operator= (const FieldAXPY &faxpy)
template<class Element1> Elementmulacc (const Element &a, const Element1 &x)
template<class Element1> Elementaccumulate (const Element1 &t)
Elementget (Element &y)
FieldAXPYassign (const Element &y)
void reset ()

Member Typedef Documentation

typedef UnparametricField<integer> Field
 

typedef integer Element
 


Member Function Documentation

FieldAXPY const Field F  )  [inline]
 

Constructor. A faxpy object if constructed from a Field and a field element. Copies of this objects are stored in the faxpy object.

Parameters:
F field F in which arithmetic is done

FieldAXPY const FieldAXPY< Field > &  faxpy  )  [inline]
 

Copy constructor.

Parameters:
faxpy 

FieldAXPY<Field>& operator= const FieldAXPY< UnparametricField< integer > > &  faxpy  )  [inline]
 

Assignment operator

Parameters:
faxpy 

Element& mulacc const Element a,
const Element1 &  x
[inline]
 

Add a*x to y y += a*x.

Parameters:
a constant reference to element a
x constant reference to element x allow optimal multiplication, such as integer * int

Element& accumulate const Element1 &  t  )  [inline]
 

Element& get Element y  )  [inline]
 

Retrieve y

Performs the delayed modding out if necessary

FieldAXPY& assign const Element y  )  [inline]
 

Assign method. Stores new field element for arithmetic.

Returns:
reference to self
Parameters:
y_init constant reference to element a

void reset  )  [inline]
 


Generated on Fri Jul 8 10:29:54 2005 for linbox by doxygen 1.3.7