Thyra
Version of the Day
|
Specilization of Teuchos::PolynomialTraits for Thyra vectors. More...
#include <Thyra_PolynomialVectorTraits.hpp>
Public Types | |
typedef Thyra::VectorBase< Scalar > | coeff_type |
Typename of coefficients. More... | |
typedef Scalar | scalar_type |
Typename of scalars. More... | |
Static Public Member Functions | |
static Teuchos::RCP< coeff_type > | clone (const coeff_type &c) |
Clone a coefficient. More... | |
static void | copy (const coeff_type &x, coeff_type *y) |
Copy a coefficient. More... | |
static void | assign (coeff_type *y, const scalar_type &alpha) |
Assign a scalar to a coefficient. More... | |
static void | update (coeff_type *y, const coeff_type &x, const scalar_type &beta) |
y = x + beta*y More... | |
Specilization of Teuchos::PolynomialTraits for Thyra vectors.
This class provides a specilization of Teuchos::PolynomialTraits for Thyra::VectorBase vectors, allowing these vectors to be coefficients in the Teuchos::Polynomial.
Definition at line 27 of file Thyra_PolynomialVectorTraits.hpp.
typedef Thyra::VectorBase<Scalar> Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > >::coeff_type |
Typename of coefficients.
Definition at line 31 of file Thyra_PolynomialVectorTraits.hpp.
typedef Scalar Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > >::scalar_type |
Typename of scalars.
Definition at line 34 of file Thyra_PolynomialVectorTraits.hpp.
|
inlinestatic |
Clone a coefficient.
Definition at line 37 of file Thyra_PolynomialVectorTraits.hpp.
|
inlinestatic |
Copy a coefficient.
Definition at line 42 of file Thyra_PolynomialVectorTraits.hpp.
|
inlinestatic |
Assign a scalar to a coefficient.
Definition at line 47 of file Thyra_PolynomialVectorTraits.hpp.
|
inlinestatic |
y = x + beta*y
Definition at line 52 of file Thyra_PolynomialVectorTraits.hpp.