#include <SparseGenMatrix.h>
Inheritance diagram for SparseGenMatrix:
Public Methods | |
virtual void | getSize (int &m, int &n) |
virtual int | numberOfNonZeros () |
virtual int | isKindOf (int matType) |
virtual void | atPutDense (int row, int col, double *A, int lda, int rowExtent, int colExtent) |
virtual void | fromGetDense (int row, int col, double *A, int lda, int rowExtent, int colExtent) |
virtual void | ColumnScale (OoqpVector &vec) |
virtual void | RowScale (OoqpVector &vec) |
virtual void | SymmetricScale (OoqpVector &vec) |
virtual void | scalarMult (double num) |
virtual void | fromGetSpRow (int row, int col, double A[], int lenA, int jcolA[], int &nnz, int colExtent, int &info) |
virtual void | atPutSubmatrix (int destRow, int destCol, DoubleMatrix &M, int srcRow, int srcCol, int rowExtent, int colExtent) |
virtual void | atPutSpRow (int col, double A[], int lenA, int jcolA[], int &info) |
virtual void | putSparseTriple (int irow[], int len, int jcol[], double A[], int &info) |
virtual void | getDiagonal (OoqpVector &vec) |
virtual void | setToDiagonal (OoqpVector &vec) |
virtual void | mult (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
virtual void | transMult (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
virtual double | abmaxnorm () |
virtual void | writeToStream (ostream &out) const |
virtual void | symmetrize (int &info) |
virtual void | randomize (double alpha, double beta, double *seed) |
virtual void | atPutDiagonal (int idiag, OoqpVector &v) |
virtual void | fromGetDiagonal (int idiag, OoqpVector &v) |
|
the magnitude of the element in this matrix with largest absolute value. Implements DoubleMatrix. |
|
Set the value of some of the elements of this matrix.
Implements GenMatrix. |
|
Set some of the diagonal elements of this matrix.
Implements DoubleMatrix. |
|
Put a sparse row into this matrix. The meaning of the parmameters is the same as in fromGetSpRow.
Implements GenMatrix. |
|
Put a submatrix of M into this matrix.
Implements GenMatrix. |
|
Get the value of some of the elements of this matrix.
Implements DoubleMatrix. |
|
Get some of the diagonal elements of this matrix.
Implements DoubleMatrix. |
|
Get one sparse row from this matrix.
Implements DoubleMatrix. |
|
Place the diagonal elements of this matrix in the vector vec Implements DoubleMatrix. |
|
True if this matrix identifies itself to be of type matrixType. Implements DoubleMatrix. |
|
y = beta * y + alpha * this * x Implements DoubleMatrix. |
|
The actual number of structural non-zero elements in this sparse matrix. This includes so-called "accidental" zeros, elements that are treated as non-zero even though their value happens to be zero. |
|
Copy elements from sparse triple format into this matrix
Implements DoubleMatrix. |
|
Fill this matrix with random elements.
Implements GenMatrix. |
|
Set the matrix to the diagoanl matrix whose diagonal is vec Implements DoubleMatrix. |
|
Get the number of rows and columns in the matrix
Implements DoubleMatrix. |
|
Make the elements in this matrix symmetric. The elements of interest must be in the lower triangle, and the upper triangle must be empty.
|
|
y = beta * y + alpha * this^T * x Implements DoubleMatrix. |
|
Write this element to a C++ stream Implements DoubleMatrix. |