FflasFfpack
|
#include <unparametric.h>
Public Types | |
typedef K | Element |
Public Member Functions | |
UnparametricOperations () | |
~UnparametricOperations () | |
Data Object Management. | |
first argument is set and the value is also returned. | |
Element & | init (Element &x) const |
Element & | assign (Element &x, const Element &y) const |
Comparison Predicates | |
bool | areEqual (const Element &x, const Element &y) const |
x == y More... | |
bool | isZero (const Element &x) const |
x == 0 More... | |
bool | isOne (const Element &x) const |
x == 1 More... | |
Arithmetic Operations | |
The first argument is set and is also the return value. | |
Element & | add (Element &x, const Element &y, const Element &z) const |
x := y + z More... | |
Element & | sub (Element &x, const Element &y, const Element &z) const |
x := y - z More... | |
Element & | mul (Element &x, const Element &y, const Element &z) const |
x := y*z More... | |
Element & | div (Element &x, const Element &y, const Element &z) const |
x := y/z More... | |
Element & | neg (Element &x, const Element &y) const |
x := -y More... | |
Element & | inv (Element &x, const Element &y) const |
x := 1/y More... | |
Element & | axpy (Element &z, const Element &a, const Element &x, const Element &y) const |
z := a*x + y More... | |
Inplace Arithmetic Operations | |
The first argument is modified and the result is the return value. | |
Element & | addin (Element &x, const Element &y) const |
x := x + y More... | |
Element & | subin (Element &x, const Element &y) const |
x := x - y More... | |
Element & | mulin (Element &x, const Element &y) const |
x := x*y More... | |
Element & | divin (Element &x, const Element &y) const |
x := x/y More... | |
Element & | negin (Element &x) const |
x := -x More... | |
Element & | invin (Element &x) const |
x := 1/x More... | |
Element & | axpyin (Element &y, const Element &a, const Element &x) const |
y := a*x + y More... | |
Input/Output Operations | |
std::ostream & | write (std::ostream &os) const |
Print field. More... | |
std::istream & | read (std::istream &is) const |
Read field. More... | |
std::ostream & | write (std::ostream &os, const Element &x) const |
Print field element. More... | |
std::istream & | read (std::istream &is, Element &x) const |
Read field element. More... | |
typedef K Element |
|
inline |
|
inline |
|
inline |
x == 0
|
inline |
x == 1
z := a*x + y
|
inline |
Print field.
os | output stream to which field is written. |
|
inline |
Read field.
is | input stream from which field is read. |
|
inline |
Print field element.
os | output stream to which field element is written. |
x | field element. |
|
inline |
Read field element.
is | input stream from which field element is read. |
x | field element. |