Rys polynomial basis. More...
#include <Stokhos_RysBasis.hpp>


Public Member Functions | |
| RysBasis (ordinal_type p, value_type c, bool normalize) | |
| Constructor. | |
| ~RysBasis () | |
| 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. | |
Static Public Member Functions | |
| static value_type | rysWeight (const value_type &x) |
| The Rys weight function. | |
Protected Member Functions | |
| RysBasis (ordinal_type p, const RysBasis &basis) | |
| Copy constructor with specified order. | |
Rys polynomial basis.
Rys polynomials are polynomials orthogonal with respect to the weight function
defined on the interval
, for a given choice of
. The corresponding density
is obtained by scaling
to unit probability.
The coefficients of the corresponding three-term recursion are generated using the Discretized Stieltjes procedure implemented by Stokhos::DiscretizedStieltjesBasis.
| Stokhos::RysBasis< ordinal_type, value_type >::RysBasis | ( | ordinal_type | p, |
| value_type | c, | ||
| bool | normalize | ||
| ) | [inline] |
Constructor.
| p | order of the basis |
| c | defines domain of support of weight function |
| normalize | whether polynomials should be given unit norm |
| virtual Teuchos::RCP<OneDOrthogPolyBasis<ordinal_type,value_type> > Stokhos::RysBasis< ordinal_type, value_type >::cloneWithOrder | ( | ordinal_type | p | ) | const [inline, virtual] |
Clone this object with the option of building a higher order basis.
This method is following the Prototype pattern (see Design Pattern's textbook). The slight variation is that it allows the order of the polynomial to be modified, otherwise an exact copy is formed. The use case for this is creating basis functions for column indices in a spatially varying adaptive refinement context.
Reimplemented from Stokhos::DiscretizedStieltjesBasis< ordinal_type, value_type >.
1.7.6.1