|
DSDP
|
Determine the sparsity of each block, and choose suitable dual, Delta S, and X matrix structures. More...
Go to the source code of this file.
Functions | |
| int | DSDPCreateS (DSDPBlockData *, char, int, DSDPVec, DSDPVMat, SDPConeVec, SDPConeVec, DSDPDualMat *, DSDPDualMat *, DSDPDSMat *, void *) |
| Create S1, S2, and DS. More... | |
| int | DSDPMakeVMat (char UPLQ, int n, DSDPVMat *X) |
| Allocate V matrix. More... | |
| int | DSDPMakeVMatWithArray (char UPLQ, double xx[], int nnz, int n, DSDPVMat *X) |
| Allocate V matrix using the given array. More... | |
Determine the sparsity of each block, and choose suitable dual, Delta S, and X matrix structures.
Definition in file sdpsss.c.
| int DSDPCreateS | ( | DSDPBlockData * | ADATA, |
| char | UPLQ, | ||
| int | trank, | ||
| DSDPVec | WY, | ||
| DSDPVMat | T, | ||
| SDPConeVec | W1, | ||
| SDPConeVec | W2, | ||
| DSDPDualMat * | S, | ||
| DSDPDualMat * | SS, | ||
| DSDPDSMat * | DS, | ||
| void * | ctx | ||
| ) |
Create S1, S2, and DS.
| ADATA | semidefinite block of data. |
| UPLQ | such as packed symmetric or upper full symmetric |
| trank | rank of data in block |
| WY | Work vector |
| T | Work matrix. |
| W1 | Work vector |
| W2 | Work vector |
| S | New dual matrix. |
| SS | New dual matrix. |
| DS | New DS matrix. |
| ctx | pointer to structure. |
Definition at line 314 of file sdpsss.c.
Referenced by DSDPBlockSetup().
| int DSDPMakeVMat | ( | char | UPLQ, |
| int | n, | ||
| DSDPVMat * | X | ||
| ) |
Allocate V matrix.
| UPLQ | format |
| n | dimension |
| X | new matrix. |
Definition at line 351 of file sdpsss.c.
Referenced by DSDPBlockSetup(), and SDPConeSetXMat().
| int DSDPMakeVMatWithArray | ( | char | UPLQ, |
| double | xx[], | ||
| int | nnz, | ||
| int | n, | ||
| DSDPVMat * | X | ||
| ) |
Allocate V matrix using the given array.
| UPLQ | format |
| xx | array |
| nnz | length of the array |
| n | dimension |
| X | new matrix. |
Definition at line 381 of file sdpsss.c.
Referenced by SDPConeAddADotX(), SDPConeComputeS(), SDPConeComputeX(), SDPConeSetXArray(), and SDPConeViewX().