EpetraExt Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
GenSQP::Vector Class Referenceabstract

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

#include <GenSQP_Vector.hpp>

Inheritance diagram for GenSQP::Vector:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

Provides the interface to generic abstract vector libraries.

The interfaced functionality is very basic and includes routines for:

Definition at line 62 of file GenSQP_Vector.hpp.

Constructor & Destructor Documentation

virtual GenSQP::Vector::~Vector ( )
inlinevirtual

Definition at line 65 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::RCP<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: