/usr/include/dsdp/dsdpxmat.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 | #if !defined(__DSDP_VSYMMETRICMATRIX_H)
#define __DSDP_VSYMMETRICMATRIX_H
/*!
\file dsdpxmat.h
\brief The interface between the SDPCone and the dense matrix array.
*/
#include "sdpconevec.h"
/* DSDP V Matrix Structure */
/*!
struct DSDPVMat_C { void* matdata; struct DSDPVMat_Ops* dsdpops; };
\brief Dense symmetric matrix for one block in the semidefinite cone.
\sa DSDPVMat
*/
struct DSDPVMat_C{
void *matdata;
struct DSDPVMat_Ops* dsdpops;
};
/*!
\typedef struct DSDPVMat_C DSDPVMat;
\brief Represents a dense symmetric matrix for one block in the semidefinite cone.
*/
typedef struct DSDPVMat_C DSDPVMat;
#ifdef __cplusplus
extern "C" {
#endif
extern int DSDPVMatGetType(DSDPVMat, int *);
extern int DSDPVMatSetData(DSDPVMat *, struct DSDPVMat_Ops*, void*);
extern int DSDPVMatInitialize(DSDPVMat*);
extern int DSDPVMatTest(DSDPVMat);
extern int DSDPVMatGetSize(DSDPVMat,int*);
extern int DSDPVMatView(DSDPVMat);
extern int DSDPVMatDestroy(DSDPVMat*);
extern int DSDPVMatExist(DSDPVMat,int*);
extern int DSDPVMatZeroEntries(DSDPVMat);
extern int DSDPVMatAddOuterProduct(DSDPVMat, double, SDPConeVec);
extern int DSDPVMatMult(DSDPVMat,SDPConeVec,SDPConeVec);
extern int DSDPVMatScaleDiagonal(DSDPVMat,double);
extern int DSDPVMatShiftDiagonal(DSDPVMat,double);
extern int DSDPVMatNormF2(DSDPVMat, double*);
extern int DSDPVMatGetArray(DSDPVMat,double**,int*);
extern int DSDPVMatRestoreArray(DSDPVMat,double**,int*);
extern int DSDPVMatMinEigenvalue(DSDPVMat,SDPConeVec,SDPConeVec,double*);
extern int DSDPVMatCheck(DSDPVMat, SDPConeVec, SDPConeVec);
#ifdef __cplusplus
}
#endif
#endif
|