44#ifndef STOKHOS_LEGENDREBASIS_HPP
45#define STOKHOS_LEGENDREBASIS_HPP
66 template <
typename ordinal_type,
typename value_type>
107 Teuchos::Array<value_type>&
alpha,
108 Teuchos::Array<value_type>&
beta,
109 Teuchos::Array<value_type>&
delta,
110 Teuchos::Array<value_type>&
gamma)
const;
LegendreBasis(ordinal_type p, const LegendreBasis &basis)
Copy constructor with specified order.
LegendreBasis(ordinal_type p, bool normalize=false, GrowthPolicy growth=SLOW_GROWTH)
Constructor.
LegendreBasis(const LegendreBasis &)
~LegendreBasis()
Destructor.
LegendreBasis & operator=(const LegendreBasis &b)
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.
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.
bool normalize
Normalize basis.
GrowthPolicy growth
Smolyak growth policy.
Teuchos::Array< value_type > alpha
Recurrence coefficients.
Teuchos::Array< value_type > beta
Recurrence coefficients.
ordinal_type p
Order of basis.
Teuchos::Array< value_type > gamma
Recurrence coefficients.
Teuchos::Array< value_type > delta
Recurrence coefficients.
RecurrenceBasis(const std::string &name, ordinal_type p, bool normalize, GrowthPolicy growth=SLOW_GROWTH)
Constructor to be called by derived classes.
Top-level namespace for Stokhos classes and functions.
GrowthPolicy
Enumerated type for determining Smolyak growth policies.