Definition in file dsdpdatamat.h.
Go to the source code of this file.
Typedefs | |
typedef DSDPDataMat_C | DSDPDataMat |
Represents a single symmetric data matrix for one block in this semidefinite cone. | |
Functions | |
int | DSDPDataMatCountNonzeros (DSDPDataMat, int *, int) |
Compute the square of the Frobenius norm. | |
int | DSDPDataMatDestroy (DSDPDataMat *) |
Free the data structures. | |
int | DSDPDataMatDot (DSDPDataMat, double[], int, int, double *) |
Compute inner product of data with a dense matrix. | |
int | DSDPDataMatFNorm2 (DSDPDataMat, int, double *) |
Compute the square of the Frobenius norm. | |
int | DSDPDataMatGetEig (DSDPDataMat, int, SDPConeVec, DSDPIndex, double *) |
Get an eigenvalue/vector pair. | |
int | DSDPDataMatGetRank (DSDPDataMat, int *, int) |
Get the number of nonzero eigenvalues/eigenvectors for the matrix. | |
int | DSDPDataMatGetRowNonzeros (DSDPDataMat, int, int, int *, int *) |
Get sparsity pattern of a row of the matrix. | |
int | DSDPDataMatInitialize (DSDPDataMat *) |
Set pointers to NULL;. | |
int | DSDPDataMatSetData (DSDPDataMat *, struct DSDPDataMat_Ops *, void *) |
Set the opaque pointer and function pointers to the matrix. | |
int | DSDPDataMatTest (DSDPDataMat) |
Test validity of matrix. | |
int | DSDPDataMatVecVec (DSDPDataMat, SDPConeVec, double *) |
Compute w' A w. | |
int | DSDPDataMatView (DSDPDataMat) |
Print matrix. |
|
Represents a single symmetric data matrix for one block in this semidefinite cone.
Definition at line 25 of file dsdpdatamat.h. |
|
Compute the square of the Frobenius norm.
Definition at line 152 of file dsdpdatamat.c. |
|
Free the data structures.
Definition at line 444 of file dsdpdatamat.c. Referenced by DSDPBlockAddDataMatrix(), DSDPBlockDataDestroy(), and DSDPBlockRemoveDataMatrix(). |
|
Compute inner product of data with a dense matrix.
Definition at line 273 of file dsdpdatamat.c. Referenced by DSDPBlockADot(), and DSDPDataMatCheck(). |
|
Compute the square of the Frobenius norm.
Definition at line 175 of file dsdpdatamat.c. Referenced by DSDPDataMatCheck(). |
|
Get an eigenvalue/vector pair.
Definition at line 204 of file dsdpdatamat.c. Referenced by DSDPDataMatCheck(), SDPConeComputeHessian(), SDPConeComputeRHS(), SDPConeComputeXX(), and SDPConeMultiply(). |
|
Get the number of nonzero eigenvalues/eigenvectors for the matrix.
Definition at line 129 of file dsdpdatamat.c. Referenced by DSDPDataMatCheck(), SDPConeComputeHessian(), SDPConeComputeRHS(), SDPConeComputeXX(), and SDPConeMultiply(). |
|
Get sparsity pattern of a row of the matrix.
Definition at line 355 of file dsdpdatamat.c. Referenced by DSDPBlockDataRowSparsity(). |
|
Set pointers to NULL;.
Definition at line 78 of file dsdpdatamat.c. Referenced by DSDPBlockDataAllocate(), and DSDPDataMatDestroy(). |
|
Set the opaque pointer and function pointers to the matrix.
Definition at line 25 of file dsdpdatamat.c. Referenced by DSDPBlockAddDataMatrix(), DSDPDataMatInitialize(), and DSDPSetDataMatZero(). |
|
Test validity of matrix.
Definition at line 96 of file dsdpdatamat.c. Referenced by DSDPDataMatSetData(). |
|
Compute w' A w.
Definition at line 297 of file dsdpdatamat.c. Referenced by DSDPBlockvAv(), and DSDPDataMatCheck(). |
|
Print matrix.
Definition at line 423 of file dsdpdatamat.c. Referenced by DSDPBlockView2(), and SDPConeViewDataMatrix(). |