2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
18 #include <isl/printer.h>
20 #if defined(__cplusplus)
34 typedef struct isl_vec isl_vec;
36 struct isl_vec *isl_vec_alloc(struct isl_ctx *ctx, unsigned size);
37 struct isl_vec *isl_vec_copy(struct isl_vec *vec);
38 struct isl_vec *isl_vec_cow(struct isl_vec *vec);
39 void isl_vec_free(struct isl_vec *vec);
41 void isl_vec_dump(__isl_keep isl_vec *vec);
42 __isl_give isl_printer *isl_printer_print_vec(__isl_take isl_printer *printer,
43 __isl_keep isl_vec *vec);
45 void isl_vec_lcm(struct isl_vec *vec, isl_int *lcm);
46 struct isl_vec *isl_vec_ceil(struct isl_vec *vec);
47 struct isl_vec *isl_vec_normalize(struct isl_vec *vec);
48 __isl_give isl_vec *isl_vec_clr(__isl_take isl_vec *vec);
49 __isl_give isl_vec *isl_vec_scale(__isl_take isl_vec *vec, isl_int m);
50 __isl_give isl_vec *isl_vec_add(__isl_take isl_vec *vec1,
51 __isl_take isl_vec *vec2);
52 __isl_give isl_vec *isl_vec_extend(__isl_take isl_vec *vec, unsigned size);
53 __isl_give isl_vec *isl_vec_zero_extend(__isl_take isl_vec *vec, unsigned size);
55 struct isl_vec *isl_vec_read_from_file(struct isl_ctx *ctx,
56 FILE *input, unsigned input_format);
58 #if defined(__cplusplus)