doc: document isl_map_deltas
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 18 Jun 2010 14:33:40 +0000 (16:33 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 18 Jun 2010 14:33:40 +0000 (16:33 +0200)
doc/user.pod
include/isl_map.h

index ff7840b..1f4f7d1 100644 (file)
@@ -918,6 +918,15 @@ is already known to be empty.
        __isl_give isl_set *isl_map_range(
                __isl_take isl_map *map);
 
+=item * Deltas
+
+       __isl_give isl_basic_set *isl_basic_map_deltas(
+               __isl_take isl_basic_map *bmap);
+       __isl_give isl_set *isl_map_deltas(__isl_take isl_map *map);
+
+These functions return a (basic) set containing the differences
+between image elements and corresponding domain elements in the input.
+
 =item * Coalescing
 
 Simplify the representation of a set or relation by trying
index 0978700..574f0fa 100644 (file)
@@ -321,8 +321,8 @@ struct isl_map *isl_map_fix_si(struct isl_map *map,
                enum isl_dim_type type, unsigned pos, int value);
 __isl_give isl_map *isl_map_lower_bound_si(__isl_take isl_map *map,
                enum isl_dim_type type, unsigned pos, int value);
-struct isl_basic_set *isl_basic_map_deltas(struct isl_basic_map *bmap);
-struct isl_set *isl_map_deltas(struct isl_map *map);
+__isl_give isl_basic_set *isl_basic_map_deltas(__isl_take isl_basic_map *bmap);
+__isl_give isl_set *isl_map_deltas(__isl_take isl_map *map);
 struct isl_map *isl_map_detect_equalities(struct isl_map *map);
 __isl_give isl_basic_map *isl_map_affine_hull(__isl_take isl_map *map);
 __isl_give isl_basic_map *isl_map_convex_hull(__isl_take isl_map *map);