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

FieldAXPY< PIR_ntl_ZZ_p > Class Template Reference

#include <PIR-ntl-ZZ_p.h>

template<>
class LinBox::FieldAXPY< PIR_ntl_ZZ_p >


Public Types

typedef PIR_ntl_ZZ_p Field
typedef Field::Element Element

Public Member Functions

 FieldAXPY (const Field &F)
 FieldAXPY (const FieldAXPY< Field > &faxpy)
FieldAXPY< Field > & operator= (const FieldAXPY &faxpy)
NTL::ZZ & mulacc (const Element &a, const Element &x)
NTL::ZZ & accumulate (const Element &t)
Elementget (Element &y)
FieldAXPYassign (const Element &y)
void reset ()

Member Typedef Documentation

typedef PIR_ntl_ZZ_p Field
 

typedef Field::Element Element
 


Member Function Documentation

FieldAXPY const Field F  )  [inline]
 

Constructor. A faxpy object if constructed from a Field. 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< PIR_ntl_ZZ_p > &  faxpy  )  [inline]
 

Assignment operator

Parameters:
faxpy 

NTL::ZZ& mulacc const Element a,
const Element x
[inline]
 

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

Parameters:
a constant reference to element a
x constant reference to element x

NTL::ZZ& accumulate const Element 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