/usr/include/dsdp/dsdpdsmat.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 | #if !defined(__DSDP_DSMATRIX_H)
#define __DSDP_DSMATRIX_H
#include "sdpconevec.h"
#include "dsdpxmat.h"
/*!
\file dsdpdsmat.h
\brief The interface between the SDPCone and the Delta S matrix
*/
/* DSDPDSMat objects are not used for much: DS, X, eigenvalue stuff */
/* These objects are good basically for assembling a matrix, accessing
the data, and applying the operator to a vector */
/* DSDP Matrix Structure */
/*!
struct DSDPDSMat_C { void* matdata; struct DSDPDSMat_Ops* dsdpops; };
\brief Symmetric Delta S matrix for one block in the semidefinite cone.
\sa DSDPDSMat
*/
struct DSDPDSMat_C{
void *matdata;
struct DSDPDSMat_Ops* dsdpops;
};
/*!
typedef struct DSDPDSMat_C DSDPDSMat;
\brief A symmetric Delta S matrix for one block in the semidefinite cone.
*/
typedef struct DSDPDSMat_C DSDPDSMat;
#ifdef __cplusplus
extern "C" {
#endif
extern int DSDPDSMatGetType(DSDPDSMat, int *);
extern int DSDPDSMatSetData(DSDPDSMat *, struct DSDPDSMat_Ops*, void*);
extern int DSDPDSMatInitialize(DSDPDSMat*);
extern int DSDPDSMatZeroEntries(DSDPDSMat);
extern int DSDPDSMatSetArray(DSDPDSMat,DSDPVMat);
extern int DSDPDSMatMult(DSDPDSMat, SDPConeVec, SDPConeVec);
extern int DSDPDSMatVecVec(DSDPDSMat, SDPConeVec, double*);
extern int DSDPDSMatTest(DSDPDSMat);
extern int DSDPDSMatGetSize(DSDPDSMat,int*);
extern int DSDPDSMatView(DSDPDSMat);
extern int DSDPDSMatDestroy(DSDPDSMat*);
extern int DSDPDSMatCheck(DSDPDSMat,SDPConeVec,SDPConeVec,DSDPVMat);
#ifdef __cplusplus
}
#endif
#endif
|