- integrated new PBQP solver into existing PBQP transformation, so it can be easily...
[libfirm] / vector.h
1 #ifndef KAPS_VECTOR_H
2 #define KAPS_VECTOR_H
3
4 #include "vector_t.h"
5
6 vector *vector_alloc(pbqp *pbqp, unsigned length);
7
8 /* Copy the given vector. */
9 vector *vector_copy(pbqp *pbqp, vector *v);
10
11 /* sum += summand */
12 void vector_add(vector *sum, vector *summand);
13
14 void vector_set(vector *vec, unsigned index, num value);
15
16 #if EXT_GRS_DEBUG
17 void vector_set_description(vector *vec, unsigned index, char *name);
18 #endif
19
20 #endif /* KAPS_VECTOR_H */