|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
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. | |
| FMonomial () | |
| FMonomial (const FMonomial &) | |
| ~FMonomial () | |
| const FMonomial & | operator= (const FMonomial &) |
| int & | operator[] (int index) |
| Return reference to exponent. | |
| int | operator[] (int index) const |
| Return value of exponent. | |
| FMonomial | operator* (const FMonomial &rhs) const |
| Get exponent set of a product. | |
| int | getOrder () const |
| Compute the monomial's order. | |
| int | getVariables () const |
| Get the monomial's number of variables. | |
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.
References array.
Referenced by FMonomial(), operator*(), and operator=().
| FMonomial< N >::FMonomial | ( | ) |
Definition at line 70 of file FMonomial.h.
References array.
Definition at line 76 of file FMonomial.h.
References array, and FMonomial().
Definition at line 89 of file FMonomial.h.
| int FMonomial< N >::getOrder | ( | ) | const |
Compute the monomial's order.
Definition at line 124 of file FMonomial.h.
References array.
Referenced by FTps< T, N >::makeMonomial().
| int FMonomial< N >::getVariables | ( | ) | const |
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 array, and FMonomial().
Definition at line 94 of file FMonomial.h.
References array, and FMonomial().
| int & FMonomial< N >::operator[] | ( | int | index | ) |
| int FMonomial< N >::operator[] | ( | int | index | ) | const |
|
private |
Definition at line 62 of file FMonomial.h.
Referenced by FMonomial(), FMonomial(), FMonomial(), getOrder(), operator*(), operator=(), operator[](), and operator[]().