Provides the interface to generic abstract vector libraries. More...
#include <Aristos_Vector.hpp>
Public Member Functions | |
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 |
Provides the interface to generic abstract vector libraries.
The interfaced functionality is very basic and includes routines for:
|
pure virtual |
Clone to make a new (uninitialized) vector.
Implemented in Aristos::YUEpetraVector, Aristos::EpetraVector, and Aristos::SledgeVector.
Referenced by Aristos::SQPAlgo::run(), Aristos::SQPAlgo::runAcceptStep(), Aristos::SQPAlgo::runAcceptStepInx(), Aristos::SQPAlgo::runDerivativeCheck(), Aristos::SQPAlgo::runQuasiNormalStep(), Aristos::SQPAlgo::runTangentialStep(), and Aristos::SQPAlgo::runTangentialStepInx().