OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TpsData Class Reference

Bookkeeping class for Tps<T>. More...

#include <TpsData.h>

Collaboration diagram for TpsData:
Collaboration graph
[legend]

Public Member Functions

 TpsData ()
 
 ~TpsData ()
 
const TpsMonomialgetExponents (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 TpsDatagetTpsData (int nOrd, int nVar)
 

Private Types

typedef Array1D< TpsMonomialExponentTable
 
typedef Array1D< int > ProductRow
 
typedef Array1D< ProductRowProductTable
 
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< TpsSubstitutionsubTable
 

Detailed Description

Bookkeeping class for Tps<T>.

Definition at line 35 of file TpsData.h.

Member Typedef Documentation

◆ BinomialTable

typedef Array2D<int> TpsData::BinomialTable
private

Definition at line 101 of file TpsData.h.

◆ ExponentTable

Definition at line 91 of file TpsData.h.

◆ ProductRow

typedef Array1D<int> TpsData::ProductRow
private

Definition at line 95 of file TpsData.h.

◆ ProductTable

Definition at line 96 of file TpsData.h.

Constructor & Destructor Documentation

◆ TpsData() [1/2]

TpsData::TpsData ( )

Definition at line 34 of file TpsData.cpp.

References clear().

Here is the call graph for this function:

◆ ~TpsData()

TpsData::~TpsData ( )

Definition at line 39 of file TpsData.cpp.

◆ TpsData() [2/2]

TpsData::TpsData ( const TpsData )
private

Member Function Documentation

◆ build()

void TpsData::build ( int  max,
int  nVar 
)
private

Definition at line 66 of file TpsData.cpp.

References binom, getSize(), maxSize, topOrder, and variables.

Referenced by getTpsData().

Here is the call graph for this function:

◆ clear()

void TpsData::clear ( )
private

Definition at line 147 of file TpsData.cpp.

References topOrder, and variables.

Referenced by TpsData().

◆ fillSubst()

void TpsData::fillSubst ( int  var,
int  order,
TpsMonomial pow,
int &  next 
)
private

Definition at line 153 of file TpsData.cpp.

References TpsSubstitution::index, indexMonomial(), TpsSubstitution::order, pow(), TpsSubstitution::skip, subTable, topOrder, TpsSubstitution::variable, and variables.

Here is the call graph for this function:

◆ getExponents()

const TpsMonomial & TpsData::getExponents ( int  index) const
inline

Definition at line 112 of file TpsData.h.

References expon.

◆ getOrder()

int TpsData::getOrder ( int  index) const
inline

Definition at line 120 of file TpsData.h.

References expon.

◆ getProductArray()

const int * TpsData::getProductArray ( int  index) const
inline

Definition at line 116 of file TpsData.h.

References Array1D< T >::begin(), and prod.

Here is the call graph for this function:

◆ getSize()

int TpsData::getSize ( int  order) const
inline

Definition at line 124 of file TpsData.h.

References binom, and topOrder.

Referenced by build(), and TpsRep< T >::create().

◆ getSubTable()

const Array1D< TpsSubstitution > & TpsData::getSubTable ( ) const
inline

Definition at line 128 of file TpsData.h.

References subTable.

Referenced by VpsMap< T >::constantTerm(), and VpsMap< T >::substitute().

◆ getTpsData()

TpsData * TpsData::getTpsData ( int  nOrd,
int  nVar 
)
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().

Here is the call graph for this function:

◆ getVariables()

int TpsData::getVariables ( ) const
inline

Definition at line 132 of file TpsData.h.

References variables.

◆ indexMonomial()

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().

◆ operator=()

void TpsData::operator= ( const TpsData )
private

Member Data Documentation

◆ binom

BinomialTable TpsData::binom
private

Definition at line 102 of file TpsData.h.

Referenced by build(), getSize(), and indexMonomial().

◆ expon

ExponentTable TpsData::expon
private

Definition at line 92 of file TpsData.h.

Referenced by getExponents(), and getOrder().

◆ maxSize

int TpsData::maxSize
private

Definition at line 88 of file TpsData.h.

Referenced by build().

◆ prod

ProductTable TpsData::prod
private

Definition at line 97 of file TpsData.h.

Referenced by getProductArray().

◆ subTable

Array1D<TpsSubstitution> TpsData::subTable
private

Definition at line 105 of file TpsData.h.

Referenced by fillSubst(), and getSubTable().

◆ topOrder

int TpsData::topOrder
private

Definition at line 85 of file TpsData.h.

Referenced by build(), clear(), fillSubst(), and getSize().

◆ variables

int TpsData::variables
private

Definition at line 82 of file TpsData.h.

Referenced by build(), clear(), fillSubst(), getVariables(), and indexMonomial().


The documentation for this class was generated from the following files: