Sacado::PCE::TripleProduct< BasisT > Class Template Reference

3-tensor that stores C_{ijk} = < > More...

#include <Sacado_PCE_TripleProduct.hpp>

List of all members.

Public Types

typedef BasisT basis_type
typedef BasisT::value_type value_type

Public Member Functions

 TripleProduct (unsigned int degree)
 Constructor.
 TripleProduct (const TripleProduct &tp)
 Copy constructor.
 ~TripleProduct ()
 Destructor.
TripleProductoperator= (const TripleProduct &tp)
 Assignment.
const value_typevalue (unsigned int i, unsigned int j, unsigned int k) const
 Get value (i,j,k).
const value_typenorm_squared (unsigned int i) const
 Get norm-squared.
unsigned int size () const
 Return size.
const BasisT & getBasis () const
 Return basis.
void resize (unsigned int degree)
 Resize to new dimension.

Protected Member Functions

void compute ()
 Compute values.

Protected Attributes

unsigned int l
 Size of each dimension.
BasisT basis
 Basis.
std::vector< value_typeCijk
 Cijk data.


Detailed Description

template<typename BasisT>
class Sacado::PCE::TripleProduct< BasisT >

3-tensor that stores C_{ijk} = < >

Definition at line 43 of file Sacado_PCE_TripleProduct.hpp.


Member Typedef Documentation

template<typename BasisT>
typedef BasisT Sacado::PCE::TripleProduct< BasisT >::basis_type

Definition at line 46 of file Sacado_PCE_TripleProduct.hpp.

template<typename BasisT>
typedef BasisT::value_type Sacado::PCE::TripleProduct< BasisT >::value_type

Definition at line 48 of file Sacado_PCE_TripleProduct.hpp.


Constructor & Destructor Documentation

template<typename BasisT>
Sacado::PCE::TripleProduct< BasisT >::TripleProduct ( unsigned int  degree  ) 

Constructor.

Definition at line 36 of file Sacado_PCE_TripleProductImp.hpp.

template<typename BasisT>
Sacado::PCE::TripleProduct< BasisT >::TripleProduct ( const TripleProduct< BasisT > &  tp  ) 

Copy constructor.

template<typename BasisT>
Sacado::PCE::TripleProduct< BasisT >::~TripleProduct (  ) 

Destructor.

Definition at line 55 of file Sacado_PCE_TripleProductImp.hpp.


Member Function Documentation

template<typename BasisT>
TripleProduct& Sacado::PCE::TripleProduct< BasisT >::operator= ( const TripleProduct< BasisT > &  tp  ) 

Assignment.

template<typename BasisT>
const Sacado::PCE::TripleProduct< BasisT >::value_type & Sacado::PCE::TripleProduct< BasisT >::value ( unsigned int  i,
unsigned int  j,
unsigned int  k 
) const

Get value (i,j,k).

Definition at line 75 of file Sacado_PCE_TripleProductImp.hpp.

template<typename BasisT>
const Sacado::PCE::TripleProduct< BasisT >::value_type & Sacado::PCE::TripleProduct< BasisT >::norm_squared ( unsigned int  i  )  const

Get norm-squared.

Definition at line 83 of file Sacado_PCE_TripleProductImp.hpp.

template<typename BasisT>
unsigned int Sacado::PCE::TripleProduct< BasisT >::size (  )  const [inline]

Return size.

Definition at line 70 of file Sacado_PCE_TripleProduct.hpp.

template<typename BasisT>
const BasisT& Sacado::PCE::TripleProduct< BasisT >::getBasis (  )  const [inline]

Return basis.

Definition at line 73 of file Sacado_PCE_TripleProduct.hpp.

template<typename BasisT>
void Sacado::PCE::TripleProduct< BasisT >::resize ( unsigned int  degree  ) 

Resize to new dimension.

Definition at line 91 of file Sacado_PCE_TripleProductImp.hpp.

template<typename BasisT>
void Sacado::PCE::TripleProduct< BasisT >::compute (  )  [protected]

Compute values.

Definition at line 107 of file Sacado_PCE_TripleProductImp.hpp.


Member Data Documentation

template<typename BasisT>
unsigned int Sacado::PCE::TripleProduct< BasisT >::l [protected]

Size of each dimension.

Definition at line 86 of file Sacado_PCE_TripleProduct.hpp.

template<typename BasisT>
BasisT Sacado::PCE::TripleProduct< BasisT >::basis [protected]

Basis.

Definition at line 89 of file Sacado_PCE_TripleProduct.hpp.

template<typename BasisT>
std::vector<value_type> Sacado::PCE::TripleProduct< BasisT >::Cijk [protected]

Cijk data.

Definition at line 92 of file Sacado_PCE_TripleProduct.hpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:59:12 2010 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.4.7