42#ifndef STOKHOS_RYSBASIS_HPP
43#define STOKHOS_RYSBASIS_HPP
64 template <
typename ordinal_type,
typename value_type>
85 return std::exp(-x*x/2.0);
98 virtual Teuchos::RCP<OneDOrthogPolyBasis<ordinal_type,value_type> >
cloneWithOrder(ordinal_type
p)
const
Generates three-term recurrence using the Discretized Stieltjes procedure.
bool normalize
Normalize basis.
GrowthPolicy growth
Smolyak growth policy.
ordinal_type p
Order of basis.
RysBasis(const RysBasis &)
RysBasis(ordinal_type p, const RysBasis &basis)
Copy constructor with specified order.
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.
static value_type rysWeight(const value_type &x)
The Rys weight function.
RysBasis(ordinal_type p, value_type c, bool normalize, GrowthPolicy growth=SLOW_GROWTH)
Constructor.
RysBasis & operator=(const RysBasis &b)
Top-level namespace for Stokhos classes and functions.
GrowthPolicy
Enumerated type for determining Smolyak growth policies.