|
Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the documentation of this file.
44 #ifndef STOKHOS_ORTHOGPOLYBASIS_HPP
45 #define STOKHOS_ORTHOGPOLYBASIS_HPP
73 template <
typename ordinal_type,
typename value_type>
131 virtual void print(std::ostream& os)
const = 0;
134 virtual const std::string&
getName()
const = 0;
147 template <
typename ordinal_type,
typename value_type>
157 #endif // STOKHOS_ORTHOGPOLYBASIS
OrthogPolyBasis & operator=(const OrthogPolyBasis &b)
virtual ordinal_type order() const =0
Return order of basis.
virtual ordinal_type dimension() const =0
Return dimension of basis.
virtual void evaluateBases(const Teuchos::ArrayView< const value_type > &point, Teuchos::Array< value_type > &basis_vals) const =0
Evaluate basis polynomials at given point point.
std::ostream & operator<<(std::ostream &os, const ProductContainer< coeff_type > &vec)
virtual ordinal_type size() const =0
Return total size of basis.
virtual ~OrthogPolyBasis()
Destructor.
Top-level namespace for Stokhos classes and functions.
virtual Teuchos::RCP< Stokhos::Sparse3Tensor< ordinal_type, value_type > > computeTripleProductTensor() const =0
Compute triple product tensor.
virtual const std::string & getName() const =0
Return string name of basis.
virtual const Teuchos::Array< value_type > & norm_squared() const =0
Return array storing norm-squared of each basis polynomial.
virtual void print(std::ostream &os) const =0
Print basis to stream os.
OrthogPolyBasis()
Constructor.
virtual Teuchos::RCP< Stokhos::Sparse3Tensor< ordinal_type, value_type > > computeLinearTripleProductTensor() const =0
Compute linear triple product tensor where k = 0,1.
Abstract base class for multivariate orthogonal polynomials.
virtual value_type evaluateZero(ordinal_type i) const =0
Evaluate basis polynomial i at zero.