DSDP
dsdpdualmat.h
Go to the documentation of this file.
1#if !defined(__DSDP_DUALMATRIX_H)
2#define __DSDP_DUALMATRIX_H
3
4#include "sdpconevec.h"
5#include "dsdpbasictypes.h"
6#include "dsdpxmat.h"
19 void* matdata;
20 struct DSDPDualMat_Ops* dsdpops;
21};
22
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
34extern int DSDPDualMatSetData(DSDPDualMat*,struct DSDPDualMat_Ops*,void*);
35extern int DSDPDualMatGetType(DSDPDualMat, int *);
36
37extern int DSDPDualMatGetSize(DSDPDualMat, int*);
38extern int DSDPDualMatTest(DSDPDualMat);
41
50extern int DSDPDualMatLogDeterminant(DSDPDualMat, double*);
53extern int DSDPDualMatCheck(DSDPDualMat,SDPConeVec,SDPConeVec,DSDPIndex,DSDPVMat);
54extern int DSDPDualMatGetArray(DSDPDualMat,double*[],int*);
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif
61
62
Solver, solution types, termination codes,.
DSDPTruth
Boolean variables.
int DSDPDualMatSetArray(DSDPDualMat, DSDPVMat)
Print the matrix.
int DSDPDualMatInitialize(DSDPDualMat *)
Set pointers to null.
int DSDPDualMatDestroy(DSDPDualMat *)
Free the matrix structure.
Definition dsdpdualmat.c:65
int DSDPDualMatSetData(DSDPDualMat *, struct DSDPDualMat_Ops *, void *)
Set the opaque pointer and function pointers to the matrix.
Definition dsdpdualmat.c:49
int DSDPDualMatCholeskyBackwardMultiply(DSDPDualMat, SDPConeVec, SDPConeVec)
Multiply by triangular matrix.
int DSDPDualMatInverseMultiply(DSDPDualMat, DSDPIndex, SDPConeVec, SDPConeVec)
Multiply the inverse by a vector or solve the system of equations.
int DSDPDualMatCholeskyForwardMultiply(DSDPDualMat, SDPConeVec, SDPConeVec)
Multiply by triangular matrix.
int DSDPDualMatCholeskyFactor(DSDPDualMat, DSDPTruth *)
Factor the matrix.
int DSDPDualMatCholeskySolveBackward(DSDPDualMat, SDPConeVec, SDPConeVec)
Backward triangular solve.
int DSDPDualMatGetSize(DSDPDualMat, int *)
Free the matrix structure.
Definition dsdpdualmat.c:87
int DSDPDualMatInvert(DSDPDualMat)
Invert the matrix.
int DSDPDualMatCholeskySolveForward(DSDPDualMat, SDPConeVec, SDPConeVec)
Forward triangular solve.
int DSDPDualMatIsFull(DSDPDualMat, DSDPTruth *)
Factor the matrix.
int DSDPDualMatInverseAdd(DSDPDualMat, double, DSDPVMat)
Add a multiple of the inverse to T.
int DSDPDualMatLogDeterminant(DSDPDualMat, double *)
Free the matrix structure.
int DSDPDualMatView(DSDPDualMat)
Print the matrix.
The interface between the SDPCone and the dense matrix array.
Each block of the SDPCone has two vectors of appropriate size.
Represents an S matrix for one block in the semidefinite cone.
Definition dsdpdualmat.h:18
Table of function pointers that operate on the S matrix.
Dense symmetric matrix for one block in the semidefinite cone.
Definition dsdpxmat.h:17
Vector whose length corresponds to dimension of a block in a cone.
Definition sdpconevec.h:13