/usr/include/python2.7/pysparse/csr_mat.h is in python-sparse 1.1.1-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 | #ifndef CSR_MAT_H
#define CSR_MAT_H
#include "Python.h"
typedef struct {
PyObject_VAR_HEAD
int dim[2]; /* array dimension */
int nnz; /* number of stored items */
double *val; /* pointer to array of values */
int *col; /* pointer to array of indices */
int *ind; /* pointer to array of indices */
} CSRMatObject;
#ifdef SPMATRIX_MODULE
/* forward declarations */
static PyTypeObject CSRMatType;
static PyObject *newCSRMatObject(int dim[], int nnz);
#endif
#endif
|