Teuchos::PolynomialTraits< Epetra_Vector > Class Template Reference

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

#include <EpetraExt_PolynomialVectorTraits.h>

List of all members.

Public Types

typedef Epetra_Vector coeff_type
 Typename of coefficients.
typedef double 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<>
class Teuchos::PolynomialTraits< Epetra_Vector >

Specilization of Teuchos::PolynomialTraits for Epetra vectors.

This class provides a specilization of Teuchos::PolynomialTraits for Epetra_Vector vectors, allowing these vectors to be coefficients in the Teuchos::Polynomial.

Definition at line 43 of file EpetraExt_PolynomialVectorTraits.h.


Member Typedef Documentation

typedef Epetra_Vector Teuchos::PolynomialTraits< Epetra_Vector >::coeff_type
 

Typename of coefficients.

Definition at line 47 of file EpetraExt_PolynomialVectorTraits.h.

typedef double Teuchos::PolynomialTraits< Epetra_Vector >::scalar_type
 

Typename of scalars.

Definition at line 50 of file EpetraExt_PolynomialVectorTraits.h.


Member Function Documentation

Teuchos::RefCountPtr<coeff_type> Teuchos::PolynomialTraits< Epetra_Vector >::clone const coeff_type c  )  [inline, static]
 

Clone a coefficient.

Definition at line 53 of file EpetraExt_PolynomialVectorTraits.h.

void Teuchos::PolynomialTraits< Epetra_Vector >::copy const coeff_type x,
coeff_type y
[inline, static]
 

Copy a coefficient.

Definition at line 58 of file EpetraExt_PolynomialVectorTraits.h.

void Teuchos::PolynomialTraits< Epetra_Vector >::assign coeff_type y,
const scalar_type alpha
[inline, static]
 

Assign a scalar to a coefficient.

Definition at line 63 of file EpetraExt_PolynomialVectorTraits.h.

void Teuchos::PolynomialTraits< Epetra_Vector >::update coeff_type y,
const coeff_type x,
const scalar_type beta
[inline, static]
 

y = x + beta*y

Definition at line 68 of file EpetraExt_PolynomialVectorTraits.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:32:07 2008 for EpetraExt Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1