EpetraExt Development
Loading...
Searching...
No Matches
Teuchos::PolynomialTraits< Epetra_Vector > Class Reference

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

#include <EpetraExt_PolynomialVectorTraits.h>

Public Types

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

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

◆ coeff_type

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

Typename of coefficients.

Definition at line 68 of file EpetraExt_PolynomialVectorTraits.h.

◆ scalar_type

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

Typename of scalars.

Definition at line 71 of file EpetraExt_PolynomialVectorTraits.h.

Member Function Documentation

◆ clone()

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.

◆ copy()

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.

◆ assign()

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.

◆ update()

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: