/usr/include/dsdp/dsdpdualmat.h is in libdsdp-dev 5.8-9.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | #if !defined(__DSDP_DUALMATRIX_H)
#define __DSDP_DUALMATRIX_H
#include "sdpconevec.h"
#include "dsdpbasictypes.h"
#include "dsdpxmat.h"
/*!
\file dsdpdualmat.h
\brief The interface between the SDPCone and the matrix S.
*/
/*!
struct DSDPDualMat_C { void* matdata; struct DSDPDualMat_Ops* dsdpops; };
\brief Represents an S matrix for one block in the semidefinite cone.
\sa DSDPDualMat
*/
struct DSDPDualMat_C{
void* matdata;
struct DSDPDualMat_Ops* dsdpops;
};
/*!
\typedef struct DSDPDualMat_C DSDPDualMat;
\brief Represents an S matrix for one block in the semidefinite cone.
*/
typedef struct DSDPDualMat_C DSDPDualMat;
#ifdef __cplusplus
extern "C" {
#endif
extern int DSDPDualMatInitialize(DSDPDualMat*);
extern int DSDPDualMatSetData(DSDPDualMat*,struct DSDPDualMat_Ops*,void*);
extern int DSDPDualMatGetType(DSDPDualMat, int *);
extern int DSDPDualMatGetSize(DSDPDualMat, int*);
extern int DSDPDualMatTest(DSDPDualMat);
extern int DSDPDualMatDestroy(DSDPDualMat *);
extern int DSDPDualMatView(DSDPDualMat);
extern int DSDPDualMatCholeskyFactor(DSDPDualMat,DSDPTruth *);
extern int DSDPDualMatInvert(DSDPDualMat);
extern int DSDPDualMatInverseAdd(DSDPDualMat,double,DSDPVMat);
extern int DSDPDualMatInverseMultiply(DSDPDualMat, DSDPIndex, SDPConeVec, SDPConeVec);
extern int DSDPDualMatCholeskySolveForward(DSDPDualMat, SDPConeVec, SDPConeVec);
extern int DSDPDualMatCholeskySolveBackward(DSDPDualMat, SDPConeVec, SDPConeVec);
extern int DSDPDualMatCholeskyForwardMultiply(DSDPDualMat, SDPConeVec, SDPConeVec);
extern int DSDPDualMatCholeskyBackwardMultiply(DSDPDualMat, SDPConeVec, SDPConeVec);
extern int DSDPDualMatLogDeterminant(DSDPDualMat, double*);
extern int DSDPDualMatIsFull(DSDPDualMat,DSDPTruth*);
extern int DSDPDualMatSetArray(DSDPDualMat,DSDPVMat);
extern int DSDPDualMatCheck(DSDPDualMat,SDPConeVec,SDPConeVec,DSDPIndex,DSDPVMat);
extern int DSDPDualMatGetArray(DSDPDualMat,double*[],int*);
#ifdef __cplusplus
}
#endif
#endif
|