isl_basic_map_normalize: avoid invalid access on error
[isl.git] / isl_sample.h
blob29a2a3bbb2d625f1125fc2898186abaf3dddcda8
1 /*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the MIT license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
10 #ifndef ISL_SAMPLE_H
11 #define ISL_SAMPLE
13 #include <isl/set.h>
14 #include <isl_tab.h>
16 #if defined(__cplusplus)
17 extern "C" {
18 #endif
20 __isl_give isl_vec *isl_basic_set_sample_vec(__isl_take isl_basic_set *bset);
21 struct isl_vec *isl_basic_set_sample_bounded(struct isl_basic_set *bset);
22 __isl_give isl_vec *isl_basic_set_sample_with_cone(
23 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *cone);
25 __isl_give isl_basic_set *isl_basic_set_from_vec(__isl_take isl_vec *vec);
27 int isl_tab_set_initial_basis_with_cone(struct isl_tab *tab,
28 struct isl_tab *tab_cone);
29 struct isl_vec *isl_tab_sample(struct isl_tab *tab);
31 #if defined(__cplusplus)
33 #endif
35 #endif