44#ifndef STOKHOS_JACOBIBASIS_HPP
45#define STOKHOS_JACOBIBASIS_HPP
93 template <
typename ordinal_type,
typename value_type>
104 value_type alphaIndex,
105 value_type betaIndex,
bool normalize =
false,
124 virtual Teuchos::RCP<OneDOrthogPolyBasis<ordinal_type,value_type> >
cloneWithOrder(ordinal_type
p)
const;
136 Teuchos::Array<value_type>&
alpha,
137 Teuchos::Array<value_type>&
beta,
138 Teuchos::Array<value_type>&
delta,
139 Teuchos::Array<value_type>&
gamma)
const;
148 value_type
getA(
int n)
const ;
149 value_type
getB(
int n)
const ;
150 value_type
getC(
int n)
const ;
151 value_type
getD(
int n)
const ;
152 value_type
poch3(value_type x)
const ;
value_type poch3(value_type x) const
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.
value_type getC(int n) const
JacobiBasis(const JacobiBasis &)
value_type getD(int n) const
value_type getA(int n) const
~JacobiBasis()
Destructor.
JacobiBasis(ordinal_type p, value_type alphaIndex, value_type betaIndex, bool normalize=false, GrowthPolicy growth=SLOW_GROWTH)
Constructor.
value_type getB(int n) const
JacobiBasis & operator=(const JacobiBasis &b)
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.
Implementation of OneDOrthogPolyBasis based on the general three-term recurrence relationship:
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.
Top-level namespace for Stokhos classes and functions.
GrowthPolicy
Enumerated type for determining Smolyak growth policies.