diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2011-02-17 20:29:08 +0100 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2011-02-18 12:29:45 +0100 |
commit | 87290427f49202b5c80e51d2f9db3b0b31ef4ed4 (patch) | |
tree | 3dcac0edaa4d99b7f760972749a06a6d659bf6c7 | |
parent | 9368d37fc94ac0c349b1113e9b5c88224c0c7e79 (diff) | |
download | isl-87290427f49202b5c80e51d2f9db3b0b31ef4ed4.tar.gz isl-87290427f49202b5c80e51d2f9db3b0b31ef4ed4.tar.bz2 isl-87290427f49202b5c80e51d2f9db3b0b31ef4ed4.zip |
add isl_basic_set_neg
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
-rw-r--r-- | include/isl/set.h | 1 | ||||
-rw-r--r-- | isl_map.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/isl/set.h b/include/isl/set.h index 610911fe..b2d89809 100644 --- a/include/isl/set.h +++ b/include/isl/set.h @@ -260,6 +260,7 @@ int isl_set_has_equal_dim(__isl_keep isl_set *set1, __isl_keep isl_set *set2); __isl_give isl_set *isl_set_sum(__isl_take isl_set *set1, __isl_take isl_set *set2); +__isl_give isl_basic_set *isl_basic_set_neg(__isl_take isl_basic_set *bset); __isl_give isl_set *isl_set_neg(__isl_take isl_set *set); __isl_give isl_set *isl_set_make_disjoint(__isl_take isl_set *set); @@ -2992,6 +2992,11 @@ struct isl_basic_map *isl_basic_map_neg(struct isl_basic_map *bmap) return isl_basic_map_finalize(bmap); } +__isl_give isl_basic_set *isl_basic_set_neg(__isl_take isl_basic_set *bset) +{ + return isl_basic_map_neg(bset); +} + /* Given a map A -> f(A), construct A -> -f(A). */ struct isl_map *isl_map_neg(struct isl_map *map) |