10 #ifndef STOKHOS_LEGENDREBASIS_HPP
11 #define STOKHOS_LEGENDREBASIS_HPP
32 template <
typename ordinal_type,
typename value_type>
Teuchos::Array< value_type > delta
Recurrence coefficients.
LegendreBasis(ordinal_type p, bool normalize=false, GrowthPolicy growth=SLOW_GROWTH)
Constructor.
Implementation of OneDOrthogPolyBasis based on the general three-term recurrence relationship: for ...
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.
Teuchos::Array< value_type > beta
Recurrence coefficients.
GrowthPolicy
Enumerated type for determining Smolyak growth policies.
~LegendreBasis()
Destructor.
Teuchos::Array< value_type > alpha
Recurrence coefficients.
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.
LegendreBasis & operator=(const LegendreBasis &b)
Legendre polynomial basis.
ordinal_type p
Order of basis.
Teuchos::Array< value_type > gamma
Recurrence coefficients.
bool normalize
Normalize basis.
GrowthPolicy growth
Smolyak growth policy.