aboutsummaryrefslogtreecommitdiff
path: root/include/matrix.h
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2013-10-18 15:48:59 +0200
committerGertjan van den Burg <burg@ese.eur.nl>2013-10-18 15:48:59 +0200
commit6d064658f8ae7ca0f42fef6dcc7f896144e9637b (patch)
treea41e8793f71f637b68f862220ae5566f4537073d /include/matrix.h
parentallow seeding of V and added documentation (diff)
downloadgensvm-6d064658f8ae7ca0f42fef6dcc7f896144e9637b.tar.gz
gensvm-6d064658f8ae7ca0f42fef6dcc7f896144e9637b.zip
restart using git
Diffstat (limited to 'include/matrix.h')
-rw-r--r--include/matrix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/matrix.h b/include/matrix.h
index 4157475..5f0a441 100644
--- a/include/matrix.h
+++ b/include/matrix.h
@@ -1,3 +1,7 @@
+#ifndef MATRIX_H
+#define MATRIX_H
+
+#include "globals.h"
void matrix_set(double *M, long cols, long i, long j, double val);
void matrix_add(double *M, long cols, long i, long j, double val);
@@ -10,3 +14,5 @@ void matrix3_set(double *M, long N2, long N3, long i, long j, long k,
double matrix3_get(double *M, long N2, long N3, long i, long j, long k);
void print_matrix(double *M, long rows, long cols);
+
+#endif