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

static Teuchos::RefCountPtr
< coeff_type
clone (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<>
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 45 of file EpetraExt_PolynomialVectorTraits.h.


Member Typedef Documentation

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

Typename of coefficients.

Definition at line 49 of file EpetraExt_PolynomialVectorTraits.h.

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

Typename of scalars.

Definition at line 52 of file EpetraExt_PolynomialVectorTraits.h.


Member Function Documentation

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

Clone a coefficient.

Definition at line 55 of file EpetraExt_PolynomialVectorTraits.h.

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

Copy a coefficient.

Definition at line 60 of file EpetraExt_PolynomialVectorTraits.h.

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

Assign a scalar to a coefficient.

Definition at line 65 of file EpetraExt_PolynomialVectorTraits.h.

static 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 70 of file EpetraExt_PolynomialVectorTraits.h.


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 09:57:56 2011 for EpetraExt by  doxygen 1.6.3