add isl_pw_qpolynomial_split_periods
[isl.git] / isl_factorization.h
blob3fae67cc62487b655817bb94da9b8e1beff9aefe
1 #include <isl_set.h>
2 #include <isl_morph.h>
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
8 /* Data for factorizing a particular basic set.
9 * After applying "morph" to the basic set, there are "n_group"
10 * groups of consecutive set variables, each of length "len[i]",
11 * with 0 <= i < n_group.
12 * If no factorization is possible, then "n_group" is set to 0.
14 struct isl_factorizer {
15 isl_morph *morph;
16 int n_group;
17 int *len;
19 typedef struct isl_factorizer isl_factorizer;
21 __isl_give isl_factorizer *isl_basic_set_factorizer(
22 __isl_keep isl_basic_set *bset);
24 void isl_factorizer_free(__isl_take isl_factorizer *f);
25 void isl_factorizer_dump(__isl_take isl_factorizer *f, FILE *out);
27 #if defined(__cplusplus)
29 #endif