aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gensvm_init.h')
-rw-r--r--include/gensvm_init.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/gensvm_init.h b/include/gensvm_init.h
new file mode 100644
index 0000000..544c960
--- /dev/null
+++ b/include/gensvm_init.h
@@ -0,0 +1,28 @@
+/**
+ * @file gensvm_init.h
+ * @author Gertjan van den Burg
+ * @date January, 2014
+ * @brief Header file for gensvm_init.c
+ *
+ * @details
+ * Contains function declarations for the initialization functions for
+ * GenModel and GenData structures.
+ */
+
+#ifndef GENSVM_INIT_H
+#define GENSVM_INIT_H
+
+// forward declaration
+struct GenData;
+struct GenModel;
+
+struct GenModel *gensvm_init_model();
+
+struct GenData *gensvm_init_data();
+
+void gensvm_allocate_model(struct GenModel *model);
+void gensvm_reallocate_model(struct GenModel *model, long n, long m);
+void gensvm_free_model(struct GenModel *model);
+void gensvm_free_data(struct GenData *data);
+
+#endif