#include <DenseGenMatrix.hh>
Inheritance diagram for DenseGenMatrix:
Public Methods | |
virtual int | rows () const |
return the number of rows. | |
virtual int | columns () const |
return the number of columns. | |
virtual void | clearRange (int istart, int jstart, int iextent, int jextent) |
Set all elements in range to zero. | |
virtual void | writefToStream (std::ostream &out, const char format[]) const |
Write the components of this OOQP_Matrix to a stream, subject to a format. | |
virtual void | mult (double alpha, const IotrVector &x, double beta, IotrVector &y) const |
y := beta * y + alpha * this * x | |
virtual void | filteredMult (double alpha, const ElementGather &filter, const IotrVector &x, double beta, IotrVector &y) const |
virtual void | transposeMult (double alpha, const IotrVector &x, double beta, IotrVector &y) const |
Transpose multiply y := beta * y + alpha * this^T * x. | |
virtual void | filteredTransposeMult (double alpha, const IotrVector &x, double beta, const ElementGather &filt, IotrVector &y) const |
Transpose multiply y := beta * y + alpha * this^T * x. | |
virtual void | copyFromSparseCols (const int irow[], const int kcol[], const double M[]) |
y := beta * y + alpha * this * iequality * x | |
virtual void | copyToSparseCols (int irow[], int len, int kcol[], double M[], int &morei) const |
virtual void | inspect (const char *name=0, const char *filename=0) const |
virtual void | inspectAsMatlab (const char *name=0, const char *filename=0) const |
Protected Attributes | |
SimpleArrayDataHandle | data |
data will be used to store matrix. | |
double ** | mMat |
mMat will be an array of pointers whose elements point to the rows of the matrix |
|
Write the components of this OOQP_Matrix to a stream, subject to a format.
Implements GenMatrix. |