#include <SparseSymMatrix.hh>
Inheritance diagram for SparseSymMatrix:

Public Methods | |
| SparseSymMatrix (int n, int mz) | |
| Constructor. | |
| SparseSymMatrix (double *v, int *irow, int *kcol, int n, int mz) | |
| Constructor. | |
| virtual | ~SparseSymMatrix () |
| Destructor. | |
| int | leadingDimension () const |
| Return mLeadingDimension. | |
| virtual int | rows () const |
| return the number of rows. | |
| virtual int | columns () const |
| return the number of columns. | |
| int | maxNonZeros () const |
| return the size of this square matrix | |
| virtual void | setToZero () |
| Set all elements of this XXX_Matrix 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 |
| mult | |
| virtual void | symMaskedMult (double alpha, const IotrMask &mask, const IotrVector &x, double beta, IotrVector &y) const |
| virtual void | symCopyFromSparseCols (const int irow[], const int kcol[], const double M[], int &has_upper) |
| Copies lower triangular entries of sparsely stored matrix described by (irow, kcol, M) into this. | |
| virtual void | symCopyToSparseCols (int irow[], int len, int kcol[], double M[], int &morei) const |
| virtual void | inspect (const char *name_in=0, const char *filename=0) const |
| virtual void | inspectAsMatlab (const char *name_in=0, const char *filename=0) const |
| virtual double | lowerBoundEigenvalue () const |
Protected Attributes | |
| SimpleArrayDataHandle | mDataArray |
| data will be used to store matrix | |
| double * | mElements |
| 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 SymMatrix. |
1.2.18