explicitly differentiate between spaces of maps, sets and parameter sets
[isl.git] / include / isl / set.h
blob567eee05c8a01231e87016e61ee0a7b69f803cd8
1 /*
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
8 */
10 #ifndef ISL_SET_H
11 #define ISL_SET_H
13 #include <isl/map_type.h>
14 #include <isl/aff_type.h>
15 #include <isl/list.h>
16 #include <isl/mat.h>
17 #include <isl/point.h>
18 #include <isl/local_space.h>
20 #if defined(__cplusplus)
21 extern "C" {
22 #endif
24 unsigned isl_basic_set_n_dim(__isl_keep isl_basic_set *bset);
25 unsigned isl_basic_set_n_param(__isl_keep isl_basic_set *bset);
26 unsigned isl_basic_set_total_dim(const struct isl_basic_set *bset);
27 unsigned isl_basic_set_dim(__isl_keep isl_basic_set *bset,
28 enum isl_dim_type type);
30 unsigned isl_set_n_dim(__isl_keep isl_set *set);
31 unsigned isl_set_n_param(__isl_keep isl_set *set);
32 unsigned isl_set_dim(__isl_keep isl_set *set, enum isl_dim_type type);
34 isl_ctx *isl_basic_set_get_ctx(__isl_keep isl_basic_set *bset);
35 isl_ctx *isl_set_get_ctx(__isl_keep isl_set *set);
36 __isl_give isl_space *isl_basic_set_get_space(__isl_keep isl_basic_set *bset);
37 __isl_give isl_space *isl_set_get_space(__isl_keep isl_set *set);
38 __isl_give isl_set *isl_set_reset_space(__isl_take isl_set *set,
39 __isl_take isl_space *dim);
41 struct isl_div *isl_basic_set_div(struct isl_basic_set *bset, int pos);
43 __isl_give isl_local_space *isl_basic_set_get_local_space(
44 __isl_keep isl_basic_set *bset);
46 const char *isl_basic_set_get_tuple_name(__isl_keep isl_basic_set *bset);
47 const char *isl_set_get_tuple_name(__isl_keep isl_set *set);
48 __isl_give isl_basic_set *isl_basic_set_set_tuple_name(
49 __isl_take isl_basic_set *set, const char *s);
50 __isl_give isl_set *isl_set_set_tuple_name(__isl_take isl_set *set,
51 const char *s);
52 const char *isl_basic_set_get_dim_name(__isl_keep isl_basic_set *bset,
53 enum isl_dim_type type, unsigned pos);
54 __isl_give isl_basic_set *isl_basic_set_set_dim_name(
55 __isl_take isl_basic_set *bset,
56 enum isl_dim_type type, unsigned pos, const char *s);
57 const char *isl_set_get_dim_name(__isl_keep isl_set *set,
58 enum isl_dim_type type, unsigned pos);
59 __isl_give isl_set *isl_set_set_dim_name(__isl_take isl_set *set,
60 enum isl_dim_type type, unsigned pos, const char *s);
62 __isl_give isl_set *isl_set_set_dim_id(__isl_take isl_set *set,
63 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
64 int isl_set_has_dim_id(__isl_keep isl_set *set,
65 enum isl_dim_type type, unsigned pos);
66 __isl_give isl_id *isl_set_get_dim_id(__isl_keep isl_set *set,
67 enum isl_dim_type type, unsigned pos);
68 __isl_give isl_set *isl_set_set_tuple_id(__isl_take isl_set *set,
69 __isl_take isl_id *id);
70 __isl_give isl_set *isl_set_reset_tuple_id(__isl_take isl_set *set);
71 int isl_set_has_tuple_id(__isl_keep isl_set *set);
72 __isl_give isl_id *isl_set_get_tuple_id(__isl_keep isl_set *set);
74 int isl_set_find_dim_by_id(__isl_keep isl_set *set, enum isl_dim_type type,
75 __isl_keep isl_id *id);
77 int isl_basic_set_is_rational(__isl_keep isl_basic_set *bset);
79 struct isl_basic_set *isl_basic_set_alloc(struct isl_ctx *ctx,
80 unsigned nparam, unsigned dim, unsigned extra,
81 unsigned n_eq, unsigned n_ineq);
82 struct isl_basic_set *isl_basic_set_extend(struct isl_basic_set *base,
83 unsigned nparam, unsigned dim, unsigned extra,
84 unsigned n_eq, unsigned n_ineq);
85 struct isl_basic_set *isl_basic_set_extend_constraints(
86 struct isl_basic_set *base, unsigned n_eq, unsigned n_ineq);
87 struct isl_basic_set *isl_basic_set_finalize(struct isl_basic_set *bset);
88 void isl_basic_set_free(__isl_take isl_basic_set *bset);
89 __isl_give isl_basic_set *isl_basic_set_copy(__isl_keep isl_basic_set *bset);
90 struct isl_basic_set *isl_basic_set_dup(struct isl_basic_set *bset);
91 __isl_give isl_basic_set *isl_basic_set_empty(__isl_take isl_space *dim);
92 struct isl_basic_set *isl_basic_set_empty_like(struct isl_basic_set *bset);
93 __isl_give isl_basic_set *isl_basic_set_universe(__isl_take isl_space *dim);
94 __isl_give isl_basic_set *isl_basic_set_nat_universe(__isl_take isl_space *dim);
95 struct isl_basic_set *isl_basic_set_universe_like(struct isl_basic_set *bset);
96 __isl_give isl_basic_set *isl_basic_set_universe_like_set(
97 __isl_keep isl_set *model);
98 struct isl_basic_set *isl_basic_set_interval(struct isl_ctx *ctx,
99 isl_int min, isl_int max);
100 __isl_give isl_basic_set *isl_basic_set_positive_orthant(
101 __isl_take isl_space *space);
102 void isl_basic_set_print_internal(__isl_keep isl_basic_set *bset,
103 FILE *out, int indent);
104 __isl_give isl_basic_set *isl_basic_set_intersect(
105 __isl_take isl_basic_set *bset1,
106 __isl_take isl_basic_set *bset2);
107 __isl_give isl_basic_set *isl_basic_set_apply(
108 __isl_take isl_basic_set *bset,
109 __isl_take isl_basic_map *bmap);
110 __isl_give isl_basic_set *isl_basic_set_affine_hull(
111 __isl_take isl_basic_set *bset);
112 __isl_give isl_basic_set *isl_basic_set_remove_dims(
113 __isl_take isl_basic_set *bset,
114 enum isl_dim_type type, unsigned first, unsigned n);
115 struct isl_basic_set *isl_basic_set_simplify(struct isl_basic_set *bset);
116 __isl_give isl_basic_set *isl_basic_set_detect_equalities(
117 __isl_take isl_basic_set *bset);
118 __isl_give isl_basic_set *isl_basic_set_remove_redundancies(
119 __isl_take isl_basic_set *bset);
120 __isl_give isl_set *isl_set_remove_redundancies(__isl_take isl_set *set);
121 __isl_give isl_basic_set *isl_basic_set_list_product(
122 __isl_take struct isl_basic_set_list *list);
124 __isl_give isl_basic_set *isl_basic_set_read_from_file(isl_ctx *ctx,
125 FILE *input, int nparam);
126 __isl_give isl_basic_set *isl_basic_set_read_from_str(isl_ctx *ctx,
127 const char *str, int nparam);
128 __isl_give isl_set *isl_set_read_from_file(isl_ctx *ctx,
129 FILE *input, int nparam);
130 __isl_give isl_set *isl_set_read_from_str(isl_ctx *ctx,
131 const char *str, int nparam);
132 void isl_basic_set_dump(__isl_keep isl_basic_set *bset);
133 void isl_set_dump(__isl_keep isl_set *set);
134 __isl_give isl_printer *isl_printer_print_basic_set(
135 __isl_take isl_printer *printer, __isl_keep isl_basic_set *bset);
136 __isl_give isl_printer *isl_printer_print_set(__isl_take isl_printer *printer,
137 __isl_keep isl_set *map);
138 void isl_basic_set_print(__isl_keep isl_basic_set *bset, FILE *out, int indent,
139 const char *prefix, const char *suffix, unsigned output_format);
140 void isl_set_print(__isl_keep struct isl_set *set, FILE *out, int indent,
141 unsigned output_format);
142 __isl_give isl_basic_set *isl_basic_set_fix(__isl_take isl_basic_set *bset,
143 enum isl_dim_type type, unsigned pos, isl_int value);
144 __isl_give isl_basic_set *isl_basic_set_fix_si(__isl_take isl_basic_set *bset,
145 enum isl_dim_type type, unsigned pos, int value);
146 __isl_give isl_set *isl_set_fix_si(__isl_take isl_set *set,
147 enum isl_dim_type type, unsigned pos, int value);
148 __isl_give isl_set *isl_set_lower_bound_si(__isl_take isl_set *set,
149 enum isl_dim_type type, unsigned pos, int value);
151 __isl_give isl_set *isl_set_equate(__isl_take isl_set *set,
152 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
154 struct isl_basic_set *isl_basic_set_from_underlying_set(
155 struct isl_basic_set *bset, struct isl_basic_set *like);
156 struct isl_set *isl_set_from_underlying_set(
157 struct isl_set *set, struct isl_basic_set *like);
158 struct isl_set *isl_set_to_underlying_set(struct isl_set *set);
160 int isl_basic_set_is_equal(
161 struct isl_basic_set *bset1, struct isl_basic_set *bset2);
163 __isl_give isl_set *isl_basic_set_partial_lexmin(
164 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
165 __isl_give isl_set **empty);
166 __isl_give isl_set *isl_basic_set_partial_lexmax(
167 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
168 __isl_give isl_set **empty);
169 __isl_give isl_set *isl_set_partial_lexmin(
170 __isl_take isl_set *set, __isl_take isl_set *dom,
171 __isl_give isl_set **empty);
172 __isl_give isl_set *isl_set_partial_lexmax(
173 __isl_take isl_set *set, __isl_take isl_set *dom,
174 __isl_give isl_set **empty);
175 __isl_give isl_set *isl_basic_set_lexmin(__isl_take isl_basic_set *bset);
176 __isl_give isl_set *isl_basic_set_lexmax(__isl_take isl_basic_set *bset);
177 __isl_give isl_set *isl_set_lexmin(__isl_take isl_set *set);
178 __isl_give isl_set *isl_set_lexmax(__isl_take isl_set *set);
179 int isl_basic_set_foreach_lexmax(__isl_keep isl_basic_set *bset,
180 int (*fn)(__isl_take isl_basic_set *dom, __isl_take isl_aff_list *list,
181 void *user),
182 void *user);
184 __isl_give isl_set *isl_basic_set_union(
185 __isl_take isl_basic_set *bset1,
186 __isl_take isl_basic_set *bset2);
188 int isl_basic_set_compare_at(struct isl_basic_set *bset1,
189 struct isl_basic_set *bset2, int pos);
190 int isl_set_follows_at(__isl_keep isl_set *set1,
191 __isl_keep isl_set *set2, int pos);
193 __isl_give isl_basic_set *isl_basic_set_params(__isl_take isl_basic_set *bset);
194 __isl_give isl_set *isl_set_params(__isl_take isl_set *set);
196 int isl_basic_set_dims_get_sign(__isl_keep isl_basic_set *bset,
197 enum isl_dim_type type, unsigned pos, unsigned n, int *signs);
199 int isl_basic_set_is_universe(__isl_keep isl_basic_set *bset);
200 int isl_basic_set_plain_is_empty(__isl_keep isl_basic_set *bset);
201 int isl_basic_set_fast_is_empty(__isl_keep isl_basic_set *bset);
202 int isl_basic_set_is_empty(__isl_keep isl_basic_set *bset);
203 int isl_basic_set_is_bounded(__isl_keep isl_basic_set *bset);
205 struct isl_set *isl_set_alloc(struct isl_ctx *ctx,
206 unsigned nparam, unsigned dim, int n, unsigned flags);
207 struct isl_set *isl_set_extend(struct isl_set *base,
208 unsigned nparam, unsigned dim);
209 __isl_give isl_set *isl_set_empty(__isl_take isl_space *dim);
210 struct isl_set *isl_set_empty_like(struct isl_set *set);
211 __isl_give isl_set *isl_set_universe(__isl_take isl_space *dim);
212 __isl_give isl_set *isl_set_nat_universe(__isl_take isl_space *dim);
213 __isl_give isl_set *isl_set_universe_like(__isl_keep isl_set *model);
214 __isl_give isl_set *isl_set_add_basic_set(__isl_take isl_set *set,
215 __isl_take isl_basic_set *bset);
216 struct isl_set *isl_set_finalize(struct isl_set *set);
217 __isl_give isl_set *isl_set_copy(__isl_keep isl_set *set);
218 void isl_set_free(__isl_take isl_set *set);
219 struct isl_set *isl_set_dup(struct isl_set *set);
220 __isl_give isl_set *isl_set_from_basic_set(__isl_take isl_basic_set *bset);
221 __isl_give isl_basic_set *isl_set_sample(__isl_take isl_set *set);
222 __isl_give isl_point *isl_basic_set_sample_point(__isl_take isl_basic_set *bset);
223 __isl_give isl_point *isl_set_sample_point(__isl_take isl_set *set);
224 __isl_give isl_set *isl_set_detect_equalities(__isl_take isl_set *set);
225 __isl_give isl_basic_set *isl_set_affine_hull(__isl_take isl_set *set);
226 __isl_give isl_basic_set *isl_set_convex_hull(__isl_take isl_set *set);
227 __isl_give isl_basic_set *isl_set_polyhedral_hull(__isl_take isl_set *set);
228 __isl_give isl_basic_set *isl_set_simple_hull(__isl_take isl_set *set);
229 struct isl_basic_set *isl_set_bounded_simple_hull(struct isl_set *set);
230 __isl_give isl_set *isl_set_recession_cone(__isl_take isl_set *set);
232 struct isl_set *isl_set_union_disjoint(
233 struct isl_set *set1, struct isl_set *set2);
234 __isl_give isl_set *isl_set_union(
235 __isl_take isl_set *set1,
236 __isl_take isl_set *set2);
237 __isl_give isl_set *isl_set_product(__isl_take isl_set *set1,
238 __isl_take isl_set *set2);
239 __isl_give isl_basic_set *isl_basic_set_flat_product(
240 __isl_take isl_basic_set *bset1, __isl_take isl_basic_set *bset2);
241 __isl_give isl_set *isl_set_flat_product(__isl_take isl_set *set1,
242 __isl_take isl_set *set2);
243 __isl_give isl_set *isl_set_intersect(
244 __isl_take isl_set *set1,
245 __isl_take isl_set *set2);
246 __isl_give isl_set *isl_set_intersect_params(__isl_take isl_set *set,
247 __isl_take isl_set *params);
248 __isl_give isl_set *isl_set_subtract(
249 __isl_take isl_set *set1,
250 __isl_take isl_set *set2);
251 __isl_give isl_set *isl_set_complement(__isl_take isl_set *set);
252 __isl_give isl_set *isl_set_apply(
253 __isl_take isl_set *set,
254 __isl_take isl_map *map);
255 __isl_give isl_set *isl_set_fix(__isl_take isl_set *set,
256 enum isl_dim_type type, unsigned pos, isl_int value);
257 struct isl_set *isl_set_fix_dim_si(struct isl_set *set,
258 unsigned dim, int value);
259 struct isl_set *isl_set_lower_bound_dim(struct isl_set *set,
260 unsigned dim, isl_int value);
261 __isl_give isl_set *isl_set_insert_dims(__isl_take isl_set *set,
262 enum isl_dim_type type, unsigned pos, unsigned n);
263 __isl_give isl_basic_set *isl_basic_set_add(__isl_take isl_basic_set *bset,
264 enum isl_dim_type type, unsigned n);
265 __isl_give isl_set *isl_set_add_dims(__isl_take isl_set *set,
266 enum isl_dim_type type, unsigned n);
267 __isl_give isl_basic_set *isl_basic_set_move_dims(__isl_take isl_basic_set *bset,
268 enum isl_dim_type dst_type, unsigned dst_pos,
269 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
270 __isl_give isl_set *isl_set_move_dims(__isl_take isl_set *set,
271 enum isl_dim_type dst_type, unsigned dst_pos,
272 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
273 __isl_give isl_basic_set *isl_basic_set_project_out(
274 __isl_take isl_basic_set *bset,
275 enum isl_dim_type type, unsigned first, unsigned n);
276 __isl_give isl_set *isl_set_project_out(__isl_take isl_set *set,
277 enum isl_dim_type type, unsigned first, unsigned n);
278 __isl_give isl_basic_set *isl_basic_set_remove_divs(
279 __isl_take isl_basic_set *bset);
280 __isl_give isl_set *isl_set_eliminate(__isl_take isl_set *set,
281 enum isl_dim_type type, unsigned first, unsigned n);
282 struct isl_set *isl_set_eliminate_dims(struct isl_set *set,
283 unsigned first, unsigned n);
284 __isl_give isl_set *isl_set_remove_dims(__isl_take isl_set *bset,
285 enum isl_dim_type type, unsigned first, unsigned n);
286 __isl_give isl_set *isl_set_remove_divs_involving_dims(__isl_take isl_set *set,
287 enum isl_dim_type type, unsigned first, unsigned n);
288 __isl_give isl_set *isl_set_remove_unknown_divs(__isl_take isl_set *set);
289 __isl_give isl_set *isl_set_remove_divs(__isl_take isl_set *set);
290 __isl_give isl_set *isl_set_split_dims(__isl_take isl_set *set,
291 enum isl_dim_type type, unsigned first, unsigned n);
293 int isl_basic_set_involves_dims(__isl_keep isl_basic_set *bset,
294 enum isl_dim_type type, unsigned first, unsigned n);
295 int isl_set_involves_dims(__isl_keep isl_set *set,
296 enum isl_dim_type type, unsigned first, unsigned n);
298 void isl_set_print_internal(__isl_keep isl_set *set, FILE *out, int indent);
299 int isl_set_plain_is_empty(__isl_keep isl_set *set);
300 int isl_set_fast_is_empty(__isl_keep isl_set *set);
301 int isl_set_plain_is_universe(__isl_keep isl_set *set);
302 int isl_set_fast_is_universe(__isl_keep isl_set *set);
303 int isl_set_is_params(__isl_keep isl_set *set);
304 int isl_set_is_empty(__isl_keep isl_set *set);
305 int isl_set_is_bounded(__isl_keep isl_set *set);
306 int isl_set_is_subset(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
307 int isl_set_is_strict_subset(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
308 int isl_set_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
309 int isl_set_is_singleton(__isl_keep isl_set *set);
310 int isl_set_is_box(__isl_keep isl_set *set);
311 int isl_set_has_equal_space(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
313 __isl_give isl_set *isl_set_sum(__isl_take isl_set *set1,
314 __isl_take isl_set *set2);
315 __isl_give isl_basic_set *isl_basic_set_neg(__isl_take isl_basic_set *bset);
316 __isl_give isl_set *isl_set_neg(__isl_take isl_set *set);
318 __isl_give isl_set *isl_set_make_disjoint(__isl_take isl_set *set);
319 struct isl_set *isl_basic_set_compute_divs(struct isl_basic_set *bset);
320 __isl_give isl_set *isl_set_compute_divs(__isl_take isl_set *set);
321 __isl_give isl_set *isl_set_align_divs(__isl_take isl_set *set);
323 struct isl_basic_set *isl_set_copy_basic_set(struct isl_set *set);
324 struct isl_set *isl_set_drop_basic_set(struct isl_set *set,
325 struct isl_basic_set *bset);
327 int isl_basic_set_plain_dim_is_fixed(__isl_keep isl_basic_set *bset,
328 unsigned dim, isl_int *val);
330 int isl_set_plain_dim_is_fixed(__isl_keep isl_set *set,
331 unsigned dim, isl_int *val);
332 int isl_set_fast_dim_is_fixed(__isl_keep isl_set *set,
333 unsigned dim, isl_int *val);
334 int isl_set_plain_dim_has_fixed_lower_bound(__isl_keep isl_set *set,
335 unsigned dim, isl_int *val);
336 int isl_set_dim_is_bounded(__isl_keep isl_set *set,
337 enum isl_dim_type type, unsigned pos);
338 int isl_set_dim_has_lower_bound(__isl_keep isl_set *set,
339 enum isl_dim_type type, unsigned pos);
340 int isl_set_dim_has_upper_bound(__isl_keep isl_set *set,
341 enum isl_dim_type type, unsigned pos);
343 __isl_give isl_basic_set *isl_basic_set_gist(__isl_take isl_basic_set *bset,
344 __isl_take isl_basic_set *context);
345 __isl_give isl_set *isl_set_gist_basic_set(__isl_take isl_set *set,
346 __isl_take isl_basic_set *context);
347 __isl_give isl_set *isl_set_gist(__isl_take isl_set *set,
348 __isl_take isl_set *context);
349 int isl_basic_set_dim_residue_class(struct isl_basic_set *bset,
350 int pos, isl_int *modulo, isl_int *residue);
351 int isl_set_dim_residue_class(struct isl_set *set,
352 int pos, isl_int *modulo, isl_int *residue);
354 __isl_give isl_set *isl_set_coalesce(__isl_take isl_set *set);
356 int isl_set_plain_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
357 int isl_set_fast_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
358 int isl_set_plain_is_disjoint(__isl_keep isl_set *set1,
359 __isl_keep isl_set *set2);
360 int isl_set_fast_is_disjoint(__isl_keep isl_set *set1,
361 __isl_keep isl_set *set2);
363 uint32_t isl_set_get_hash(struct isl_set *set);
365 int isl_set_dim_is_unique(struct isl_set *set, unsigned dim);
367 int isl_set_n_basic_set(__isl_keep isl_set *set);
368 int isl_set_foreach_basic_set(__isl_keep isl_set *set,
369 int (*fn)(__isl_take isl_basic_set *bset, void *user), void *user);
371 int isl_set_foreach_point(__isl_keep isl_set *set,
372 int (*fn)(__isl_take isl_point *pnt, void *user), void *user);
373 int isl_set_count(__isl_keep isl_set *set, isl_int *count);
374 int isl_basic_set_count_upto(__isl_keep isl_basic_set *bset,
375 isl_int max, isl_int *count);
376 int isl_set_count_upto(__isl_keep isl_set *set, isl_int max, isl_int *count);
378 __isl_give isl_basic_set *isl_basic_set_from_point(__isl_take isl_point *pnt);
379 __isl_give isl_set *isl_set_from_point(__isl_take isl_point *pnt);
380 __isl_give isl_basic_set *isl_basic_set_box_from_points(
381 __isl_take isl_point *pnt1, __isl_take isl_point *pnt2);
382 __isl_give isl_set *isl_set_box_from_points(__isl_take isl_point *pnt1,
383 __isl_take isl_point *pnt2);
385 __isl_give isl_basic_set *isl_basic_set_lift(__isl_take isl_basic_set *bset);
386 __isl_give isl_set *isl_set_lift(__isl_take isl_set *set);
388 __isl_give isl_map *isl_set_lex_le_set(__isl_take isl_set *set1,
389 __isl_take isl_set *set2);
390 __isl_give isl_map *isl_set_lex_lt_set(__isl_take isl_set *set1,
391 __isl_take isl_set *set2);
392 __isl_give isl_map *isl_set_lex_ge_set(__isl_take isl_set *set1,
393 __isl_take isl_set *set2);
394 __isl_give isl_map *isl_set_lex_gt_set(__isl_take isl_set *set1,
395 __isl_take isl_set *set2);
397 int isl_set_size(__isl_keep isl_set *set);
399 __isl_give isl_set *isl_set_align_params(__isl_take isl_set *set,
400 __isl_take isl_space *model);
402 __isl_give isl_mat *isl_basic_set_equalities_matrix(
403 __isl_keep isl_basic_set *bset, enum isl_dim_type c1,
404 enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
405 __isl_give isl_mat *isl_basic_set_inequalities_matrix(
406 __isl_keep isl_basic_set *bset, enum isl_dim_type c1,
407 enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
408 __isl_give isl_basic_set *isl_basic_set_from_constraint_matrices(
409 __isl_take isl_space *dim,
410 __isl_take isl_mat *eq, __isl_take isl_mat *ineq, enum isl_dim_type c1,
411 enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
413 __isl_give isl_mat *isl_basic_set_reduced_basis(__isl_keep isl_basic_set *bset);
415 __isl_give isl_basic_set *isl_basic_set_coefficients(
416 __isl_take isl_basic_set *bset);
417 __isl_give isl_basic_set *isl_set_coefficients(__isl_take isl_set *set);
418 __isl_give isl_basic_set *isl_basic_set_solutions(
419 __isl_take isl_basic_set *bset);
420 __isl_give isl_basic_set *isl_set_solutions(__isl_take isl_set *set);
422 __isl_give isl_pw_aff *isl_set_dim_max(__isl_take isl_set *set, int pos);
423 __isl_give isl_pw_aff *isl_set_dim_min(__isl_take isl_set *set, int pos);
425 #if defined(__cplusplus)
427 #endif
429 #include <isl/dim.h>
431 #endif