Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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.

Definition at line 1506 of file Stokhos_ProductBasisUtils.hpp.

Member Function Documentation

◆ compute_terms() [1/2]

template<typename ordinal_type , typename value_type >
static 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.

◆ compute_terms() [2/2]

template<typename ordinal_type , typename value_type >
static 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.

◆ compute_index()

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 1692 of file Stokhos_ProductBasisUtils.hpp.


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