DSDP
|
Call an implmentation of the Delta S matrix operation. More...
Go to the source code of this file.
Functions | |
int | DSDPDSMatDestroy (DSDPDSMat *A) |
Free the data structure. More... | |
int | DSDPDSMatGetSize (DSDPDSMat A, int *n) |
Set the opaque pointer and function pointers to the matrix. More... | |
int | DSDPDSMatInitialize (DSDPDSMat *B) |
Set pointers to null. More... | |
int | DSDPDSMatMult (DSDPDSMat A, SDPConeVec X, SDPConeVec Y) |
Set values into the matrix. More... | |
int | DSDPDSMatOpsInitialize (struct DSDPDSMat_Ops *aops) |
Set pointers to null. More... | |
int | DSDPDSMatSetArray (DSDPDSMat A, DSDPVMat T) |
Set values into the matrix. More... | |
int | DSDPDSMatSetData (DSDPDSMat *M, struct DSDPDSMat_Ops *ops, void *data) |
Set the opaque pointer and function pointers to the matrix. More... | |
int | DSDPDSMatVecVec (DSDPDSMat A, SDPConeVec X, double *vAv) |
Compute the product x' A x. More... | |
int | DSDPDSMatView (DSDPDSMat A) |
Print the matrix. More... | |
int | DSDPDSMatZeroEntries (DSDPDSMat A) |
Zero the entries in the matrix. More... | |
Call an implmentation of the Delta S matrix operation.
Definition in file dsdpdsmat.c.
int DSDPDSMatDestroy | ( | DSDPDSMat * | A | ) |
Free the data structure.
A | symmetric DS matrix |
Definition at line 70 of file dsdpdsmat.c.
Referenced by DSDPBlockTakeDown().
int DSDPDSMatGetSize | ( | DSDPDSMat | A, |
int * | n | ||
) |
Set the opaque pointer and function pointers to the matrix.
A | symmetric DS matrix |
n | dimension |
Definition at line 50 of file dsdpdsmat.c.
int DSDPDSMatInitialize | ( | DSDPDSMat * | B | ) |
Set pointers to null.
B | pointer to matrix. |
Definition at line 254 of file dsdpdsmat.c.
Referenced by DSDPBlockInitialize(), and DSDPDSMatDestroy().
int DSDPDSMatMult | ( | DSDPDSMat | A, |
SDPConeVec | X, | ||
SDPConeVec | Y | ||
) |
Set values into the matrix.
A | symmetric DS matrix |
X | in vector |
Y | product of A and X |
Definition at line 154 of file dsdpdsmat.c.
int DSDPDSMatOpsInitialize | ( | struct DSDPDSMat_Ops * | aops | ) |
Set pointers to null.
aops | pointer to table. |
Definition at line 214 of file dsdpdsmat.c.
Referenced by DSDPDSMatInitialize().
Set values into the matrix.
A | symmetric DS matrix |
T | Source of entries in dense format |
Definition at line 130 of file dsdpdsmat.c.
Referenced by SDPConeMultiply().
int DSDPDSMatSetData | ( | DSDPDSMat * | M, |
struct DSDPDSMat_Ops * | ops, | ||
void * | data | ||
) |
Set the opaque pointer and function pointers to the matrix.
M | symmetric DS matrix |
ops | pointer to a structure of function pointers |
data | pointer to a matrix structure |
Definition at line 31 of file dsdpdsmat.c.
Referenced by DSDPDSMatInitialize().
int DSDPDSMatVecVec | ( | DSDPDSMat | A, |
SDPConeVec | X, | ||
double * | vAv | ||
) |
Compute the product x' A x.
A | symmetric DS matrix |
X | vector |
vAv | the product |
Definition at line 181 of file dsdpdsmat.c.
Referenced by SDPConeMultiply().
int DSDPDSMatView | ( | DSDPDSMat | A | ) |
int DSDPDSMatZeroEntries | ( | DSDPDSMat | A | ) |
Zero the entries in the matrix.
A | symmetric DS matrix |
Definition at line 110 of file dsdpdsmat.c.