Legofit
infers population history from nucleotide site patterns.
longvec.h
1#ifndef ARR_LONGVEC_H
2#define ARR_LONGVEC_H
3
4#include "typedefs.h"
5
6LongVec *LongVec_new(int size);
7int LongVec_size(const LongVec *self);
8int LongVec_resize(LongVec *self, int newsize);
9void LongVec_set(LongVec *self, int ndx, long value);
10void LongVec_plusEquals(LongVec *self, int ndx, long inc);
11void LongVec_minusEquals(LongVec *self, int ndx, long dec);
12long LongVec_get(const LongVec *self, int ndx);
13void LongVec_free(LongVec *self);
14
15#endif
Definition: longvec.c:17