Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.
 
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.
 

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.


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