#include <DoubleMatrix.h>
Inheritance diagram for SymMatrix:
Public Methods | |
virtual void | symAtPutSubmatrix (int destRow, int destCol, DoubleMatrix &M, int srcRow, int srcCol, int rowExtent, int colExtent)=0 |
virtual void | randomizePSD (double *seed)=0 |
virtual void | symAtPutSpRow (int col, double A[], int lenA, int irowA[], int &info)=0 |
virtual int | size ()=0 |
|
Randomize the elements of this matrix in a manner that makes the matrix positive semi-definite. Implemented in DenseSymMatrix, and SparseSymMatrix. |
|
the size of this square matrix Implemented in DenseSymMatrix, and SparseSymMatrix. |
|
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.
Implemented in DenseSymMatrix, and SparseSymMatrix. |
|
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.
Implemented in DenseSymMatrix, and SparseSymMatrix. |