/usr/include/dsdp/dsdpdatamat.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 | #if !defined(__DSDP_DATAMATRIXOPS_H)
#define __DSDP_DATAMATRIXOPS_H
#include "sdpconevec.h"
/*! \file dsdpdatamat.h
\brief The interface between the SDPCone and the data matrices
*/
/*!
struct DSDPDataMat_C { void* matdata; struct DSDPDataMat_Ops* dsdpops; };
\brief Symmetric data matrix for one block in the semidefinite cone.
\sa DSDPDataMat
*/
struct DSDPDataMat_C{
void* matdata;
struct DSDPDataMat_Ops* dsdpops;
};
/*!
\typedef struct DSDPDataMat DSDPDataMat;
\brief Represents a single symmetric
data matrix for one block in this semidefinite cone.
*/
typedef struct DSDPDataMat_C DSDPDataMat;
#ifdef __cplusplus
extern "C" {
#endif
extern int DSDPDataMatSetData(DSDPDataMat*, struct DSDPDataMat_Ops*, void*);
extern int DSDPDataMatInitialize(DSDPDataMat*);
extern int DSDPDataMatGetType(DSDPDataMat, int *);
extern int DSDPDataMatTest(DSDPDataMat);
extern int DSDPDataMatVecVec(DSDPDataMat,SDPConeVec,double*);
extern int DSDPDataMatDot(DSDPDataMat,double[], int,int,double*);
extern int DSDPDataMatGetRowNonzeros(DSDPDataMat, int, int, int*, int*);
extern int DSDPDataMatCountNonzeros(DSDPDataMat,int*,int);
extern int DSDPDataMatFNorm2(DSDPDataMat,int,double*);
extern int DSDPDataMatMultiply(DSDPDataMat,SDPConeVec,SDPConeVec);
extern int DSDPDataMatView(DSDPDataMat);
extern int DSDPDataMatDestroy(DSDPDataMat*);
extern int DSDPDataMatGetRank(DSDPDataMat, int*,int);
extern int DSDPDataMatGetEig(DSDPDataMat, int, SDPConeVec, DSDPIndex, double *);
extern int DSDPDataMatFactor(DSDPDataMat,SDPConeVec, double[],int,double[],int,int[],int);
extern int DSDPDataMatAddMultiple(DSDPDataMat, double, double[],int,int);
extern int DSDPDataMatAddRowMultipleToVector(DSDPDataMat, int, double, SDPConeVec);
#ifdef __cplusplus
}
#endif
#endif
|