#include <DenseSymMatrix.h>
Inheritance diagram for DenseSymMatrix:
Public Methods | |
virtual int | isKindOf (int matrixType) |
virtual void | mult (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
virtual void | transMult (double beta, OoqpVector &y, double alpha, OoqpVector &x) |
virtual void | getSize (int &m, int &n) |
virtual double | abmaxnorm () |
virtual void | writeToStream (ostream &out) const |
virtual void | randomizePSD (double *seed) |
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 rowExtent, 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 irowA[], int &info) |
virtual void | symAtPutDense (int row, int col, double *A, int lda, int rowExtent, int colExtent) |
virtual void | symAtPutZeros (int row, int col, int rowExtent, int colExtent) |
virtual void | putSparseTriple (int irow[], int len, int jcol[], double A[], int &info) |
virtual void | symAtPutSubmatrix (int destRow, int destCol, DoubleMatrix &M, int srcRow, int srcCol, int rowExtent, int colExtent) |
virtual void | getDiagonal (OoqpVector &vec) |
virtual void | setToDiagonal (OoqpVector &vec) |
virtual void | atPutDiagonal (int idiag, OoqpVector &v) |
virtual void | fromGetDiagonal (int idiag, OoqpVector &v) |
double * | elements () |
double ** | Mat () |
virtual int | size () |
|
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. |
|
Return a pointer to the first element in the matrix |
|
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. |
|
Return mMat, an |
|
y = beta * y + alpha * this * x Implements DoubleMatrix. |
|
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. |
|
Insert the dense array symmetrically (the part that winds up in the lower triangle of this matrix is significant.) |
|
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. |
|
Put a block of zeros into this matrix symmetrically (the part that winds up in the lower triangle of this matrix is significant.) |
|
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. |