PIPS-NLP
Public Member Functions | Protected Attributes | List of all members
StoredMatTimesVec Class Reference

#include <DoubleLinearSolver.h>

Inheritance diagram for StoredMatTimesVec:
MatTimesVec

Public Member Functions

 StoredMatTimesVec (DoubleMatrix *mat)
 
virtual ~StoredMatTimesVec ()
 
void doIt (double beta, OoqpVector &y, double alpha, OoqpVector &x)
 

Protected Attributes

DoubleMatrixmMat
 

Detailed Description

An implementation of the abstract class that performs a mat-vec with both the matrix and vector being on the same processor.

It can use OOQP matrix and the implementation is based on SimpleVector class.

Constructor & Destructor Documentation

StoredMatTimesVec::StoredMatTimesVec ( DoubleMatrix mat)
virtual StoredMatTimesVec::~StoredMatTimesVec ( )
inlinevirtual

Member Function Documentation

void StoredMatTimesVec::doIt ( double  beta,
OoqpVector y,
double  alpha,
OoqpVector x 
)
virtual

y = beta * y + alpha * A * x

Implements MatTimesVec.

Member Data Documentation

DoubleMatrix* StoredMatTimesVec::mMat
protected

The documentation for this class was generated from the following files: