42#ifndef STOKHOS_MONOMIAL_GRAM_SCHMIDT_PCE_BASIS_HPP
43#define STOKHOS_MONOMIAL_GRAM_SCHMIDT_PCE_BASIS_HPP
58 template <
typename ordinal_type,
typename value_type>
75 const Teuchos::ParameterList&
params = Teuchos::ParameterList());
84 virtual const std::string&
getName()
const;
98 const Teuchos::SerialDenseMatrix<ordinal_type,value_type>& A,
99 const Teuchos::SerialDenseMatrix<ordinal_type,value_type>& F,
100 const Teuchos::Array<value_type>& weights,
102 Teuchos::Array<ordinal_type>& num_terms_,
103 Teuchos::SerialDenseMatrix<ordinal_type,value_type>& Qp_,
104 Teuchos::SerialDenseMatrix<ordinal_type,value_type>& Q_);
117 typedef Teuchos::SerialDenseVector<ordinal_type,value_type>
SDV;
118 typedef Teuchos::SerialDenseMatrix<ordinal_type,value_type>
SDM;
Utilities for indexing a multi-variate complete polynomial basis.
Generate a basis from a given set of PCE expansions that is orthogonal with respect to the product me...
ordinal_type p
Total order of basis.
Teuchos::ParameterList params
Algorithm parameters.
Generate a basis from a given set of PCE expansions that is orthogonal with respect to the product me...
virtual const std::string & getName() const
Return string name of basis.
MonomialGramSchmidtPCEBasis(const MonomialGramSchmidtPCEBasis &)
Teuchos::SerialDenseMatrix< ordinal_type, value_type > SDM
std::string name
Name of basis.
MonomialGramSchmidtPCEBasis & operator=(const MonomialGramSchmidtPCEBasis &b)
MonomialGramSchmidtPCEBasis(ordinal_type p, const Teuchos::Array< Stokhos::OrthogPolyApprox< ordinal_type, value_type > > &pce, const Teuchos::RCP< const Stokhos::Quadrature< ordinal_type, value_type > > &quad, const Teuchos::ParameterList ¶ms=Teuchos::ParameterList())
Constructor.
Stokhos::CompletePolynomialBasisUtils< ordinal_type, value_type > CPBUtils
virtual ~MonomialGramSchmidtPCEBasis()
Destructor.
Teuchos::SerialDenseVector< ordinal_type, value_type > SDV
virtual ordinal_type buildReducedBasis(ordinal_type max_p, value_type threshold, const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &A, const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &F, const Teuchos::Array< value_type > &weights, Teuchos::Array< Stokhos::MultiIndex< ordinal_type > > &terms_, Teuchos::Array< ordinal_type > &num_terms_, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Qp_, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Q_)
Build the reduced basis, parameterized by total order max_p.
A multidimensional index.
Class to store coefficients of a projection onto an orthogonal polynomial basis.
Abstract base class for quadrature methods.
Top-level namespace for Stokhos classes and functions.