/usr/include/python2.7/pysparse/sss_mat.h is in python-sparse 1.1-1.2build1.
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 | #ifndef SSS_MAT_H
#define SSS_MAT_H
#include "Python.h"
typedef struct {
PyObject_VAR_HEAD
int n; /* array dimension */
int nnz; /* number of stored items */
double *val; /* pointer to array of values */
double *diag; /* pointer to diagonal elements */
int *col; /* pointer to array of indices */
int *ind; /* pointer to array of indices */
} SSSMatObject;
#ifdef SPMATRIX_MODULE
/* forward declarations */
static PyTypeObject SSSMatType;
static PyObject *newSSSMatObject(int n, int nnz);
#endif
#endif
|