#include <SparseSymMatrix.h>
Inheritance diagram for SparseSymMatrix:
Public Methods | |
virtual int | isKindOf (int type) |
virtual void | putSparseTriple (int irow[], int len, int jcol[], double A[], int &info) |
virtual void | fromGetDense (int row, int col, double *A, int lda, int rowExtent, int colExtent) |
virtual void | fromGetSpRow (int row, int col, double A[], int lenA, int jcolA[], int &nnz, int colExtent, int &info) |
virtual void | SymmetricScale (OoqpVector &vec) |
virtual void | ColumnScale (OoqpVector &vec) |
virtual void | RowScale (OoqpVector &vec) |
virtual void | scalarMult (double num) |
virtual void | symAtPutSpRow (int col, double A[], int lenA, int jcolA[], int &info) |
virtual void | getSize (int &m, int &n) |
virtual int | size () |
virtual void | getDiagonal (OoqpVector &vec) |
virtual void | setToDiagonal (OoqpVector &vec) |
virtual void | symAtPutSubmatrix (int destRow, int destCol, DoubleMatrix &M, int srcRow, int srcCol, int rowExtent, int colExtent) |
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 | randomizePSD (double *) |
virtual void | atPutDiagonal (int idiag, OoqpVector &v) |
virtual void | fromGetDiagonal (int idiag, OoqpVector &v) |
int | numberOfNonZeros () |
|
the magnitude of the element in this matrix with largest absolute value. Implements DoubleMatrix. |
|
Set some of the diagonal elements of this matrix.
Implements DoubleMatrix. |
|
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. |
|
Randomize the elements of this matrix in a manner that makes the matrix positive semi-definite. Implements SymMatrix. |
|
Set the matrix to the diagoanl matrix whose diagonal is vec Implements DoubleMatrix. |
|
the size of this square matrix Implements SymMatrix. |
|
Put a sparse row into this matrix symmetrically. Elements of the row that would lie above the diagonal are ignored. The matrix is symmetrized by reflection across the diagonal. The meaning of the parmameters is the same as in fromGetSpRow.
Implements SymMatrix. |
|
Put a submatrix of M into this matrix. The submatrix is placed into this matrix in a manner that preserves the symmetry of this matrix. The element of M whose destination is in the lower triangle of this matrix are placed there without change, and the upper triangle is taken to be the reflection across the diagonal.
Implements SymMatrix. |
|
Get the number of rows and columns in the matrix
Implements DoubleMatrix. |
|
y = beta * y + alpha * this^T * x Implements DoubleMatrix. |
|
Write this element to a C++ stream Implements DoubleMatrix. |