blob: 264859b5828272032a4b19285d8c25c9c6e52293 (
plain) (
tree)
|
|
#ifndef NERV_GENERIC_MATRIX_H
#define NERV_GENERIC_MATRIX_H
typedef struct Matrix {
size_t stride; /* size of a row */
long ncol, nrow, nmax; /* dimension of the matrix */
union {
float *f;
double *d;
} data; /* pointer to actual storage */
long *data_ref;
} Matrix;
#endif
|