EpetraExt Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
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 58 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 62 of file EpetraExt_PolynomialVectorTraits.h.

◆ scalar_type

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

Typename of scalars.

Definition at line 65 of file EpetraExt_PolynomialVectorTraits.h.

Member Function Documentation

◆ clone()

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

Clone a coefficient.

Definition at line 68 of file EpetraExt_PolynomialVectorTraits.h.

◆ copy()

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

Copy a coefficient.

Definition at line 73 of file EpetraExt_PolynomialVectorTraits.h.

◆ assign()

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

Assign a scalar to a coefficient.

Definition at line 78 of file EpetraExt_PolynomialVectorTraits.h.

◆ update()

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


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