diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2013-04-18 08:54:03 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2013-05-28 20:42:48 +0200 |
commit | 2f85fb2d2bee36b32140ba5c11dfd920393c25bc (patch) | |
tree | 0d7ddb5ed24c03210cdb9ca9db44f307295246be /doc | |
parent | 1591a99907bc7b1d54385af97ae53d66423d8e22 (diff) | |
download | isl-2f85fb2d2bee36b32140ba5c11dfd920393c25bc.tar.gz isl-2f85fb2d2bee36b32140ba5c11dfd920393c25bc.tar.bz2 isl-2f85fb2d2bee36b32140ba5c11dfd920393c25bc.zip |
add isl_set_dim_residue_class_val
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user.pod | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/user.pod b/doc/user.pod index f208de3f..48b4f793 100644 --- a/doc/user.pod +++ b/doc/user.pod @@ -2075,6 +2075,21 @@ If the set or relation obviously lies on a hyperplane where the given dimension has a fixed value, then return that value. Otherwise return NaN. +=item * Stride + + int isl_set_dim_residue_class_val( + __isl_keep isl_set *set, + int pos, __isl_give isl_val **modulo, + __isl_give isl_val **residue); + +Check if the values of the given set dimension are equal to a fixed +value modulo some integer value. If so, assign the modulo to C<*modulo> +and the fixed value to C<*residue>. If the given dimension attains only +a single value, then assign C<0> to C<*modulo> and the fixed value to +C<*residue>. +If the dimension does not attain only a single value and if no modulo +can be found then assign C<1> to C<*modulo> and C<1> to C<*residue>. + =item * Space To check whether a set is a parameter domain, use this function: |