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
16 #if defined(__cplusplus)
24 struct isl_basic_map *bmap;
27 typedef struct isl_div isl_div;
29 struct isl_div *isl_div_alloc(struct isl_dim *dim);
30 struct isl_div *isl_basic_map_div(struct isl_basic_map *bmap, int pos);
31 struct isl_div *isl_basic_set_div(struct isl_basic_set *bset, int pos);
32 __isl_give isl_div *isl_div_copy(__isl_keep isl_div *div);
33 void isl_div_free(struct isl_div *c);
35 void isl_div_get_constant(__isl_keep isl_div *div, isl_int *v);
36 void isl_div_get_denominator(__isl_keep isl_div *div, isl_int *v);
37 void isl_div_get_coefficient(__isl_keep isl_div *div,
38 enum isl_dim_type type, int pos, isl_int *v);
39 void isl_div_set_constant(struct isl_div *div, isl_int v);
40 void isl_div_set_denominator(struct isl_div *div, isl_int v);
41 void isl_div_set_coefficient(struct isl_div *div,
42 enum isl_dim_type type, int pos, isl_int v);
44 unsigned isl_div_dim(__isl_keep isl_div *div, enum isl_dim_type type);
45 __isl_give isl_div *isl_div_div(__isl_take isl_div *div, int pos);
47 #if defined(__cplusplus)