|
linbox
|
NO DOc. More...
#include <unparametric.h>
Public Member Functions | |
| FieldAXPY (const Field &F) | |
| Constructor. | |
| FieldAXPY (const FieldAXPY< Field > &faxpy) | |
| Copy constructor. | |
| FieldAXPY< Field > & | operator= (const FieldAXPY &faxpy) |
| Assignment operator. | |
| template<class Element1 > | |
| Element & | mulacc (const Element &a, const Element1 &x) |
| Add a*x to y y += a*x. | |
| Element & | get (Element &y) |
| Retrieve y. | |
| FieldAXPY & | assign (const Element &y) |
| Assign method. | |
NO DOc.
| 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.
| F | field F in which arithmetic is done |
Assignment operator.
| faxpy |
| Element& mulacc | ( | const Element & | a, |
| const Element1 & | x | ||
| ) | [inline] |
Add a*x to y y += a*x.
| a | constant reference to element a |
| x | constant reference to element x allow optimal multiplication, such as integer * int |
| 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.
| y | constant reference to element a |
1.7.4