diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2009-05-19 12:38:47 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2009-05-19 12:38:47 +0200 |
commit | f10edd8e50bd62ed265558df974b8a3d459d793d (patch) | |
tree | 30a09e03dab362906d39488e9c15042e8c2e2dc3 /isl_map.c | |
parent | 6049041980f76d53ea910525205dccd6f2477f16 (diff) | |
download | isl-f10edd8e50bd62ed265558df974b8a3d459d793d.tar.gz isl-f10edd8e50bd62ed265558df974b8a3d459d793d.tar.bz2 isl-f10edd8e50bd62ed265558df974b8a3d459d793d.zip |
add isl_set_product
Diffstat (limited to 'isl_map.c')
-rw-r--r-- | isl_map.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -4550,6 +4550,14 @@ error: return NULL; } +/* Given two set A and B, construct its Cartesian product A x B. + */ +struct isl_set *isl_set_product(struct isl_set *set1, struct isl_set *set2) +{ + return (struct isl_set *)isl_map_product((struct isl_map *)set1, + (struct isl_map *)set2); +} + uint32_t isl_basic_set_get_hash(struct isl_basic_set *bset) { int i; |