#include <Sacado_PCE_HermiteBasis.hpp>
Public Types | |
| typedef T | value_type |
| Typename of values. | |
Public Member Functions | |
| HermiteBasis (unsigned int degree) | |
| Constructor. | |
| HermiteBasis (const HermiteBasis &b) | |
| Copy constructor. | |
| ~HermiteBasis () | |
| Destructor. | |
| HermiteBasis & | operator= (const HermiteBasis &b) |
| Assignment. | |
| unsigned int | size () const |
| Return size of basis. | |
| const std::vector< T > & | norm_squared () const |
| Compute norm squared of each basis element. | |
| T | derivCoeff (unsigned int i) const |
| Get coefficient of derivative. | |
| void | project (const StandardPoly< T > &poly, std::vector< T > &coeffs) const |
| Project a polynomial into this basis. | |
| StandardPoly< T > | toStandardBasis (const T coeffs[], unsigned int n) const |
| Write polynomial in standard basis. | |
| const StandardPoly< T > & | getBasisPoly (unsigned int i) const |
| Get basis polynomial. | |
| void | print (std::ostream &os) const |
Protected Attributes | |
| unsigned int | d |
| Degree of basis. | |
| std::vector< StandardPoly< T > > | basis |
| Basis polynomials. | |
| std::vector< T > | norms |
| Norms. | |
Definition at line 44 of file Sacado_PCE_HermiteBasis.hpp.
| typedef T Sacado::PCE::HermiteBasis< T >::value_type |
| Sacado::PCE::HermiteBasis< T >::HermiteBasis | ( | unsigned int | degree | ) |
| Sacado::PCE::HermiteBasis< T >::HermiteBasis | ( | const HermiteBasis< T > & | b | ) |
Copy constructor.
| Sacado::PCE::HermiteBasis< T >::~HermiteBasis | ( | ) |
| HermiteBasis& Sacado::PCE::HermiteBasis< T >::operator= | ( | const HermiteBasis< T > & | b | ) |
Assignment.
| unsigned int Sacado::PCE::HermiteBasis< T >::size | ( | ) | const |
| const std::vector< T > & Sacado::PCE::HermiteBasis< T >::norm_squared | ( | ) | const |
Compute norm squared of each basis element.
Definition at line 95 of file Sacado_PCE_HermiteBasisImp.hpp.
| T Sacado::PCE::HermiteBasis< T >::derivCoeff | ( | unsigned int | i | ) | const |
| void Sacado::PCE::HermiteBasis< T >::project | ( | const StandardPoly< T > & | poly, | |
| std::vector< T > & | coeffs | |||
| ) | const |
Project a polynomial into this basis.
Definition at line 111 of file Sacado_PCE_HermiteBasisImp.hpp.
| Sacado::PCE::StandardPoly< T > Sacado::PCE::HermiteBasis< T >::toStandardBasis | ( | const T | coeffs[], | |
| unsigned int | n | |||
| ) | const |
| const Sacado::PCE::StandardPoly< T > & Sacado::PCE::HermiteBasis< T >::getBasisPoly | ( | unsigned int | i | ) | const |
| void Sacado::PCE::HermiteBasis< T >::print | ( | std::ostream & | os | ) | const |
Definition at line 179 of file Sacado_PCE_HermiteBasisImp.hpp.
unsigned int Sacado::PCE::HermiteBasis< T >::d [protected] |
std::vector< StandardPoly<T> > Sacado::PCE::HermiteBasis< T >::basis [protected] |
std::vector<T> Sacado::PCE::HermiteBasis< T >::norms [protected] |
1.4.7