Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
Stokhos::CompletePolynomialBasisUtils< ordinal_type, value_type > Class Template Reference

Utilities for indexing a multi-variate complete polynomial basis. More...

#include <Stokhos_ProductBasisUtils.hpp>

Static Public Member Functions

static ordinal_type compute_terms (ordinal_type p, ordinal_type d, ordinal_type &sz, Teuchos::Array< MultiIndex< ordinal_type > > &terms, Teuchos::Array< ordinal_type > &num_terms)
 Compute the 2-D array of basis terms which maps a basis index into the orders for each basis dimension. More...
 
static ordinal_type compute_terms (const Teuchos::Array< ordinal_type > &basis_orders, ordinal_type &sz, Teuchos::Array< MultiIndex< ordinal_type > > &terms, Teuchos::Array< ordinal_type > &num_terms)
 Compute the 2-D array of basis terms which maps a basis index into the orders for each basis dimension. More...
 
static ordinal_type compute_index (const MultiIndex< ordinal_type > &term, const Teuchos::Array< MultiIndex< ordinal_type > > &terms, const Teuchos::Array< ordinal_type > &num_terms, ordinal_type max_p)
 Compute basis index given the orders for each basis dimension. More...
 

Detailed Description

template<typename ordinal_type, typename value_type>
class Stokhos::CompletePolynomialBasisUtils< ordinal_type, value_type >

Utilities for indexing a multi-variate complete polynomial basis.

Definition at line 1474 of file Stokhos_ProductBasisUtils.hpp.

Member Function Documentation

template<typename ordinal_type , typename value_type >
ordinal_type Stokhos::CompletePolynomialBasisUtils< ordinal_type, value_type >::compute_terms ( ordinal_type  p,
ordinal_type  d,
ordinal_type &  sz,
Teuchos::Array< MultiIndex< ordinal_type > > &  terms,
Teuchos::Array< ordinal_type > &  num_terms 
)
static

Compute the 2-D array of basis terms which maps a basis index into the orders for each basis dimension.

Definition at line 1524 of file Stokhos_ProductBasisUtils.hpp.

template<typename ordinal_type , typename value_type >
ordinal_type Stokhos::CompletePolynomialBasisUtils< ordinal_type, value_type >::compute_terms ( const Teuchos::Array< ordinal_type > &  basis_orders,
ordinal_type &  sz,
Teuchos::Array< MultiIndex< ordinal_type > > &  terms,
Teuchos::Array< ordinal_type > &  num_terms 
)
static

Compute the 2-D array of basis terms which maps a basis index into the orders for each basis dimension.

Definition at line 1536 of file Stokhos_ProductBasisUtils.hpp.

template<typename ordinal_type , typename value_type >
ordinal_type Stokhos::CompletePolynomialBasisUtils< ordinal_type, value_type >::compute_index ( const MultiIndex< ordinal_type > &  term,
const Teuchos::Array< MultiIndex< ordinal_type > > &  terms,
const Teuchos::Array< ordinal_type > &  num_terms,
ordinal_type  max_p 
)
static

Compute basis index given the orders for each basis dimension.

Definition at line 1661 of file Stokhos_ProductBasisUtils.hpp.


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