projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use more bucket functions.
[libfirm]
/
vector.h
diff --git
a/vector.h
b/vector.h
index
4346a46
..
4c20db6
100644
(file)
--- a/
vector.h
+++ b/
vector.h
@@
-3,6
+3,8
@@
#include "vector_t.h"
#include "vector_t.h"
+num pbqp_add(num x, num y);
+
vector *vector_alloc(pbqp *pbqp, unsigned length);
/* Copy the given vector. */
vector *vector_alloc(pbqp *pbqp, unsigned length);
/* Copy the given vector. */
@@
-19,4
+21,10
@@
void vector_set_description(vector *vec, unsigned index, char *name);
void vector_add_value(vector *vec, num value);
void vector_add_value(vector *vec, num value);
+void vector_add_matrix_col(vector *vec, pbqp_matrix *mat, unsigned col_index);
+void vector_add_matrix_row(vector *vec, pbqp_matrix *mat, unsigned row_index);
+
+num vector_get_min(vector *vec);
+unsigned vector_get_min_index(vector *vec);
+
#endif /* KAPS_VECTOR_H */
#endif /* KAPS_VECTOR_H */