Abstract base class for multivariate orthogonal polynomials generated from tensor products of univariate polynomials. More...
#include <Stokhos_ProductBasis.hpp>


Public Member Functions | |
| ProductBasis () | |
| Constructor. | |
| virtual | ~ProductBasis () |
| Destructor. | |
| virtual Teuchos::Array < ordinal_type > | getTerm (ordinal_type i) const =0 |
Get orders of each coordinate polynomial given an index i. | |
| virtual ordinal_type | getIndex (const Teuchos::Array< ordinal_type > &term) const =0 |
| Get index of the multivariate polynomial given orders of each coordinate. | |
| virtual Teuchos::Array < Teuchos::RCP< const OneDOrthogPolyBasis < ordinal_type, value_type > > > | getCoordinateBases () const =0 |
| Return array of coordinate bases. | |
Abstract base class for multivariate orthogonal polynomials generated from tensor products of univariate polynomials.
* The multivariate polynomials are given by
where
is the dimension of the basis. This class adds methods for indexing the multivariate polynomial and getting the coordinate bases.
| virtual Teuchos::Array< Teuchos::RCP<const OneDOrthogPolyBasis<ordinal_type, value_type> > > Stokhos::ProductBasis< ordinal_type, value_type >::getCoordinateBases | ( | ) | const [pure virtual] |
Return array of coordinate bases.
Array is of size dimension().
Implemented in Stokhos::CompletePolynomialBasis< ordinal_type, value_type >, and Stokhos::ProductLanczosPCEBasis< ordinal_type, value_type >.
| virtual ordinal_type Stokhos::ProductBasis< ordinal_type, value_type >::getIndex | ( | const Teuchos::Array< ordinal_type > & | term | ) | const [pure virtual] |
Get index of the multivariate polynomial given orders of each coordinate.
Given the array term storing
, returns the index
such that
.
Implemented in Stokhos::CompletePolynomialBasis< ordinal_type, value_type >, and Stokhos::ProductLanczosPCEBasis< ordinal_type, value_type >.
| virtual Teuchos::Array<ordinal_type> Stokhos::ProductBasis< ordinal_type, value_type >::getTerm | ( | ordinal_type | i | ) | const [pure virtual] |
Get orders of each coordinate polynomial given an index i.
The returned array is of size
, where
is the dimension of the basis, and entry
is given by
where
.
Implemented in Stokhos::CompletePolynomialBasis< ordinal_type, value_type >, and Stokhos::ProductLanczosPCEBasis< ordinal_type, value_type >.
1.7.6.1