GenSQP::Vector Class Reference

Provides the interface to generic abstract vector libraries. More...

#include <GenSQP_Vector.hpp>

Inheritance diagram for GenSQP::Vector:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Vector ()
virtual double innerProd (const Vector &x) const =0
 Returns inner(*this,x).
virtual void linComb (const double &alpha, const Vector &x, const double &beta=1.0)=0
 y = alpha*x + beta*y where y == *this.
virtual void Scale (const double &alpha)=0
 y = alpha*y where y == *this.
virtual void Set (const double &alpha)=0
 y = alpha where y == *this.
virtual void Set (const double &alpha, const Vector &x)=0
 y = alpha*x where y == *this.
virtual Teuchos::RefCountPtr<
Vector
createVector () const =0
 Clone to make a new (uninitialized) vector.

Detailed Description

Provides the interface to generic abstract vector libraries.

The interfaced functionality is very basic and includes routines for:

Definition at line 19 of file GenSQP_Vector.hpp.


Constructor & Destructor Documentation

virtual GenSQP::Vector::~Vector (  )  [inline, virtual]

Definition at line 22 of file GenSQP_Vector.hpp.


Member Function Documentation

virtual double GenSQP::Vector::innerProd ( const Vector x  )  const [pure virtual]

Returns inner(*this,x).

Implemented in GenSQP::YUEpetraVector.

virtual void GenSQP::Vector::linComb ( const double &  alpha,
const Vector x,
const double &  beta = 1.0 
) [pure virtual]

y = alpha*x + beta*y where y == *this.

Implemented in GenSQP::YUEpetraVector.

virtual void GenSQP::Vector::Scale ( const double &  alpha  )  [pure virtual]

y = alpha*y where y == *this.

Implemented in GenSQP::YUEpetraVector.

virtual void GenSQP::Vector::Set ( const double &  alpha  )  [pure virtual]

y = alpha where y == *this.

Implemented in GenSQP::YUEpetraVector.

virtual void GenSQP::Vector::Set ( const double &  alpha,
const Vector x 
) [pure virtual]

y = alpha*x where y == *this.

Implemented in GenSQP::YUEpetraVector.

virtual Teuchos::RefCountPtr<Vector> GenSQP::Vector::createVector (  )  const [pure virtual]

Clone to make a new (uninitialized) vector.

Implemented in GenSQP::YUEpetraVector.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:40:42 2010 for EpetraExt by  doxygen 1.4.7