aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_init.h
blob: 544c960eb4b545f836da32fb8ffdb317bbe2bf26 (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

// 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