1#if !defined(__DSDP_DUALMATRIX_H)
2#define __DSDP_DUALMATRIX_H
54extern int DSDPDualMatGetArray(
DSDPDualMat,
double*[],
int*);
Solver, solution types, termination codes,.
DSDPTruth
Boolean variables.
struct DSDPDualMat_C DSDPDualMat
Represents an S matrix for one block in the semidefinite cone.
int DSDPDualMatSetArray(DSDPDualMat, DSDPVMat)
Print the matrix.
int DSDPDualMatInitialize(DSDPDualMat *)
Set pointers to null.
int DSDPDualMatDestroy(DSDPDualMat *)
Free the matrix structure.
int DSDPDualMatSetData(DSDPDualMat *, struct DSDPDualMat_Ops *, void *)
Set the opaque pointer and function pointers to the matrix.
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.
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.
struct DSDPVMat_C DSDPVMat
Represents a dense symmetric matrix for one block in the semidefinite cone.
Each block of the SDPCone has two vectors of appropriate size.
struct SDPConeVec_C SDPConeVec
SDPConeVec is a vector with the dimension of the block in the SDP cone.
Represents an S matrix for one block in the semidefinite cone.
Table of function pointers that operate on the S matrix.