6 vector *vector_alloc(pbqp *pbqp, unsigned length);
8 /* Copy the given vector. */
9 vector *vector_copy(pbqp *pbqp, vector *v);
12 void vector_add(vector *sum, vector *summand);
14 void vector_set(vector *vec, unsigned index, num value);
17 void vector_set_description(vector *vec, unsigned index, char *name);
20 void vector_add_value(vector *vec, num value);
22 void vector_add_matrix_col(vector *vec, pbqp_matrix *mat, unsigned col_index);
23 void vector_add_matrix_row(vector *vec, pbqp_matrix *mat, unsigned row_index);
25 unsigned vector_get_min_index(vector *vec);
27 #endif /* KAPS_VECTOR_H */