PIPS-NLP
|
#include <DoubleLinearSolver.h>
Public Member Functions | |
StoredMatTimesVec (DoubleMatrix *mat) | |
virtual | ~StoredMatTimesVec () |
void | doIt (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
Protected Attributes | |
DoubleMatrix * | mMat |
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.
StoredMatTimesVec::StoredMatTimesVec | ( | DoubleMatrix * | mat | ) |
|
inlinevirtual |
|
virtual |
y = beta * y + alpha * A * x
Implements MatTimesVec.
|
protected |