OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
Representation of the exponents for a monomial with fixed dimension. More...
#include <FMonomial.h>
Public Member Functions | |
FMonomial (int var) | |
Constructor, defines variable var. More... | |
FMonomial () | |
FMonomial (const FMonomial &) | |
~FMonomial () | |
const FMonomial & | operator= (const FMonomial &) |
int & | operator[] (int index) |
Return reference to exponent. More... | |
int | operator[] (int index) const |
Return value of exponent. More... | |
FMonomial | operator* (const FMonomial &rhs) const |
Get exponent set of a product. More... | |
int | getOrder () const |
Compute the monomial's order. More... | |
int | getVariables () const |
Get the monomial's number of variables. More... | |
Private Attributes | |
int | array [N] |
Representation of the exponents for a monomial with fixed dimension.
Definition at line 32 of file FMonomial.h.
|
explicit |
Constructor, defines variable var.
Definition at line 82 of file FMonomial.h.
FMonomial< N >::FMonomial |
Definition at line 70 of file FMonomial.h.
FMonomial< N >::FMonomial | ( | const FMonomial< N > & | rhs | ) |
Definition at line 76 of file FMonomial.h.
References FMonomial< N >::array.
Definition at line 89 of file FMonomial.h.
int FMonomial< N >::getOrder |
Compute the monomial's order.
Definition at line 124 of file FMonomial.h.
Referenced by FTps< T, N >::makeMonomial().
int FMonomial< N >::getVariables |
Get the monomial's number of variables.
Definition at line 130 of file FMonomial.h.
Get exponent set of a product.
Definition at line 116 of file FMonomial.h.
References FMonomial< N >::array.
Definition at line 94 of file FMonomial.h.
References FMonomial< N >::array.
int & FMonomial< N >::operator[] | ( | int | index | ) |
Return reference to exponent.
Definition at line 104 of file FMonomial.h.
int FMonomial< N >::operator[] | ( | int | index | ) | const |
Return value of exponent.
Definition at line 110 of file FMonomial.h.
|
private |
Definition at line 62 of file FMonomial.h.
Referenced by FMonomial< N >::FMonomial(), FMonomial< N >::operator*(), and FMonomial< N >::operator=().