aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_init.h
blob: 980366bddb749bce2705a87ba3c68d7ea64af161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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

// include
#include "globals.h"
#include "gensvm.h"

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