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

static Teuchos::RCP< coeff_typeclone (const coeff_type &c)
 Clone a coefficient.
static void copy (const coeff_type &x, coeff_type *y)
 Copy a coefficient.
static void assign (coeff_type *y, const scalar_type &alpha)
 Assign a scalar to a coefficient.
static 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 46 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 50 of file Thyra_PolynomialVectorTraits.hpp.

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

Typename of scalars.

Definition at line 53 of file Thyra_PolynomialVectorTraits.hpp.


Member Function Documentation

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

Clone a coefficient.

Definition at line 56 of file Thyra_PolynomialVectorTraits.hpp.

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

Copy a coefficient.

Definition at line 61 of file Thyra_PolynomialVectorTraits.hpp.

template<typename Scalar >
static 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 66 of file Thyra_PolynomialVectorTraits.hpp.

template<typename Scalar >
static 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 71 of file Thyra_PolynomialVectorTraits.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:00:37 2011 for Thyra by  doxygen 1.6.3