2 * Copyright 2010 INRIA Saclay
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege, INRIA Saclay - Ile-de-France,
7 * Parc Club Orsay Universite, ZAC des vignes, 4 rue Jacques Monod,
19 #if defined(__cplusplus)
23 /* An isl_morph is a "morphism" on (basic) sets.
24 * "map" is an affine mapping from "dom" to "ran"
25 * and "inv" is the inverse mapping.
36 typedef struct isl_morph isl_morph
;
38 __isl_give isl_morph
*isl_morph_copy(__isl_keep isl_morph
*morph
);
39 void isl_morph_free(__isl_take isl_morph
*morph
);
41 __isl_give isl_dim
*isl_morph_get_ran_dim(__isl_keep isl_morph
*morph
);
43 __isl_give isl_morph
*isl_morph_drop_dims(__isl_take isl_morph
*morph
,
44 enum isl_dim_type type
, unsigned first
, unsigned n
);
46 __isl_give isl_morph
*isl_morph_compose(__isl_take isl_morph
*morph1
,
47 __isl_take isl_morph
*morph2
);
48 __isl_give isl_morph
*isl_morph_inverse(__isl_take isl_morph
*morph
);
50 void isl_morph_dump(__isl_take isl_morph
*morph
, FILE *out
);
52 __isl_give isl_morph
*isl_basic_set_variable_compression(
53 __isl_keep isl_basic_set
*bset
, enum isl_dim_type type
);
54 __isl_give isl_morph
*isl_basic_set_parameter_compression(
55 __isl_keep isl_basic_set
*bset
);
57 __isl_give isl_basic_set
*isl_morph_basic_set(__isl_take isl_morph
*morph
,
58 __isl_take isl_basic_set
*bset
);
59 __isl_give isl_set
*isl_morph_set(__isl_take isl_morph
*morph
,
60 __isl_take isl_set
*set
);
62 #if defined(__cplusplus)