/usr/include/dsdp/dsdpxmat_impl.h is in libdsdp-dev 5.8-9.4.
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 | #if !defined(__DSDP_VMATRIXOPS_H)
#define __DSDP_VMATRIXOPS_H
/*!
\file dsdpxmat_impl.h
\brief Structure of function pointers that each dense matrix array type
(upper full, packed symmetric, ...) must implement.
*/
/*!
struct DSDPVMat_Ops
\brief Table of function pointers that operate on the dense matrix.
*/
struct DSDPVMat_Ops{
int id;
int (*matgetsize)(void*,int*);
int (*mataddouterproduct)(void*,double,double[],int);
int (*matmult)(void*,double[],double[],int);
int (*matscalediagonal)(void*,double);
int (*matshiftdiagonal)(void*,double);
int (*matfnorm2)(void*,int,double*);
int (*matzeroentries)(void*);
int (*matgeturarray)(void*,double*[],int*);
int (*matrestoreurarray)(void*,double*[],int*);
int (*matmineig)(void*,double[],double[],int,double*);
int (*mattest)(void*);
int (*matdestroy)(void*);
int (*matview)(void*);
const char *matname;
};
#ifdef __cplusplus
extern "C" {
#endif
extern int DSDPVMatOpsInitialize(struct DSDPVMat_Ops*);
#ifdef __cplusplus
}
#endif
#endif
|