Reference: Geometric Entities

Point

class islpy.Point
__eq__(_other: object) → bool

Return self==value.

__hash__()

Return hash(self).

__ne__(_other: object) → bool

Return self!=value.

add_ui(self, type: dim_type, pos: int, val: int) → Point

Warning

This function is not part of the officially public isl API. Use at your own risk.

copy(self) → Point

Warning

This function is not part of the officially public isl API. Use at your own risk.

dump(self) → None

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_coordinate_val(self, type: dim_type, pos: int) → Val

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_ctx(self) → Context

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_id_dict(dimtype: dim_type | None = None) → Mapping[Id, tuple[dim_type, int]]

Return a dictionary mapping Id instances to tuples of (dim_type, index).

Parameters:

dimtype – None to get all variables, otherwise one of dim_type.

get_multi_val(self) → MultiVal
get_space(self) → Space

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_var_dict(dimtype: dim_type | None = None) → Mapping[str, tuple[dim_type, int]]

Return a dictionary mapping variable names to tuples of (dim_type, index).

Parameters:

dimtype – None to get all variables, otherwise one of dim_type.

get_var_ids(dimtype: dim_type) → Sequence[str | None]

Return a list of Id instances for dim_type dimtype.

get_var_names(dimtype: dim_type) → Sequence[str | None]

Return a list of dim names (in order) for dim_type dimtype.

get_var_names_not_none(dimtype: dim_type) → Sequence[str]

Return a list of dim names (in order) for dim_type dimtype.

Raise ValueError if any of the names is None.

Added in version 2025.2.5.

is_void(self) → bool

Warning

This function is not part of the officially public isl API. Use at your own risk.

set_coordinate_val(self, type: dim_type, pos: int, v: Val | int) → Point

Warning

This function is not part of the officially public isl API. Use at your own risk.

property space
sub_ui(self, type: dim_type, pos: int, val: int) → Point

Warning

This function is not part of the officially public isl API. Use at your own risk.

to_set(self) → Set
to_str(self) → str

Warning

This function is not part of the officially public isl API. Use at your own risk.

void = <nanobind.nb_func object>
zero = <nanobind.nb_func object>

Vertex

class islpy.Vertex
__eq__(_other: object) → bool

Return self==value.

__hash__()

Return hash(self).

__ne__(_other: object) → bool

Return self!=value.

get_ctx(self) → Context

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_domain(self) → BasicSet

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_expr(self) → MultiAff

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_id(self) → int

Warning

This function is not part of the officially public isl API. Use at your own risk.

Vertices

class islpy.Vertices
__eq__(_other: object) → bool

Return self==value.

__hash__()

Return hash(self).

__ne__(_other: object) → bool

Return self!=value.

foreach_cell(self, fn: Callable[[Cell], None]) → None
Parameters:

fn – callback(cell)

Warning

This function is not part of the officially public isl API. Use at your own risk.

foreach_vertex(self, fn: Callable[[Vertex], None]) → None
Parameters:

fn – callback(vertex)

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_ctx(self) → Context

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_n_vertices(self) → int

Warning

This function is not part of the officially public isl API. Use at your own risk.

StrideInfo

class islpy.StrideInfo
__eq__(_other: object) → bool

Return self==value.

__hash__()

Return hash(self).

__ne__(_other: object) → bool

Return self!=value.

copy(self) → StrideInfo

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_ctx(self) → Context

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_offset(self) → Aff

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_stride(self) → Val

Warning

This function is not part of the officially public isl API. Use at your own risk.

Cell

class islpy.Cell
__eq__(_other: object) → bool

Return self==value.

__hash__()

Return hash(self).

__ne__(_other: object) → bool

Return self!=value.

foreach_vertex(self, fn: Callable[[Vertex], None]) → None
Parameters:

fn – callback(vertex)

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_ctx(self) → Context

Warning

This function is not part of the officially public isl API. Use at your own risk.

get_domain(self) → BasicSet

Warning

This function is not part of the officially public isl API. Use at your own risk.

Fixed Box

class islpy.FixedBox
__eq__(_other: object) → bool

Return self==value.

__hash__()

Return hash(self).

__ne__(_other: object) → bool

Return self!=value.