pub struct Set {
pub ptr: uintptr_t,
}Expand description
Wraps isl_set.
Fields
ptr: uintptr_tImplementations
sourceimpl Set
impl Set
sourcepub fn reset_space(self, space: Space) -> Set
pub fn reset_space(self, space: Space) -> Set
Wraps isl_set_reset_space.
sourcepub fn has_tuple_name(&self) -> bool
pub fn has_tuple_name(&self) -> bool
Wraps isl_set_has_tuple_name.
sourcepub fn get_tuple_name(&self) -> &str
pub fn get_tuple_name(&self) -> &str
Wraps isl_set_get_tuple_name.
sourcepub fn set_tuple_name(self, s: &str) -> Set
pub fn set_tuple_name(self, s: &str) -> Set
Wraps isl_set_set_tuple_name.
sourcepub fn has_dim_name(&self, type_: DimType, pos: u32) -> bool
pub fn has_dim_name(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_has_dim_name.
sourcepub fn get_dim_name(&self, type_: DimType, pos: u32) -> &str
pub fn get_dim_name(&self, type_: DimType, pos: u32) -> &str
Wraps isl_set_get_dim_name.
sourcepub fn set_dim_name(self, type_: DimType, pos: u32, s: &str) -> Set
pub fn set_dim_name(self, type_: DimType, pos: u32, s: &str) -> Set
Wraps isl_set_set_dim_name.
sourcepub fn has_dim_id(&self, type_: DimType, pos: u32) -> bool
pub fn has_dim_id(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_has_dim_id.
sourcepub fn get_dim_id(&self, type_: DimType, pos: u32) -> Id
pub fn get_dim_id(&self, type_: DimType, pos: u32) -> Id
Wraps isl_set_get_dim_id.
sourcepub fn set_tuple_id(self, id: Id) -> Set
pub fn set_tuple_id(self, id: Id) -> Set
Wraps isl_set_set_tuple_id.
sourcepub fn reset_tuple_id(self) -> Set
pub fn reset_tuple_id(self) -> Set
Wraps isl_set_reset_tuple_id.
sourcepub fn has_tuple_id(&self) -> bool
pub fn has_tuple_id(&self) -> bool
Wraps isl_set_has_tuple_id.
sourcepub fn get_tuple_id(&self) -> Id
pub fn get_tuple_id(&self) -> Id
Wraps isl_set_get_tuple_id.
sourcepub fn reset_user(self) -> Set
pub fn reset_user(self) -> Set
Wraps isl_set_reset_user.
sourcepub fn find_dim_by_id(&self, type_: DimType, id: &Id) -> i32
pub fn find_dim_by_id(&self, type_: DimType, id: &Id) -> i32
Wraps isl_set_find_dim_by_id.
sourcepub fn find_dim_by_name(&self, type_: DimType, name: &str) -> i32
pub fn find_dim_by_name(&self, type_: DimType, name: &str) -> i32
Wraps isl_set_find_dim_by_name.
sourcepub fn remove_redundancies(self) -> Set
pub fn remove_redundancies(self) -> Set
Wraps isl_set_remove_redundancies.
sourcepub fn read_from_str(ctx: &Context, str_: &str) -> Set
pub fn read_from_str(ctx: &Context, str_: &str) -> Set
Wraps isl_set_read_from_str.
sourcepub fn lower_bound_si(self, type_: DimType, pos: u32, value: i32) -> Set
pub fn lower_bound_si(self, type_: DimType, pos: u32, value: i32) -> Set
Wraps isl_set_lower_bound_si.
sourcepub fn lower_bound_val(self, type_: DimType, pos: u32, value: Val) -> Set
pub fn lower_bound_val(self, type_: DimType, pos: u32, value: Val) -> Set
Wraps isl_set_lower_bound_val.
sourcepub fn upper_bound_si(self, type_: DimType, pos: u32, value: i32) -> Set
pub fn upper_bound_si(self, type_: DimType, pos: u32, value: i32) -> Set
Wraps isl_set_upper_bound_si.
sourcepub fn upper_bound_val(self, type_: DimType, pos: u32, value: Val) -> Set
pub fn upper_bound_val(self, type_: DimType, pos: u32, value: Val) -> Set
Wraps isl_set_upper_bound_val.
sourcepub fn equate(self, type1: DimType, pos1: i32, type2: DimType, pos2: i32) -> Set
pub fn equate(self, type1: DimType, pos1: i32, type2: DimType, pos2: i32) -> Set
Wraps isl_set_equate.
sourcepub fn follows_at(&self, set2: &Set, pos: i32) -> i32
pub fn follows_at(&self, set2: &Set, pos: i32) -> i32
Wraps isl_set_follows_at.
sourcepub fn from_params(self) -> Set
pub fn from_params(self) -> Set
Wraps isl_set_from_params.
sourcepub fn nat_universe(space: Space) -> Set
pub fn nat_universe(space: Space) -> Set
Wraps isl_set_nat_universe.
sourcepub fn from_basic_set(bset: BasicSet) -> Set
pub fn from_basic_set(bset: BasicSet) -> Set
Wraps isl_set_from_basic_set.
sourcepub fn sample_point(self) -> Point
pub fn sample_point(self) -> Point
Wraps isl_set_sample_point.
sourcepub fn detect_equalities(self) -> Set
pub fn detect_equalities(self) -> Set
Wraps isl_set_detect_equalities.
sourcepub fn affine_hull(self) -> BasicSet
pub fn affine_hull(self) -> BasicSet
Wraps isl_set_affine_hull.
sourcepub fn convex_hull(self) -> BasicSet
pub fn convex_hull(self) -> BasicSet
Wraps isl_set_convex_hull.
sourcepub fn polyhedral_hull(self) -> BasicSet
pub fn polyhedral_hull(self) -> BasicSet
Wraps isl_set_polyhedral_hull.
sourcepub fn simple_hull(self) -> BasicSet
pub fn simple_hull(self) -> BasicSet
Wraps isl_set_simple_hull.
sourcepub fn unshifted_simple_hull(self) -> BasicSet
pub fn unshifted_simple_hull(self) -> BasicSet
Wraps isl_set_unshifted_simple_hull.
sourcepub fn plain_unshifted_simple_hull(self) -> BasicSet
pub fn plain_unshifted_simple_hull(self) -> BasicSet
Wraps isl_set_plain_unshifted_simple_hull.
sourcepub fn bounded_simple_hull(self) -> BasicSet
pub fn bounded_simple_hull(self) -> BasicSet
Wraps isl_set_bounded_simple_hull.
sourcepub fn union_disjoint(self, set2: Set) -> Set
pub fn union_disjoint(self, set2: Set) -> Set
Wraps isl_set_union_disjoint.
sourcepub fn flat_product(self, set2: Set) -> Set
pub fn flat_product(self, set2: Set) -> Set
Wraps isl_set_flat_product.
sourcepub fn intersect_params(self, params: Set) -> Set
pub fn intersect_params(self, params: Set) -> Set
Wraps isl_set_intersect_params.
sourcepub fn intersect_factor_domain(self, domain: Set) -> Set
pub fn intersect_factor_domain(self, domain: Set) -> Set
Wraps isl_set_intersect_factor_domain.
sourcepub fn intersect_factor_range(self, range: Set) -> Set
pub fn intersect_factor_range(self, range: Set) -> Set
Wraps isl_set_intersect_factor_range.
sourcepub fn complement(self) -> Set
pub fn complement(self) -> Set
Wraps isl_set_complement.
sourcepub fn fix_dim_si(self, dim: u32, value: i32) -> Set
pub fn fix_dim_si(self, dim: u32, value: i32) -> Set
Wraps isl_set_fix_dim_si.
sourcepub fn move_dims(
self,
dst_type: DimType,
dst_pos: u32,
src_type: DimType,
src_pos: u32,
n: u32
) -> Set
pub fn move_dims(
self,
dst_type: DimType,
dst_pos: u32,
src_type: DimType,
src_pos: u32,
n: u32
) -> Set
Wraps isl_set_move_dims.
sourcepub fn project_out_param_id(self, id: Id) -> Set
pub fn project_out_param_id(self, id: Id) -> Set
Wraps isl_set_project_out_param_id.
sourcepub fn project_out_all_params(self) -> Set
pub fn project_out_all_params(self) -> Set
Wraps isl_set_project_out_all_params.
sourcepub fn project_onto_map(self, type_: DimType, first: u32, n: u32) -> Map
pub fn project_onto_map(self, type_: DimType, first: u32, n: u32) -> Map
Wraps isl_set_project_onto_map.
sourcepub fn eliminate_dims(self, first: u32, n: u32) -> Set
pub fn eliminate_dims(self, first: u32, n: u32) -> Set
Wraps isl_set_eliminate_dims.
sourcepub fn remove_divs_involving_dims(self, type_: DimType, first: u32, n: u32) -> Set
pub fn remove_divs_involving_dims(self, type_: DimType, first: u32, n: u32) -> Set
Wraps isl_set_remove_divs_involving_dims.
sourcepub fn remove_unknown_divs(self) -> Set
pub fn remove_unknown_divs(self) -> Set
Wraps isl_set_remove_unknown_divs.
sourcepub fn remove_divs(self) -> Set
pub fn remove_divs(self) -> Set
Wraps isl_set_remove_divs.
sourcepub fn drop_constraints_involving_dims(
self,
type_: DimType,
first: u32,
n: u32
) -> Set
pub fn drop_constraints_involving_dims(
self,
type_: DimType,
first: u32,
n: u32
) -> Set
Wraps isl_set_drop_constraints_involving_dims.
sourcepub fn drop_constraints_not_involving_dims(
self,
type_: DimType,
first: u32,
n: u32
) -> Set
pub fn drop_constraints_not_involving_dims(
self,
type_: DimType,
first: u32,
n: u32
) -> Set
Wraps isl_set_drop_constraints_not_involving_dims.
sourcepub fn involves_locals(&self) -> bool
pub fn involves_locals(&self) -> bool
Wraps isl_set_involves_locals.
sourcepub fn involves_dims(&self, type_: DimType, first: u32, n: u32) -> bool
pub fn involves_dims(&self, type_: DimType, first: u32, n: u32) -> bool
Wraps isl_set_involves_dims.
sourcepub fn plain_is_empty(&self) -> bool
pub fn plain_is_empty(&self) -> bool
Wraps isl_set_plain_is_empty.
sourcepub fn plain_is_universe(&self) -> bool
pub fn plain_is_universe(&self) -> bool
Wraps isl_set_plain_is_universe.
sourcepub fn is_bounded(&self) -> bool
pub fn is_bounded(&self) -> bool
Wraps isl_set_is_bounded.
sourcepub fn is_strict_subset(&self, set2: &Set) -> bool
pub fn is_strict_subset(&self, set2: &Set) -> bool
Wraps isl_set_is_strict_subset.
sourcepub fn is_disjoint(&self, set2: &Set) -> bool
pub fn is_disjoint(&self, set2: &Set) -> bool
Wraps isl_set_is_disjoint.
sourcepub fn is_singleton(&self) -> bool
pub fn is_singleton(&self) -> bool
Wraps isl_set_is_singleton.
sourcepub fn has_equal_space(&self, set2: &Set) -> bool
pub fn has_equal_space(&self, set2: &Set) -> bool
Wraps isl_set_has_equal_space.
sourcepub fn make_disjoint(self) -> Set
pub fn make_disjoint(self) -> Set
Wraps isl_set_make_disjoint.
sourcepub fn compute_divs(self) -> Set
pub fn compute_divs(self) -> Set
Wraps isl_set_compute_divs.
sourcepub fn align_divs(self) -> Set
pub fn align_divs(self) -> Set
Wraps isl_set_align_divs.
sourcepub fn plain_get_val_if_fixed(&self, type_: DimType, pos: u32) -> Val
pub fn plain_get_val_if_fixed(&self, type_: DimType, pos: u32) -> Val
Wraps isl_set_plain_get_val_if_fixed.
sourcepub fn dim_is_bounded(&self, type_: DimType, pos: u32) -> bool
pub fn dim_is_bounded(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_is_bounded.
sourcepub fn dim_has_lower_bound(&self, type_: DimType, pos: u32) -> bool
pub fn dim_has_lower_bound(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_has_lower_bound.
sourcepub fn dim_has_upper_bound(&self, type_: DimType, pos: u32) -> bool
pub fn dim_has_upper_bound(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_has_upper_bound.
sourcepub fn dim_has_any_lower_bound(&self, type_: DimType, pos: u32) -> bool
pub fn dim_has_any_lower_bound(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_has_any_lower_bound.
sourcepub fn dim_has_any_upper_bound(&self, type_: DimType, pos: u32) -> bool
pub fn dim_has_any_upper_bound(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_has_any_upper_bound.
sourcepub fn gist_basic_set(self, context: BasicSet) -> Set
pub fn gist_basic_set(self, context: BasicSet) -> Set
Wraps isl_set_gist_basic_set.
sourcepub fn gist_params(self, context: Set) -> Set
pub fn gist_params(self, context: Set) -> Set
Wraps isl_set_gist_params.
sourcepub fn get_stride_info(&self, pos: i32) -> StrideInfo
pub fn get_stride_info(&self, pos: i32) -> StrideInfo
Wraps isl_set_get_stride_info.
sourcepub fn get_stride(&self, pos: i32) -> Val
pub fn get_stride(&self, pos: i32) -> Val
Wraps isl_set_get_stride.
sourcepub fn get_lattice_tile(&self) -> FixedBox
pub fn get_lattice_tile(&self) -> FixedBox
Wraps isl_set_get_lattice_tile.
sourcepub fn get_simple_fixed_box_hull(&self) -> FixedBox
pub fn get_simple_fixed_box_hull(&self) -> FixedBox
Wraps isl_set_get_simple_fixed_box_hull.
sourcepub fn plain_is_equal(&self, set2: &Set) -> bool
pub fn plain_is_equal(&self, set2: &Set) -> bool
Wraps isl_set_plain_is_equal.
sourcepub fn plain_is_disjoint(&self, set2: &Set) -> bool
pub fn plain_is_disjoint(&self, set2: &Set) -> bool
Wraps isl_set_plain_is_disjoint.
sourcepub fn n_basic_set(&self) -> i32
pub fn n_basic_set(&self) -> i32
Wraps isl_set_n_basic_set.
sourcepub fn from_point(pnt: Point) -> Set
pub fn from_point(pnt: Point) -> Set
Wraps isl_set_from_point.
sourcepub fn box_from_points(pnt1: Point, pnt2: Point) -> Set
pub fn box_from_points(pnt1: Point, pnt2: Point) -> Set
Wraps isl_set_box_from_points.
sourcepub fn lex_le_set(self, set2: Set) -> Map
pub fn lex_le_set(self, set2: Set) -> Map
Wraps isl_set_lex_le_set.
sourcepub fn lex_lt_set(self, set2: Set) -> Map
pub fn lex_lt_set(self, set2: Set) -> Map
Wraps isl_set_lex_lt_set.
sourcepub fn lex_ge_set(self, set2: Set) -> Map
pub fn lex_ge_set(self, set2: Set) -> Map
Wraps isl_set_lex_ge_set.
sourcepub fn lex_gt_set(self, set2: Set) -> Map
pub fn lex_gt_set(self, set2: Set) -> Map
Wraps isl_set_lex_gt_set.
sourcepub fn align_params(self, model: Space) -> Set
pub fn align_params(self, model: Space) -> Set
Wraps isl_set_align_params.
sourcepub fn drop_unused_params(self) -> Set
pub fn drop_unused_params(self) -> Set
Wraps isl_set_drop_unused_params.
sourcepub fn coefficients(self) -> BasicSet
pub fn coefficients(self) -> BasicSet
Wraps isl_set_coefficients.