Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > > Class Template Reference

Specilization of Teuchos::PolynomialTraits for Thyra vectors. More...

#include <Thyra_PolynomialVectorTraits.hpp>

List of all members.

Public Types

typedef Thyra::VectorBase<
Scalar > 
coeff_type
 Typename of coefficients.
typedef Scalar scalar_type
 Typename of scalars.

Static Public Member Functions

Teuchos::RefCountPtr< coeff_typeclone (const coeff_type &c)
 Clone a coefficient.
void copy (const coeff_type &x, coeff_type *y)
 Copy a coefficient.
void assign (coeff_type *y, const scalar_type &alpha)
 Assign a scalar to a coefficient.
void update (coeff_type *y, const coeff_type &x, const scalar_type &beta)
 y = x + beta*y


Detailed Description

template<typename Scalar>
class Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > >

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 44 of file Thyra_PolynomialVectorTraits.hpp.


Member Typedef Documentation

template<typename Scalar>
typedef Thyra::VectorBase<Scalar> Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > >::coeff_type
 

Typename of coefficients.

Definition at line 48 of file Thyra_PolynomialVectorTraits.hpp.

template<typename Scalar>
typedef Scalar Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > >::scalar_type
 

Typename of scalars.

Definition at line 51 of file Thyra_PolynomialVectorTraits.hpp.


Member Function Documentation

template<typename Scalar>
Teuchos::RefCountPtr<coeff_type> Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > >::clone const coeff_type c  )  [inline, static]
 

Clone a coefficient.

Definition at line 54 of file Thyra_PolynomialVectorTraits.hpp.

template<typename Scalar>
void Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > >::copy const coeff_type x,
coeff_type y
[inline, static]
 

Copy a coefficient.

Definition at line 59 of file Thyra_PolynomialVectorTraits.hpp.

template<typename Scalar>
void Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > >::assign coeff_type y,
const scalar_type alpha
[inline, static]
 

Assign a scalar to a coefficient.

Definition at line 64 of file Thyra_PolynomialVectorTraits.hpp.

template<typename Scalar>
void Teuchos::PolynomialTraits< Thyra::VectorBase< Scalar > >::update coeff_type y,
const coeff_type x,
const scalar_type beta
[inline, static]
 

y = x + beta*y

Definition at line 69 of file Thyra_PolynomialVectorTraits.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:32:13 2008 for Extended Thyra ANA Operator/Vector Interfaces by doxygen 1.3.9.1