OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Bookkeeping class for Tps<T>. More...
#include <TpsData.h>
Public Member Functions | |
TpsData () | |
~TpsData () | |
const TpsMonomial & | getExponents (int index) const |
int | getOrder (int index) const |
const int * | getProductArray (int index) const |
int | getSize (int order) const |
const Array1D< TpsSubstitution > & | getSubTable () const |
int | getVariables () const |
int | indexMonomial (const TpsMonomial &) const |
Static Public Member Functions | |
static TpsData * | getTpsData (int nOrd, int nVar) |
Private Types | |
typedef Array1D< TpsMonomial > | ExponentTable |
typedef Array1D< int > | ProductRow |
typedef Array1D< ProductRow > | ProductTable |
typedef Array2D< int > | BinomialTable |
Private Member Functions | |
TpsData (const TpsData &) | |
void | operator= (const TpsData &) |
void | build (int max, int nVar) |
void | clear () |
void | fillSubst (int var, int order, TpsMonomial &pow, int &next) |
Private Attributes | |
int | variables |
int | topOrder |
int | maxSize |
ExponentTable | expon |
ProductTable | prod |
BinomialTable | binom |
Array1D< TpsSubstitution > | subTable |
|
private |
|
private |
|
private |
|
private |
TpsData::TpsData | ( | ) |
Definition at line 34 of file TpsData.cpp.
References clear().
TpsData::~TpsData | ( | ) |
Definition at line 39 of file TpsData.cpp.
|
private |
|
private |
Definition at line 66 of file TpsData.cpp.
References binom, getSize(), maxSize, topOrder, and variables.
Referenced by getTpsData().
|
private |
Definition at line 147 of file TpsData.cpp.
References topOrder, and variables.
Referenced by TpsData().
|
private |
Definition at line 153 of file TpsData.cpp.
References TpsSubstitution::index, indexMonomial(), TpsSubstitution::order, pow(), TpsSubstitution::skip, subTable, topOrder, TpsSubstitution::variable, and variables.
|
inline |
|
inline |
|
inline |
Definition at line 116 of file TpsData.h.
References Array1D< T >::begin(), and prod.
|
inline |
|
inline |
Definition at line 128 of file TpsData.h.
References subTable.
Referenced by VpsMap< T >::constantTerm(), and VpsMap< T >::substitute().
|
static |
Definition at line 43 of file TpsData.cpp.
References build().
Referenced by VpsMap< T >::constantTerm(), TpsRep< T >::create(), TpsMonomial::getIndex(), and VpsMap< T >::substitute().
|
inline |
int TpsData::indexMonomial | ( | const TpsMonomial & | pows | ) | const |
Definition at line 53 of file TpsData.cpp.
References binom, and variables.
Referenced by fillSubst(), and TpsMonomial::getIndex().
|
private |
|
private |
Definition at line 102 of file TpsData.h.
Referenced by build(), getSize(), and indexMonomial().
|
private |
Definition at line 92 of file TpsData.h.
Referenced by getExponents(), and getOrder().
|
private |
Definition at line 97 of file TpsData.h.
Referenced by getProductArray().
|
private |
Definition at line 105 of file TpsData.h.
Referenced by fillSubst(), and getSubTable().
|
private |
|
private |
Definition at line 82 of file TpsData.h.
Referenced by build(), clear(), fillSubst(), getVariables(), and indexMonomial().