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

copy(self)
Parameters

selfPoint

Returns

Point

dump(self)
Parameters

selfPoint

Returns

None

get_coordinate_val(self, type, pos)
Parameters
Returns

Val

get_ctx(self)
Parameters

selfPoint

Returns

Context

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

selfPoint

Returns

MultiVal

get_space(self)
Parameters

selfPoint

Returns

Space

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

selfPoint

Returns

bool

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

Point

property space

get_space(self)

Parameters

selfPoint

Returns

Space

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

Point

to_set(self)
Parameters

selfPoint

Returns

Set

to_str(self)
Parameters

selfPoint

Returns

string

static void(space)
Parameters

spaceSpace

Returns

Point

static zero(space)
Parameters

spaceSpace

Returns

Point

Vertex

class islpy.Vertex
__eq__(value, /)

Return self==value.

__hash__()

Return hash(self).

__ne__(value, /)

Return self!=value.

get_ctx(self)
Parameters

selfVertex

Returns

Context

get_domain(self)
Parameters

selfVertex

Returns

BasicSet

get_expr(self)
Parameters

selfVertex

Returns

MultiAff

get_id(self)
Parameters

selfVertex

Returns

isl_size

Vertices

class islpy.Vertices
__eq__(value, /)

Return self==value.

__hash__()

Return hash(self).

__ne__(value, /)

Return self!=value.

foreach_cell(self, fn)
Parameters
  • selfVertices

  • fn – callback(cell)

Returns

isl_stat

foreach_vertex(self, fn)
Parameters
  • selfVertices

  • fn – callback(vertex)

Returns

isl_stat

get_ctx(self)
Parameters

selfVertices

Returns

Context

get_n_vertices(self)
Parameters

selfVertices

Returns

isl_size

StrideInfo

class islpy.StrideInfo
__eq__(value, /)

Return self==value.

__hash__()

Return hash(self).

__ne__(value, /)

Return self!=value.

Cell

class islpy.Cell
__eq__(value, /)

Return self==value.

__hash__()

Return hash(self).

__ne__(value, /)

Return self!=value.

foreach_vertex(self, fn)
Parameters
  • selfCell

  • fn – callback(vertex)

Returns

isl_stat

get_ctx(self)
Parameters

selfCell

Returns

Context

get_domain(self)
Parameters

selfCell

Returns

BasicSet

Fixed Box

class islpy.FixedBox
__eq__(value, /)

Return self==value.

__hash__()

Return hash(self).

__ne__(value, /)

Return self!=value.