Stokhos
Development
|
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. | |
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. | |
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. | |
Utilities for indexing a multi-variate complete polynomial basis.