EpetraExt
Development
|
Provides the interface to generic abstract vector libraries. More...
#include <GenSQP_Vector.hpp>
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< Vector > | createVector () const =0 |
Clone to make a new (uninitialized) vector. More... | |
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.
|
inlinevirtual |
Definition at line 65 of file GenSQP_Vector.hpp.
|
pure virtual |
Returns inner(*this,x).
Implemented in GenSQP::YUEpetraVector.
|
pure virtual |
y = alpha*x + beta*y
where y == *this
.
Implemented in GenSQP::YUEpetraVector.
|
pure virtual |
y = alpha*y
where y == *this
.
Implemented in GenSQP::YUEpetraVector.
|
pure virtual |
y = alpha
where y == *this
.
Implemented in GenSQP::YUEpetraVector.
|
pure virtual |
y = alpha*x
where y == *this
.
Implemented in GenSQP::YUEpetraVector.
|
pure virtual |
Clone to make a new (uninitialized) vector.
Implemented in GenSQP::YUEpetraVector.