|
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 | |
| bool | isZero (const Element &x) const |
| x == 0 | |
| bool | isOne (const Element &x) const |
| x == 1 | |
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 | |
| Element & | sub (Element &x, const Element &y, const Element &z) const |
| x := y - z | |
| Element & | mul (Element &x, const Element &y, const Element &z) const |
| x := y*z | |
| Element & | div (Element &x, const Element &y, const Element &z) const |
| x := y/z | |
| Element & | neg (Element &x, const Element &y) const |
| x := -y | |
| Element & | inv (Element &x, const Element &y) const |
| x := 1/y | |
| Element & | axpy (Element &z, const Element &a, const Element &x, const Element &y) const |
| z := a*x + y | |
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 | |
| Element & | subin (Element &x, const Element &y) const |
| x := x - y | |
| Element & | mulin (Element &x, const Element &y) const |
| x := x*y | |
| Element & | divin (Element &x, const Element &y) const |
| x := x/y | |
| Element & | negin (Element &x) const |
| x := -x | |
| Element & | invin (Element &x) const |
| x := 1/x | |
| Element & | axpyin (Element &y, const Element &a, const Element &x) const |
| y := a*x + y | |
Input/Output Operations | |
| std::ostream & | write (std::ostream &os) const |
| Print field. | |
| std::istream & | read (std::istream &is) const |
| Read field. | |
| std::ostream & | write (std::ostream &os, const Element &x) const |
| Print field element. | |
| std::istream & | read (std::istream &is, Element &x) const |
| Read field element. | |
| typedef K Element |
Reimplemented in UnparametricField< _Element >.
| UnparametricOperations | ( | ) | [inline] |
| ~UnparametricOperations | ( | ) | [inline] |
| Element& axpy | ( | Element & | z, |
| const Element & | a, | ||
| const Element & | x, | ||
| const Element & | y | ||
| ) | const [inline] |
z := a*x + y
| std::ostream& write | ( | std::ostream & | os | ) | const [inline] |
Print field.
| os | output stream to which field is written. |
| std::istream& read | ( | std::istream & | is | ) | const [inline] |
Read field.
| is | input stream from which field is read. |
Print field element.
| os | output stream to which field element is written. |
| x | field element. |
Read field element.
| is | input stream from which field element is read. |
| x | field element. |
1.8.0