44 template <
typename ordinal_type,
typename value_type>
51 #ifdef HAVE_STOKHOS_DAKOTA 52 this->setSparseGridGrowthRule(webbur::level_to_order_linear_wn);
56 template <
typename ordinal_type,
typename value_type>
62 computeRecurrenceCoefficients(p+1, this->alpha, this->beta, this->delta,
69 template <
typename ordinal_type,
typename value_type>
75 template <
typename ordinal_type,
typename value_type>
79 Teuchos::Array<value_type>& theAlpha,
80 Teuchos::Array<value_type>& theBeta,
81 Teuchos::Array<value_type>& theDelta,
82 Teuchos::Array<value_type>& theGamma)
const 103 template <
typename ordinal_type,
typename value_type>
104 Teuchos::RCP<Stokhos::OneDOrthogPolyBasis<ordinal_type,value_type> >
LegendreBasis(ordinal_type p, bool normalize=false, GrowthPolicy growth=SLOW_GROWTH)
Constructor.
Implementation of OneDOrthogPolyBasis based on the general three-term recurrence relationship: for ...
GrowthPolicy
Enumerated type for determining Smolyak growth policies.
~LegendreBasis()
Destructor.
virtual bool computeRecurrenceCoefficients(ordinal_type n, Teuchos::Array< value_type > &alpha, Teuchos::Array< value_type > &beta, Teuchos::Array< value_type > &delta, Teuchos::Array< value_type > &gamma) const
Compute recurrence coefficients.
UnitTestSetup< int, double > setup
Legendre polynomial basis.
virtual Teuchos::RCP< OneDOrthogPolyBasis< ordinal_type, value_type > > cloneWithOrder(ordinal_type p) const
Clone this object with the option of building a higher order basis.