EpetraExt  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
Teuchos::PolynomialTraits< Epetra_Vector > Class Template Reference

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

#include <EpetraExt_PolynomialVectorTraits.h>

Public Types

typedef Epetra_Vector coeff_type
 Typename of coefficients. More...
 
typedef double scalar_type
 Typename of scalars. More...
 

Static Public Member Functions

static Teuchos::RCP< coeff_typeclone (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...
 

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

Member Typedef Documentation

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

Typename of coefficients.

Definition at line 68 of file EpetraExt_PolynomialVectorTraits.h.

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

Typename of scalars.

Definition at line 71 of file EpetraExt_PolynomialVectorTraits.h.

Member Function Documentation

static Teuchos::RCP<coeff_type> Teuchos::PolynomialTraits< Epetra_Vector >::clone ( const coeff_type c)
inlinestatic

Clone a coefficient.

Definition at line 74 of file EpetraExt_PolynomialVectorTraits.h.

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

Copy a coefficient.

Definition at line 79 of file EpetraExt_PolynomialVectorTraits.h.

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

Assign a scalar to a coefficient.

Definition at line 84 of file EpetraExt_PolynomialVectorTraits.h.

static void Teuchos::PolynomialTraits< Epetra_Vector >::update ( coeff_type y,
const coeff_type x,
const scalar_type beta 
)
inlinestatic

y = x + beta*y

Definition at line 89 of file EpetraExt_PolynomialVectorTraits.h.


The documentation for this class was generated from the following file: