Reference: Geometric Entities#

Point#

class islpy.Point#
__eq__(value, /)#

Return self==value.

__hash__()#

Return hash(self).

__ne__(value, /)#

Return self!=value.

add_ui(self, type, pos, val)#
Parameters:
Returns:

Point

Warning

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

copy(self)#
Parameters:

self – Point

Returns:

Point

Warning

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

dump(self)#
Parameters:

self – Point

Returns:

None

Warning

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

get_coordinate_val(self, type, pos)#
Parameters:
Returns:

Val

Warning

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

get_ctx(self)#
Parameters:

self – Point

Returns:

Context

Warning

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

get_id_dict(dimtype=None)#

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)#
Parameters:

self – Point

Returns:

MultiVal

get_space(self)#
Parameters:

self – Point

Returns:

Space

Warning

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

get_var_dict(dimtype=None)#

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)#

Return a list of Id instances for dim_type dimtype.

get_var_names(dimtype)#

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

is_void(self)#
Parameters:

self – Point

Returns:

bool

Warning

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

set_coordinate_val(self, type, pos, v)#
Parameters:
Returns:

Point

Warning

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

property space#

get_space(self) -> object

get_space(self)

Parameters:

self – Point

Returns:

Space

Warning

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

sub_ui(self, type, pos, val)#
Parameters:
Returns:

Point

Warning

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

to_set(self)#
Parameters:

self – Point

Returns:

Set

to_str(self)#
Parameters:

self – Point

Returns:

string

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__(value, /)#

Return self==value.

__hash__()#

Return hash(self).

__ne__(value, /)#

Return self!=value.

get_ctx(self)#
Parameters:

self – Vertex

Returns:

Context

Warning

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

get_domain(self)#
Parameters:

self – Vertex

Returns:

BasicSet

Warning

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

get_expr(self)#
Parameters:

self – Vertex

Returns:

MultiAff

Warning

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

get_id(self)#
Parameters:

self – Vertex

Returns:

isl_size

Warning

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

Vertices#

class islpy.Vertices#
__eq__(value, /)#

Return self==value.

__hash__()#

Return hash(self).

__ne__(value, /)#

Return self!=value.

foreach_cell(self, fn)#
Parameters:
  • self – Vertices

  • fn – callback(cell)

Returns:

isl_stat

Warning

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

foreach_vertex(self, fn)#
Parameters:
  • self – Vertices

  • fn – callback(vertex)

Returns:

isl_stat

Warning

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

get_ctx(self)#
Parameters:

self – Vertices

Returns:

Context

Warning

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

get_n_vertices(self)#
Parameters:

self – Vertices

Returns:

isl_size

Warning

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

StrideInfo#

class islpy.StrideInfo#
__eq__(value, /)#

Return self==value.

__hash__()#

Return hash(self).

__ne__(value, /)#

Return self!=value.

copy(self)#
Parameters:

self – StrideInfo

Returns:

StrideInfo

Warning

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

get_ctx(self)#
Parameters:

self – StrideInfo

Returns:

Context

Warning

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

get_offset(self)#
Parameters:

self – StrideInfo

Returns:

Aff

Warning

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

get_stride(self)#
Parameters:

self – StrideInfo

Returns:

Val

Warning

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

Cell#

class islpy.Cell#
__eq__(value, /)#

Return self==value.

__hash__()#

Return hash(self).

__ne__(value, /)#

Return self!=value.

foreach_vertex(self, fn)#
Parameters:
  • self – Cell

  • fn – callback(vertex)

Returns:

isl_stat

Warning

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

get_ctx(self)#
Parameters:

self – Cell

Returns:

Context

Warning

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

get_domain(self)#
Parameters:

self – Cell

Returns:

BasicSet

Warning

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

Fixed Box#

class islpy.FixedBox#
__eq__(value, /)#

Return self==value.

__hash__()#

Return hash(self).

__ne__(value, /)#

Return self!=value.