#include <SparseGenMatrix.hh>
Inheritance diagram for SparseGenMatrix:
Public Methods | |
virtual int | rows () const |
return the number of rows. | |
virtual int | columns () const |
return the number of columns. | |
virtual int | maxNonZeros () const |
return number of nonzeros possible for this | |
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 |
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 | mDataArray |
data will be used to store matrix. |
|
Write the components of this OOQP_Matrix to a stream, subject to a format.
Implements GenMatrix. |