44 #ifndef GENSQP_VECTOR_H
45 #define GENSQP_VECTOR_H
73 virtual void linComb(
const double &alpha,
const Vector &x,
const double &beta = 1.0 ) = 0;
77 virtual void Scale(
const double &alpha ) = 0;
81 virtual void Set(
const double &alpha ) = 0;
85 virtual void Set(
const double &alpha,
const Vector &x ) = 0;
virtual void linComb(const double &alpha, const Vector &x, const double &beta=1.0)=0
y = alpha*x + beta*y where y == *this.
virtual Teuchos::RCP< Vector > createVector() const =0
Clone to make a new (uninitialized) vector.
Provides the interface to generic abstract vector libraries.
virtual void Scale(const double &alpha)=0
y = alpha*y where y == *this.
virtual double innerProd(const Vector &x) const =0
Returns inner(*this,x).
virtual void Set(const double &alpha)=0
y = alpha where y == *this.