OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
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

typedef Array2D<int> TpsData::BinomialTable
private

Definition at line 101 of file TpsData.h.

Definition at line 91 of file TpsData.h.

typedef Array1D<int> TpsData::ProductRow
private

Definition at line 95 of file TpsData.h.

Definition at line 96 of file TpsData.h.

Constructor & Destructor Documentation

TpsData::TpsData ( )

Definition at line 34 of file TpsData.cpp.

References clear().

Here is the call graph for this function:

TpsData::~TpsData ( )

Definition at line 39 of file TpsData.cpp.

TpsData::TpsData ( const TpsData )
private

Member Function Documentation

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

Definition at line 66 of file TpsData.cpp.

References binom, expon, fillSubst(), getSize(), indexMonomial(), maxSize, prod, subTable, topOrder, and variables.

Referenced by getTpsData().

Here is the call graph for this function:

void TpsData::clear ( )
private

Definition at line 147 of file TpsData.cpp.

References topOrder, and variables.

Referenced by TpsData().

void TpsData::fillSubst ( int  var,
int  order,
TpsMonomial pow,
int &  next 
)
private
const TpsMonomial & TpsData::getExponents ( int  index) const
inline

Definition at line 112 of file TpsData.h.

References expon.

int TpsData::getOrder ( int  index) const
inline

Definition at line 120 of file TpsData.h.

References expon.

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:

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

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

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:

int TpsData::getVariables ( ) const
inline

Definition at line 132 of file TpsData.h.

References variables.

int TpsData::indexMonomial ( const TpsMonomial pows) const

Definition at line 53 of file TpsData.cpp.

References binom, and variables.

Referenced by build(), and TpsMonomial::getIndex().

void TpsData::operator= ( const TpsData )
private

Member Data Documentation

BinomialTable TpsData::binom
private

Definition at line 102 of file TpsData.h.

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

ExponentTable TpsData::expon
private

Definition at line 92 of file TpsData.h.

Referenced by build(), getExponents(), and getOrder().

int TpsData::maxSize
private

Definition at line 88 of file TpsData.h.

Referenced by build().

ProductTable TpsData::prod
private

Definition at line 97 of file TpsData.h.

Referenced by build(), and getProductArray().

Array1D<TpsSubstitution> TpsData::subTable
private

Definition at line 105 of file TpsData.h.

Referenced by build(), and getSubTable().

int TpsData::topOrder
private

Definition at line 85 of file TpsData.h.

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

int TpsData::variables
private

Definition at line 82 of file TpsData.h.

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


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