44#ifndef STOKHOS_CLENSHAWCURTISLEGENDREBASIS_HPP
45#define STOKHOS_CLENSHAWCURTISLEGENDREBASIS_HPP
56 template <
typename ordinal_type,
typename value_type>
86 Teuchos::Array<value_type>& points,
87 Teuchos::Array<value_type>& weights,
88 Teuchos::Array< Teuchos::Array<value_type> >& values)
const;
~ClenshawCurtisLegendreBasis()
Destructor.
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.
virtual ordinal_type pointGrowth(ordinal_type n) const
Evaluate point growth rule for Smolyak-type bases.
ClenshawCurtisLegendreBasis & operator=(const ClenshawCurtisLegendreBasis &b)
ClenshawCurtisLegendreBasis(const ClenshawCurtisLegendreBasis &)
virtual ordinal_type quadDegreeOfExactness(ordinal_type n) const
ClenshawCurtisLegendreBasis(ordinal_type p, bool normalize=false, bool isotropic=false)
Constructor.
virtual ordinal_type coefficientGrowth(ordinal_type n) const
Evaluate coefficient growth rule for Smolyak-type bases.
ClenshawCurtisLegendreBasis(ordinal_type p, const ClenshawCurtisLegendreBasis &basis)
Copy constructor with specified order.
virtual void getQuadPoints(ordinal_type quad_order, Teuchos::Array< value_type > &points, Teuchos::Array< value_type > &weights, Teuchos::Array< Teuchos::Array< value_type > > &values) const
Compute quadrature points, weights, and values of basis polynomials at given set of points points.
LegendreBasis(ordinal_type p, bool normalize=false, GrowthPolicy growth=SLOW_GROWTH)
Constructor.
bool normalize
Normalize basis.
ordinal_type p
Order of basis.
Top-level namespace for Stokhos classes and functions.