From 2497fd9e7a0fae5ee4887890d7a312e0e08a93b8 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 22 Jun 2015 19:01:29 +0800 Subject: major change: use luarocks to manage project --- matrix/generic/matrix.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 matrix/generic/matrix.h (limited to 'matrix/generic/matrix.h') diff --git a/matrix/generic/matrix.h b/matrix/generic/matrix.h deleted file mode 100644 index 833724b..0000000 --- a/matrix/generic/matrix.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef NERV_GENERIC_MATRIX_H -#define NERV_GENERIC_MATRIX_H - -#include -typedef struct Matrix { - size_t stride; /* size of a row */ - long ncol, nrow, nmax; /* dimension of the matrix */ - union { - float *f; - double *d; - long *i; - } data; /* pointer to actual storage */ - long *data_ref; -} Matrix; - -#define MATRIX_ROW_PTR(self, row) \ - (MATRIX_ELEM *)((char *)MATRIX_ELEM_PTR(self) + (row) * (self)->stride) - -#endif -- cgit v1.2.3-70-g09d2