Use more bucket functions.
[libfirm] / vector.h
index 4346a46..4c20db6 100644 (file)
--- a/vector.h
+++ b/vector.h
@@ -3,6 +3,8 @@
 
 #include "vector_t.h"
 
+num pbqp_add(num x, num y);
+
 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_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 */