Definition in file dsdpblock.c.
Go to the source code of this file.
Functions | |
int | DSDPBlockAddDataMatrix (DSDPBlockData *ADATA, int vari, struct DSDPDataMat_Ops *dsdpdataops, void *data) |
Add data matrix into SDP block. | |
int | DSDPBlockADot (DSDPBlockData *ADATA, double aa, DSDPVec Alpha, DSDPVMat X, DSDPVec AX) |
Compute inner product of XX with data matrices. | |
int | DSDPBlockASum (DSDPBlockData *ADATA, double aa, DSDPVec Yk, DSDPVMat XX) |
Sum the data matrices. | |
int | DSDPBlockCountNonzeroMatrices (DSDPBlockData *ADATA, int *nzmats) |
Count how many data matrices are in a block of data. | |
int | DSDPBlockDataAllocate (DSDPBlockData *ADATA, int nnz) |
Allocate some structures. | |
int | DSDPBlockDataDestroy (DSDPBlockData *ADATA) |
Free the data matrices. | |
int | DSDPBlockDataInitialize (DSDPBlockData *ADATA) |
Set pointers to null. | |
int | DSDPBlockDataMarkNonzeroMatrices (DSDPBlockData *ADATA, int *annz) |
Mark which variable in block have a data matrix. | |
int | DSDPBlockDataRowSparsity (DSDPBlockData *ADATA, int row, int ai[], int rnnz[], int n) |
Determine sparsity pattern of data. | |
int | DSDPBlockFactorData (DSDPBlockData *ADATA, DSDPVMat X, SDPConeVec W) |
Factor the data matrices. | |
int | DSDPBlockGetMatrix (DSDPBlockData *ADATA, int id, int *vari, double *scl, DSDPDataMat *A) |
Get a data matrix from a block of data. | |
int | DSDPBlockRemoveDataMatrix (DSDPBlockData *ADATA, int vari) |
Remove a data matrix. | |
int | DSDPBlockSetDataMatrix (DSDPBlockData *ADATA, int vari, struct DSDPDataMat_Ops *dsdpdataops, void *data) |
Set data matrix into SDP block. | |
int | DSDPBlockTakeDownData (DSDPBlockData *ADATA) |
Free structures in block of data. | |
int | DSDPBlockvAv (DSDPBlockData *ADATA, double aa, DSDPVec Alpha, SDPConeVec V, DSDPVec VAV) |
Set VAV[i] to aa * Alpha[i] * V' A[i] V. | |
int | DSDPBlockView (DSDPBlockData *ADATA) |
Print the structure of the block. | |
int | DSDPBlockView2 (DSDPBlockData *ADATA) |
Print the data. | |
int | DSDPDataMatCheck (DSDPDataMat AA, SDPConeVec W, DSDPIndex IS, DSDPVMat XX) |
Check correctness of operations on the data. |
|
Add data matrix into SDP block.
Definition at line 381 of file dsdpblock.c. Referenced by DSDPBlockSetDataMatrix(), and SDPConeAddDataMatrix(). |
|
Compute inner product of XX with data matrices.
Definition at line 49 of file dsdpblock.c. Referenced by SDPConeAddADotX(), SDPConeComputeHessian(), SDPConeComputeRHS(), and SDPConeComputeXDot(). |
|
Sum the data matrices.
Definition at line 20 of file dsdpblock.c. Referenced by SDPConeComputeSS(), and SDPConeMultiply(). |
|
Count how many data matrices are in a block of data.
Definition at line 272 of file dsdpblock.c. Referenced by SDPConeCheckData(), SDPConeComputeRHS(), SDPConeComputeXX(), SDPConeMultiply(), SDPConeView3(), and SDPConeViewDataMatrix(). |
|
Allocate some structures.
Definition at line 221 of file dsdpblock.c. Referenced by DSDPBlockAddDataMatrix(), and SDPConeSetSparsity(). |
|
Free the data matrices.
Definition at line 195 of file dsdpblock.c. Referenced by SDPConeDestroy(). |
|
Set pointers to null.
Definition at line 163 of file dsdpblock.c. Referenced by DSDPBlockDataDestroy(), and DSDPBlockInitialize(). |
|
Mark which variable in block have a data matrix.
Definition at line 254 of file dsdpblock.c. Referenced by DSDPDataTransposeSetup(). |
|
Determine sparsity pattern of data.
Definition at line 330 of file dsdpblock.c. |
|
Factor the data matrices.
Definition at line 113 of file dsdpblock.c. Referenced by DSDPBlockSetup(). |
|
Get a data matrix from a block of data.
Definition at line 307 of file dsdpblock.c. Referenced by DSDPBlockFactorData(), SDPConeCheckData(), SDPConeComputeHessian(), SDPConeComputeRHS(), SDPConeComputeXX(), SDPConeMultiply(), and SDPConeViewDataMatrix(). |
|
Remove a data matrix.
Definition at line 351 of file dsdpblock.c. Referenced by DSDPBlockSetDataMatrix(), SDPConeRemoveDataMatrix(), and SDPConeSetRMatrix(). |
|
Set data matrix into SDP block.
Definition at line 406 of file dsdpblock.c. Referenced by SDPConeSetRMatrix(). |
|
Free structures in block of data.
Definition at line 182 of file dsdpblock.c. Referenced by DSDPBlockDataDestroy(), and DSDPBlockTakeDown(). |
|
Set VAV[i] to aa * Alpha[i] * V' A[i] V.
Definition at line 84 of file dsdpblock.c. Referenced by SDPConeAddXVAV(), and SDPConeComputeHessian(). |
|
Print the structure of the block.
Definition at line 454 of file dsdpblock.c. Referenced by SDPConeView(). |
|
Print the data.
Definition at line 474 of file dsdpblock.c. Referenced by SDPConeView2(). |
|
Check correctness of operations on the data.
Definition at line 498 of file dsdpblock.c. Referenced by SDPConeCheckData(). |