Reference: Expression-like Objects¶

Quasi-Affine Expressions¶

Quasi-Affine Expression¶

class islpy.Aff(*args, **kwargs)¶
__eq__(other)¶

Return self==value.

__hash__(self) int¶

get_hash(self)

Parameters:

self – Aff

Returns:

uint32_t

Warning

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

__ne__(other)¶

Return self!=value.

add¶

Overloaded function.

  1. add(self, aff2: islpy._isl.Aff) -> object

add(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Aff

  1. add(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

  1. add(self, arg: islpy._isl.UnionPwAff, /) -> object

Upcast from Aff to UnionPwAff

add_coefficient_val(self, type, pos, v)¶
Parameters:
Returns:

Aff

Warning

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

add_constant_num_si(self, v)¶
Parameters:
  • self – Aff

  • v – int

Returns:

Aff

Warning

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

add_constant_val¶

Overloaded function.

  1. add_constant_val(self, v: object) -> object

add_constant_val(self, v)

Parameters:
  • self – Aff

  • v – Val

Returns:

Aff

Warning

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

  1. add_constant_val(self, arg: object, /) -> object

Upcast from Aff to PwAff

add_dims¶

Overloaded function.

  1. add_dims(self, type: islpy._isl.dim_type, n: int) -> object

add_dims(self, type, n)

Parameters:
Returns:

Aff

Warning

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

  1. add_dims(self, arg0: islpy._isl.dim_type, arg1: int, /) -> object

Upcast from Aff to PwAff

add_pw_aff¶

Upcast from Aff to UnionPwAff

align_params¶

Overloaded function.

  1. align_params(self, model: islpy._isl.Space) -> object

align_params(self, model)

Parameters:
  • self – Aff

  • model – Space

Returns:

Aff

Warning

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

  1. align_params(self, arg: islpy._isl.Space, /) -> object

Upcast from Aff to PwAff

  1. align_params(self, arg: islpy._isl.Space, /) -> object

Upcast from Aff to UnionPwAff

as_aff¶

Upcast from Aff to PwAff

as_map¶

Upcast from Aff to PwAff

bind_domain¶

Upcast from Aff to PwAff

bind_domain_wrapped_domain¶

Upcast from Aff to PwAff

bind_id¶

Overloaded function.

  1. bind_id(self, id: islpy._isl.Id) -> object

bind_id(self, id)

Parameters:
  • self – Aff

  • id – Id

Returns:

BasicSet

Warning

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

  1. bind_id(self, arg: islpy._isl.Id, /) -> object

Upcast from Aff to PwAff

  1. bind_id(self, arg: islpy._isl.Id, /) -> object

Upcast from Aff to UnionPwAff

ceil¶

Overloaded function.

  1. ceil(self) -> object

ceil(self)

Parameters:

self – Aff

Returns:

Aff

  1. ceil(self) -> object

Upcast from Aff to PwAff

coalesce¶

Upcast from Aff to PwAff

coefficient_sgn(self, type, pos)¶
Parameters:
Returns:

int

Warning

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

cond¶

Upcast from Aff to PwAff

copy¶

Overloaded function.

  1. copy(self) -> object

copy(self)

Parameters:

self – Aff

Returns:

Aff

Warning

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

  1. copy(self) -> object

Upcast from Aff to PwAff

  1. copy(self) -> object

Upcast from Aff to UnionPwAff

dim¶

Overloaded function.

  1. dim(self, type: islpy._isl.dim_type) -> int

dim(self, type)

Parameters:
Returns:

isl_size

Warning

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

  1. dim(self, arg: islpy._isl.dim_type, /) -> int

Upcast from Aff to PwAff

  1. dim(self, arg: islpy._isl.dim_type, /) -> int

Upcast from Aff to UnionPwAff

div¶

Overloaded function.

  1. div(self, aff2: islpy._isl.Aff) -> object

div(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Aff

  1. div(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

domain¶

Upcast from Aff to PwAff

domain_reverse¶

Overloaded function.

  1. domain_reverse(self) -> object

domain_reverse(self)

Parameters:

self – Aff

Returns:

Aff

  1. domain_reverse(self) -> object

Upcast from Aff to PwAff

drop_dims¶

Overloaded function.

  1. drop_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object

drop_dims(self, type, first, n)

Parameters:
Returns:

Aff

Warning

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

  1. drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object

Upcast from Aff to PwAff

  1. drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object

Upcast from Aff to UnionPwAff

drop_unused_params¶

Upcast from Aff to PwAff

dump¶

Overloaded function.

  1. dump(self) -> None

dump(self)

Parameters:

self – Aff

Returns:

None

Warning

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

  1. dump(self) -> None

Upcast from Aff to PwAff

  1. dump(self) -> None

Upcast from Aff to UnionPwAff

eq_basic_set(self, aff2)¶
Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

BasicSet

Warning

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

eq_map¶

Upcast from Aff to PwAff

eq_set¶

Overloaded function.

  1. eq_set(self, aff2: islpy._isl.Aff) -> object

eq_set(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Set

  1. eq_set(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

eval¶

Overloaded function.

  1. eval(self, pnt: islpy._isl.Point) -> object

eval(self, pnt)

Parameters:
Returns:

Val

  1. eval(self, arg: islpy._isl.Point, /) -> object

Upcast from Aff to PwAff

every_piece¶

Upcast from Aff to PwAff

every_pw_aff¶

Upcast from Aff to UnionPwAff

extract_pw_aff¶

Upcast from Aff to UnionPwAff

find_dim_by_name¶

Overloaded function.

  1. find_dim_by_name(self, type: islpy._isl.dim_type, name: str) -> int

find_dim_by_name(self, type, name)

Parameters:
  • self – Aff

  • type – dim_type

  • name – string

Returns:

int

Warning

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

  1. find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int

Upcast from Aff to PwAff

  1. find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int

Upcast from Aff to UnionPwAff

floor¶

Overloaded function.

  1. floor(self) -> object

floor(self)

Parameters:

self – Aff

Returns:

Aff

  1. floor(self) -> object

Upcast from Aff to PwAff

  1. floor(self) -> object

Upcast from Aff to UnionPwAff

foreach_piece¶

Upcast from Aff to PwAff

foreach_pw_aff¶

Upcast from Aff to UnionPwAff

from_range¶

Overloaded function.

  1. from_range(self) -> object

from_range(self)

Parameters:

self – Aff

Returns:

Aff

Warning

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

  1. from_range(self) -> object

Upcast from Aff to PwAff

ge_basic_set(self, aff2)¶
Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

BasicSet

Warning

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

ge_map¶

Upcast from Aff to PwAff

ge_set¶

Overloaded function.

  1. ge_set(self, aff2: islpy._isl.Aff) -> object

ge_set(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Set

  1. ge_set(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

get_coefficient_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_coefficients_by_name(dimtype=None, dim_to_name=None)¶

Return a dictionary mapping variable names to coefficients.

Parameters:

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

Changed in version 2011.3: New for Aff

get_constant_val(self)¶
Parameters:

self – Aff

Returns:

Val

get_ctx¶

Overloaded function.

  1. get_ctx(self) -> object

get_ctx(self)

Parameters:

self – Aff

Returns:

Context

Warning

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

  1. get_ctx(self) -> object

Upcast from Aff to PwAff

  1. get_ctx(self) -> object

Upcast from Aff to UnionPwAff

get_denominator_val(self)¶
Parameters:

self – Aff

Returns:

Val

Warning

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

get_dim_id¶

Upcast from Aff to PwAff

get_dim_name¶

Overloaded function.

  1. get_dim_name(self, type: islpy._isl.dim_type, pos: int) -> object

get_dim_name(self, type, pos)

Parameters:
Returns:

string

Warning

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

  1. get_dim_name(self, arg0: islpy._isl.dim_type, arg1: int, /) -> object

Upcast from Aff to PwAff

get_div(self, pos)¶
Parameters:
  • self – Aff

  • pos – int

Returns:

Aff

Warning

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

get_domain_local_space(self)¶
Parameters:

self – Aff

Returns:

LocalSpace

Warning

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

get_domain_space¶

Overloaded function.

  1. get_domain_space(self) -> object

get_domain_space(self)

Parameters:

self – Aff

Returns:

Space

Warning

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

  1. get_domain_space(self) -> object

Upcast from Aff to PwAff

get_hash¶

Upcast from Aff to PwAff

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_local_space(self)¶
Parameters:

self – Aff

Returns:

LocalSpace

Warning

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

get_pieces()¶
Returns:

list of (Set, Aff)

get_pw_aff_list¶

Upcast from Aff to UnionPwAff

get_space¶

Overloaded function.

  1. get_space(self) -> object

get_space(self)

Parameters:

self – Aff

Returns:

Space

Warning

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

  1. get_space(self) -> object

Upcast from Aff to PwAff

  1. get_space(self) -> object

Upcast from Aff to UnionPwAff

get_tuple_id¶

Upcast from Aff to PwAff

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.

gist¶

Overloaded function.

  1. gist(self, context: islpy._isl.Set) -> object

gist(self, context)

Parameters:
  • self – Aff

  • context – Set

Returns:

Aff

  1. gist(self, arg: islpy._isl.Set, /) -> object

Upcast from Aff to PwAff

  1. gist(self, arg: islpy._isl.UnionSet, /) -> object

Upcast from Aff to UnionPwAff

gist_params¶

Overloaded function.

  1. gist_params(self, context: islpy._isl.Set) -> object

gist_params(self, context)

Parameters:
  • self – Aff

  • context – Set

Returns:

Aff

  1. gist_params(self, arg: islpy._isl.Set, /) -> object

Upcast from Aff to PwAff

  1. gist_params(self, arg: islpy._isl.Set, /) -> object

Upcast from Aff to UnionPwAff

gt_basic_set(self, aff2)¶
Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

BasicSet

Warning

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

gt_map¶

Upcast from Aff to PwAff

gt_set¶

Overloaded function.

  1. gt_set(self, aff2: islpy._isl.Aff) -> object

gt_set(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Set

  1. gt_set(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

has_dim_id¶

Upcast from Aff to PwAff

has_tuple_id¶

Upcast from Aff to PwAff

insert_dims¶

Overloaded function.

  1. insert_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object

insert_dims(self, type, first, n)

Parameters:
Returns:

Aff

Warning

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

  1. insert_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object

Upcast from Aff to PwAff

insert_domain¶

Upcast from Aff to PwAff

intersect_domain¶

Upcast from Aff to PwAff

intersect_domain_space¶

Upcast from Aff to UnionPwAff

intersect_domain_union_set¶

Upcast from Aff to UnionPwAff

intersect_domain_wrapped_domain¶

Upcast from Aff to PwAff

intersect_domain_wrapped_range¶

Upcast from Aff to PwAff

intersect_params¶

Upcast from Aff to PwAff

involves_dims¶

Overloaded function.

  1. involves_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> bool

involves_dims(self, type, first, n)

Parameters:
Returns:

bool

Warning

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

  1. involves_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> bool

Upcast from Aff to PwAff

involves_locals(self)¶
Parameters:

self – Aff

Returns:

bool

Warning

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

involves_nan¶

Upcast from Aff to PwAff

involves_param_id¶

Upcast from Aff to PwAff

is_cst¶

Overloaded function.

  1. is_cst(self) -> bool

is_cst(self)

Parameters:

self – Aff

Returns:

bool

  1. is_cst(self) -> bool

Upcast from Aff to PwAff

is_empty¶

Upcast from Aff to PwAff

is_equal¶

Upcast from Aff to PwAff

is_nan(self)¶
Parameters:

self – Aff

Returns:

bool

Warning

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

isa_aff¶

Upcast from Aff to PwAff

le_basic_set(self, aff2)¶
Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

BasicSet

Warning

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

le_map¶

Upcast from Aff to PwAff

le_set¶

Overloaded function.

  1. le_set(self, aff2: islpy._isl.Aff) -> object

le_set(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Set

  1. le_set(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

lt_basic_set(self, aff2)¶
Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

BasicSet

Warning

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

lt_map¶

Upcast from Aff to PwAff

lt_set¶

Overloaded function.

  1. lt_set(self, aff2: islpy._isl.Aff) -> object

lt_set(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Set

  1. lt_set(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

max¶

Upcast from Aff to PwAff

max_val¶

Upcast from Aff to PwAff

min¶

Upcast from Aff to PwAff

min_val¶

Upcast from Aff to PwAff

mod_val¶

Overloaded function.

  1. mod_val(self, mod: object) -> object

mod_val(self, mod)

Parameters:
  • self – Aff

  • mod – Val

Returns:

Aff

Warning

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

  1. mod_val(self, arg: object, /) -> object

Upcast from Aff to PwAff

  1. mod_val(self, arg: object, /) -> object

Upcast from Aff to UnionPwAff

move_dims¶

Overloaded function.

  1. move_dims(self, dst_type: islpy._isl.dim_type, dst_pos: int, src_type: islpy._isl.dim_type, src_pos: int, n: int) -> object

move_dims(self, dst_type, dst_pos, src_type, src_pos, n)

Parameters:
Returns:

Aff

Warning

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

  1. move_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: islpy._isl.dim_type, arg3: int, arg4: int, /) -> object

Upcast from Aff to PwAff

mul¶

Overloaded function.

  1. mul(self, aff2: islpy._isl.Aff) -> object

mul(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Aff

  1. mul(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

n_piece¶

Upcast from Aff to PwAff

n_pw_aff¶

Upcast from Aff to UnionPwAff

nan_on_domain = <nanobind.nb_func object>¶
nan_on_domain_space = <nanobind.nb_func object>¶
ne_set¶

Overloaded function.

  1. ne_set(self, aff2: islpy._isl.Aff) -> object

ne_set(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Set

  1. ne_set(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

neg¶

Overloaded function.

  1. neg(self) -> object

neg(self)

Parameters:

self – Aff

Returns:

Aff

  1. neg(self) -> object

Upcast from Aff to PwAff

  1. neg(self) -> object

Upcast from Aff to UnionPwAff

neg_basic_set(self)¶
Parameters:

self – Aff

Returns:

BasicSet

Warning

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

non_zero_set¶

Upcast from Aff to PwAff

nonneg_set¶

Upcast from Aff to PwAff

param_on_domain_space_id = <nanobind.nb_func object>¶
params¶

Upcast from Aff to PwAff

plain_cmp¶

Upcast from Aff to PwAff

plain_is_equal¶

Overloaded function.

  1. plain_is_equal(self, aff2: islpy._isl.Aff) -> bool

plain_is_equal(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

bool

  1. plain_is_equal(self, arg: islpy._isl.PwAff, /) -> bool

Upcast from Aff to PwAff

  1. plain_is_equal(self, arg: islpy._isl.UnionPwAff, /) -> bool

Upcast from Aff to UnionPwAff

plain_is_zero(self)¶
Parameters:

self – Aff

Returns:

bool

Warning

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

pos_set¶

Upcast from Aff to PwAff

project_domain_on_params¶

Overloaded function.

  1. project_domain_on_params(self) -> object

project_domain_on_params(self)

Parameters:

self – Aff

Returns:

Aff

Warning

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

  1. project_domain_on_params(self) -> object

Upcast from Aff to PwAff

pullback_aff(self, aff2)¶
Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Aff

Warning

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

pullback_multi_aff¶

Overloaded function.

  1. pullback_multi_aff(self, ma: islpy._isl.MultiAff) -> object

pullback_multi_aff(self, ma)

Parameters:
Returns:

Aff

Warning

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

  1. pullback_multi_aff(self, arg: islpy._isl.MultiAff, /) -> object

Upcast from Aff to PwAff

pullback_multi_pw_aff¶

Upcast from Aff to PwAff

pullback_pw_multi_aff¶

Upcast from Aff to PwAff

pullback_union_pw_multi_aff¶

Upcast from Aff to UnionPwAff

read_from_str = <nanobind.nb_func object>¶
reset_tuple_id¶

Upcast from Aff to PwAff

reset_user¶

Upcast from Aff to PwAff

scale_down_val¶

Overloaded function.

  1. scale_down_val(self, v: object) -> object

scale_down_val(self, v)

Parameters:
  • self – Aff

  • v – Val

Returns:

Aff

Warning

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

  1. scale_down_val(self, arg: object, /) -> object

Upcast from Aff to PwAff

  1. scale_down_val(self, arg: object, /) -> object

Upcast from Aff to UnionPwAff

scale_val¶

Overloaded function.

  1. scale_val(self, v: object) -> object

scale_val(self, v)

Parameters:
  • self – Aff

  • v – Val

Returns:

Aff

Warning

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

  1. scale_val(self, arg: object, /) -> object

Upcast from Aff to PwAff

  1. scale_val(self, arg: object, /) -> object

Upcast from Aff to UnionPwAff

set_coefficient_val(self, type, pos, v)¶
Parameters:
Returns:

Aff

Warning

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

set_coefficients(dim_tp, args)¶
Parameters:
  • dim_tp – dim_type

  • args – list of coefficients, for indices 0..len(args)-1.

Changed in version 2011.3: New for Aff

set_coefficients_by_name(iterable, name_to_dim=None)¶

Set the coefficients and the constant.

Parameters:

iterable – a dict or iterable of tuple instances mapping variable names to their coefficients. The constant is set to the value of the key ‘1’.

Changed in version 2011.3: New for Aff

set_constant_val(self, v)¶
Parameters:
  • self – Aff

  • v – Val

Returns:

Aff

Warning

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

set_dim_id¶

Overloaded function.

  1. set_dim_id(self, type: islpy._isl.dim_type, pos: int, id: islpy._isl.Id) -> object

set_dim_id(self, type, pos, id)

Parameters:
Returns:

Aff

Warning

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

  1. set_dim_id(self, arg0: islpy._isl.dim_type, arg1: int, arg2: islpy._isl.Id, /) -> object

Upcast from Aff to PwAff

set_dim_name¶

Overloaded function.

  1. set_dim_name(self, type: islpy._isl.dim_type, pos: int, s: str) -> object

set_dim_name(self, type, pos, s)

Parameters:
Returns:

Aff

Warning

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

  1. set_dim_name(self, arg0: islpy._isl.dim_type, arg1: int, arg2: str, /) -> object

Upcast from Aff to UnionPwAff

set_tuple_id¶

Overloaded function.

  1. set_tuple_id(self, type: islpy._isl.dim_type, id: islpy._isl.Id) -> object

set_tuple_id(self, type, id)

Parameters:
Returns:

Aff

Warning

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

  1. set_tuple_id(self, arg0: islpy._isl.dim_type, arg1: islpy._isl.Id, /) -> object

Upcast from Aff to PwAff

property space¶

get_space(self) -> object get_space(self) -> object get_space(self) -> object

Overloaded function.

  1. get_space(self) -> object

get_space(self)

Parameters:

self – Aff

Returns:

Space

Warning

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

  1. get_space(self) -> object

Upcast from Aff to PwAff

  1. get_space(self) -> object

Upcast from Aff to UnionPwAff

sub¶

Overloaded function.

  1. sub(self, aff2: islpy._isl.Aff) -> object

sub(self, aff2)

Parameters:
  • self – Aff

  • aff2 – Aff

Returns:

Aff

  1. sub(self, arg: islpy._isl.PwAff, /) -> object

Upcast from Aff to PwAff

  1. sub(self, arg: islpy._isl.UnionPwAff, /) -> object

Upcast from Aff to UnionPwAff

subtract_domain¶

Upcast from Aff to PwAff

subtract_domain_space¶

Upcast from Aff to UnionPwAff

subtract_domain_union_set¶

Upcast from Aff to UnionPwAff

tdiv_q¶

Upcast from Aff to PwAff

tdiv_r¶

Upcast from Aff to PwAff

to_list¶

Overloaded function.

  1. to_list(self) -> object

to_list(self)

Parameters:

self – Aff

Returns:

AffList

  1. to_list(self) -> object

Upcast from Aff to PwAff

  1. to_list(self) -> object

Upcast from Aff to UnionPwAff

to_str¶

Overloaded function.

  1. to_str(self) -> object

to_str(self)

Parameters:

self – Aff

Returns:

string

Warning

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

  1. to_str(self) -> object

Upcast from Aff to PwAff

  1. to_str(self) -> object

Upcast from Aff to UnionPwAff

to_union_pw_aff¶

Upcast from Aff to PwAff

unbind_params_insert_domain(self, domain)¶
Parameters:
Returns:

Aff

union_add¶

Upcast from Aff to PwAff

union_max¶

Upcast from Aff to PwAff

union_min¶

Upcast from Aff to PwAff

val_on_domain = <nanobind.nb_func object>¶
val_on_domain_space = <nanobind.nb_func object>¶
var_on_domain = <nanobind.nb_func object>¶
zero_basic_set(self)¶
Parameters:

self – Aff

Returns:

BasicSet

Warning

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

zero_on_domain = <nanobind.nb_func object>¶
zero_on_domain_space = <nanobind.nb_func object>¶
zero_set¶

Upcast from Aff to PwAff

zero_union_set¶

Upcast from Aff to UnionPwAff

Piecewise Quasi-Affine Expression¶

class islpy.PwAff(*args, **kwargs)¶
__eq__(other)¶

Return self==value.

__hash__(self) int¶

get_hash(self)

Parameters:

self – PwAff

Returns:

uint32_t

Warning

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

__ne__(other)¶

Return self!=value.

add¶

Overloaded function.

  1. add(self, pwaff2: islpy._isl.PwAff) -> object

add(self, pwaff2)

Parameters:
Returns:

PwAff

  1. add(self, arg: islpy._isl.UnionPwAff, /) -> object

Upcast from PwAff to UnionPwAff

add_constant_val(self, v)¶
Parameters:
Returns:

PwAff

Warning

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

add_dims(self, type, n)¶
Parameters:
Returns:

PwAff

Warning

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

add_pw_aff¶

Upcast from PwAff to UnionPwAff

align_params¶

Overloaded function.

  1. align_params(self, model: islpy._isl.Space) -> object

align_params(self, model)

Parameters:
Returns:

PwAff

Warning

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

  1. align_params(self, arg: islpy._isl.Space, /) -> object

Upcast from PwAff to UnionPwAff

alloc = <nanobind.nb_func object>¶
as_aff(self)¶
Parameters:

self – PwAff

Returns:

Aff

as_map(self)¶
Parameters:

self – PwAff

Returns:

Map

bind_domain(self, tuple)¶
Parameters:
Returns:

PwAff

bind_domain_wrapped_domain(self, tuple)¶
Parameters:
Returns:

PwAff

bind_id¶

Overloaded function.

  1. bind_id(self, id: islpy._isl.Id) -> object

bind_id(self, id)

Parameters:
  • self – PwAff

  • id – Id

Returns:

Set

Warning

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

  1. bind_id(self, arg: islpy._isl.Id, /) -> object

Upcast from PwAff to UnionPwAff

ceil(self)¶
Parameters:

self – PwAff

Returns:

PwAff

coalesce¶

Overloaded function.

  1. coalesce(self) -> object

coalesce(self)

Parameters:

self – PwAff

Returns:

PwAff

  1. coalesce(self) -> object

Upcast from PwAff to UnionPwAff

cond(self, pwaff_true, pwaff_false)¶
Parameters:
Returns:

PwAff

copy¶

Overloaded function.

  1. copy(self) -> object

copy(self)

Parameters:

self – PwAff

Returns:

PwAff

Warning

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

  1. copy(self) -> object

Upcast from PwAff to UnionPwAff

dim¶

Overloaded function.

  1. dim(self, type: islpy._isl.dim_type) -> int

dim(self, type)

Parameters:
Returns:

isl_size

Warning

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

  1. dim(self, arg: islpy._isl.dim_type, /) -> int

Upcast from PwAff to UnionPwAff

div(self, pa2)¶
Parameters:
Returns:

PwAff

domain¶

Overloaded function.

  1. domain(self) -> object

domain(self)

Parameters:

self – PwAff

Returns:

Set

  1. domain(self) -> object

Upcast from PwAff to UnionPwAff

domain_reverse(self)¶
Parameters:

self – PwAff

Returns:

PwAff

drop_dims¶

Overloaded function.

  1. drop_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object

drop_dims(self, type, first, n)

Parameters:
Returns:

PwAff

Warning

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

  1. drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object

Upcast from PwAff to UnionPwAff

drop_unused_params¶

Overloaded function.

  1. drop_unused_params(self) -> object

drop_unused_params(self)

Parameters:

self – PwAff

Returns:

PwAff

  1. drop_unused_params(self) -> object

Upcast from PwAff to UnionPwAff

dump¶

Overloaded function.

  1. dump(self) -> None

dump(self)

Parameters:

self – PwAff

Returns:

None

Warning

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

  1. dump(self) -> None

Upcast from PwAff to UnionPwAff

empty = <nanobind.nb_func object>¶
eq_map(self, pa2)¶
Parameters:
Returns:

Map

Warning

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

eq_set(self, pwaff2)¶
Parameters:
Returns:

Set

eval(self, pnt)¶
Parameters:
Returns:

Val

every_piece(self, test)¶
Parameters:
  • self – PwAff

  • test – callback(set, aff)

Returns:

bool

Warning

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

every_pw_aff¶

Upcast from PwAff to UnionPwAff

extract_pw_aff¶

Upcast from PwAff to UnionPwAff

find_dim_by_name¶

Overloaded function.

  1. find_dim_by_name(self, type: islpy._isl.dim_type, name: str) -> int

find_dim_by_name(self, type, name)

Parameters:
  • self – PwAff

  • type – dim_type

  • name – string

Returns:

int

Warning

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

  1. find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int

Upcast from PwAff to UnionPwAff

floor¶

Overloaded function.

  1. floor(self) -> object

floor(self)

Parameters:

self – PwAff

Returns:

PwAff

  1. floor(self) -> object

Upcast from PwAff to UnionPwAff

foreach_piece(self, fn)¶
Parameters:
  • self – PwAff

  • fn – callback(set, aff)

Returns:

isl_stat

Warning

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

foreach_pw_aff¶

Upcast from PwAff to UnionPwAff

from_aff = <nanobind.nb_func object>¶
from_range(self)¶
Parameters:

self – PwAff

Returns:

PwAff

Warning

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

ge_map(self, pa2)¶
Parameters:
Returns:

Map

Warning

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

ge_set(self, pwaff2)¶
Parameters:
Returns:

Set

get_aggregate_domain()¶
Returns:

a Set that is the union of the domains of all pieces

get_ctx¶

Overloaded function.

  1. get_ctx(self) -> object

get_ctx(self)

Parameters:

self – PwAff

Returns:

Context

Warning

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

  1. get_ctx(self) -> object

Upcast from PwAff to UnionPwAff

get_dim_id(self, type, pos)¶
Parameters:
Returns:

Id

Warning

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

get_dim_name(self, type, pos)¶
Parameters:
Returns:

string

Warning

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

get_domain_space(self)¶
Parameters:

self – PwAff

Returns:

Space

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_pieces()¶
Returns:

list of (Set, Aff)

get_pw_aff_list¶

Upcast from PwAff to UnionPwAff

get_space¶

Overloaded function.

  1. get_space(self) -> object

get_space(self)

Parameters:

self – PwAff

Returns:

Space

  1. get_space(self) -> object

Upcast from PwAff to UnionPwAff

get_tuple_id(self, type)¶
Parameters:
Returns:

Id

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.

gist¶

Overloaded function.

  1. gist(self, context: islpy._isl.Set) -> object

gist(self, context)

Parameters:
  • self – PwAff

  • context – Set

Returns:

PwAff

  1. gist(self, arg: islpy._isl.UnionSet, /) -> object

Upcast from PwAff to UnionPwAff

gist_params¶

Overloaded function.

  1. gist_params(self, context: islpy._isl.Set) -> object

gist_params(self, context)

Parameters:
  • self – PwAff

  • context – Set

Returns:

PwAff

  1. gist_params(self, arg: islpy._isl.Set, /) -> object

Upcast from PwAff to UnionPwAff

gt_map(self, pa2)¶
Parameters:
Returns:

Map

Warning

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

gt_set(self, pwaff2)¶
Parameters:
Returns:

Set

has_dim_id(self, type, pos)¶
Parameters:
Returns:

bool

Warning

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

has_tuple_id(self, type)¶
Parameters:
Returns:

bool

Warning

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

insert_dims(self, type, first, n)¶
Parameters:
Returns:

PwAff

Warning

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

insert_domain(self, domain)¶
Parameters:
Returns:

PwAff

intersect_domain¶

Overloaded function.

  1. intersect_domain(self, set: islpy._isl.Set) -> object

intersect_domain(self, set)

Parameters:
Returns:

PwAff

  1. intersect_domain(self, arg: islpy._isl.UnionSet, /) -> object

Upcast from PwAff to UnionPwAff

intersect_domain_space¶

Upcast from PwAff to UnionPwAff

intersect_domain_union_set¶

Upcast from PwAff to UnionPwAff

intersect_domain_wrapped_domain¶

Overloaded function.

  1. intersect_domain_wrapped_domain(self, set: islpy._isl.Set) -> object

intersect_domain_wrapped_domain(self, set)

Parameters:
Returns:

PwAff

Warning

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

  1. intersect_domain_wrapped_domain(self, arg: islpy._isl.UnionSet, /) -> object

Upcast from PwAff to UnionPwAff

intersect_domain_wrapped_range¶

Overloaded function.

  1. intersect_domain_wrapped_range(self, set: islpy._isl.Set) -> object

intersect_domain_wrapped_range(self, set)

Parameters:
Returns:

PwAff

Warning

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

  1. intersect_domain_wrapped_range(self, arg: islpy._isl.UnionSet, /) -> object

Upcast from PwAff to UnionPwAff

intersect_params¶

Overloaded function.

  1. intersect_params(self, set: islpy._isl.Set) -> object

intersect_params(self, set)

Parameters:
Returns:

PwAff

  1. intersect_params(self, arg: islpy._isl.Set, /) -> object

Upcast from PwAff to UnionPwAff

involves_dims(self, type, first, n)¶
Parameters:
Returns:

bool

Warning

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

involves_nan¶

Overloaded function.

  1. involves_nan(self) -> bool

involves_nan(self)

Parameters:

self – PwAff

Returns:

bool

Warning

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

  1. involves_nan(self) -> bool

Upcast from PwAff to UnionPwAff

involves_param_id(self, id)¶
Parameters:
  • self – PwAff

  • id – Id

Returns:

bool

Warning

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

is_cst(self)¶
Parameters:

self – PwAff

Returns:

bool

Warning

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

is_empty(self)¶
Parameters:

self – PwAff

Returns:

bool

Warning

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

is_equal(self, pa2)¶
Parameters:
Returns:

bool

Warning

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

isa_aff(self)¶
Parameters:

self – PwAff

Returns:

bool

le_map(self, pa2)¶
Parameters:
Returns:

Map

Warning

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

le_set(self, pwaff2)¶
Parameters:
Returns:

Set

lt_map(self, pa2)¶
Parameters:
Returns:

Map

Warning

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

lt_set(self, pwaff2)¶
Parameters:
Returns:

Set

max(self, pwaff2)¶
Parameters:
Returns:

PwAff

max_val¶

Overloaded function.

  1. max_val(self) -> object

max_val(self)

Parameters:

self – PwAff

Returns:

Val

  1. max_val(self) -> object

Upcast from PwAff to UnionPwAff

min(self, pwaff2)¶
Parameters:
Returns:

PwAff

min_val¶

Overloaded function.

  1. min_val(self) -> object

min_val(self)

Parameters:

self – PwAff

Returns:

Val

  1. min_val(self) -> object

Upcast from PwAff to UnionPwAff

mod_val¶

Overloaded function.

  1. mod_val(self, mod: object) -> object

mod_val(self, mod)

Parameters:
Returns:

PwAff

Warning

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

  1. mod_val(self, arg: object, /) -> object

Upcast from PwAff to UnionPwAff

move_dims(self, dst_type, dst_pos, src_type, src_pos, n)¶
Parameters:
Returns:

PwAff

Warning

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

mul(self, pwaff2)¶
Parameters:
Returns:

PwAff

n_piece(self)¶
Parameters:

self – PwAff

Returns:

isl_size

Warning

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

n_pw_aff¶

Upcast from PwAff to UnionPwAff

nan_on_domain = <nanobind.nb_func object>¶
nan_on_domain_space = <nanobind.nb_func object>¶
ne_set(self, pwaff2)¶
Parameters:
Returns:

Set

neg¶

Overloaded function.

  1. neg(self) -> object

neg(self)

Parameters:

self – PwAff

Returns:

PwAff

  1. neg(self) -> object

Upcast from PwAff to UnionPwAff

non_zero_set(self)¶
Parameters:

self – PwAff

Returns:

Set

Warning

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

nonneg_set(self)¶
Parameters:

self – PwAff

Returns:

Set

Warning

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

param_on_domain_id = <nanobind.nb_func object>¶
params(self)¶
Parameters:

self – PwAff

Returns:

Set

plain_cmp(self, pa2)¶
Parameters:
Returns:

int

Warning

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

plain_is_equal¶

Overloaded function.

  1. plain_is_equal(self, pwaff2: islpy._isl.PwAff) -> bool

plain_is_equal(self, pwaff2)

Parameters:
Returns:

bool

  1. plain_is_equal(self, arg: islpy._isl.UnionPwAff, /) -> bool

Upcast from PwAff to UnionPwAff

pos_set(self)¶
Parameters:

self – PwAff

Returns:

Set

Warning

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

project_domain_on_params(self)¶
Parameters:

self – PwAff

Returns:

PwAff

Warning

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

pullback_multi_aff(self, ma)¶
Parameters:
Returns:

PwAff

Warning

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

pullback_multi_pw_aff(self, mpa)¶
Parameters:
Returns:

PwAff

Warning

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

pullback_pw_multi_aff(self, pma)¶
Parameters:
Returns:

PwAff

Warning

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

pullback_union_pw_multi_aff¶

Upcast from PwAff to UnionPwAff

read_from_str = <nanobind.nb_func object>¶
reset_tuple_id(self, type)¶
Parameters:
Returns:

PwAff

Warning

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

reset_user¶

Overloaded function.

  1. reset_user(self) -> object

reset_user(self)

Parameters:

self – PwAff

Returns:

PwAff

Warning

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

  1. reset_user(self) -> object

Upcast from PwAff to UnionPwAff

scale_down_val¶

Overloaded function.

  1. scale_down_val(self, f: object) -> object

scale_down_val(self, f)

Parameters:
Returns:

PwAff

Warning

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

  1. scale_down_val(self, arg: object, /) -> object

Upcast from PwAff to UnionPwAff

scale_val¶

Overloaded function.

  1. scale_val(self, v: object) -> object

scale_val(self, v)

Parameters:
Returns:

PwAff

Warning

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

  1. scale_val(self, arg: object, /) -> object

Upcast from PwAff to UnionPwAff

set_dim_id(self, type, pos, id)¶
Parameters:
Returns:

PwAff

Warning

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

set_dim_name¶

Upcast from PwAff to UnionPwAff

set_tuple_id(self, type, id)¶
Parameters:
Returns:

PwAff

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

Overloaded function.

  1. get_space(self) -> object

get_space(self)

Parameters:

self – PwAff

Returns:

Space

  1. get_space(self) -> object

Upcast from PwAff to UnionPwAff

sub¶

Overloaded function.

  1. sub(self, pwaff2: islpy._isl.PwAff) -> object

sub(self, pwaff2)

Parameters:
Returns:

PwAff

  1. sub(self, arg: islpy._isl.UnionPwAff, /) -> object

Upcast from PwAff to UnionPwAff

subtract_domain¶

Overloaded function.

  1. subtract_domain(self, set: islpy._isl.Set) -> object

subtract_domain(self, set)

Parameters:
Returns:

PwAff

  1. subtract_domain(self, arg: islpy._isl.UnionSet, /) -> object

Upcast from PwAff to UnionPwAff

subtract_domain_space¶

Upcast from PwAff to UnionPwAff

subtract_domain_union_set¶

Upcast from PwAff to UnionPwAff

tdiv_q(self, pa2)¶
Parameters:
Returns:

PwAff

tdiv_r(self, pa2)¶
Parameters:
Returns:

PwAff

to_list¶

Overloaded function.

  1. to_list(self) -> object

to_list(self)

Parameters:

self – PwAff

Returns:

PwAffList

  1. to_list(self) -> object

Upcast from PwAff to UnionPwAff

to_str¶

Overloaded function.

  1. to_str(self) -> object

to_str(self)

Parameters:

self – PwAff

Returns:

string

Warning

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

  1. to_str(self) -> object

Upcast from PwAff to UnionPwAff

to_union_pw_aff(self)¶
Parameters:

self – PwAff

Returns:

UnionPwAff

union_add¶

Overloaded function.

  1. union_add(self, pwaff2: islpy._isl.PwAff) -> object

union_add(self, pwaff2)

Parameters:
Returns:

PwAff

  1. union_add(self, arg: islpy._isl.UnionPwAff, /) -> object

Upcast from PwAff to UnionPwAff

union_max(self, pwaff2)¶
Parameters:
Returns:

PwAff

Warning

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

union_min(self, pwaff2)¶
Parameters:
Returns:

PwAff

Warning

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

val_on_domain = <nanobind.nb_func object>¶
var_on_domain = <nanobind.nb_func object>¶
zero_on_domain = <nanobind.nb_func object>¶
zero_set(self)¶
Parameters:

self – PwAff

Returns:

Set

Warning

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

zero_union_set¶

Upcast from PwAff to UnionPwAff

Union of Piecewise Quasi-Affine Expressions¶

class islpy.UnionPwAff(*args, **kwargs)¶
__eq__(value, /)¶

Return self==value.

__hash__()¶

Return hash(self).

__ne__(value, /)¶

Return self!=value.

add(self, upa2)¶
Parameters:
Returns:

UnionPwAff

add_pw_aff(self, pa)¶
Parameters:
Returns:

UnionPwAff

Warning

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

aff_on_domain = <nanobind.nb_func object>¶
align_params(self, model)¶
Parameters:
Returns:

UnionPwAff

Warning

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

bind_id(self, id)¶
Parameters:
Returns:

UnionSet

Warning

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

coalesce(self)¶
Parameters:

self – UnionPwAff

Returns:

UnionPwAff

copy(self)¶
Parameters:

self – UnionPwAff

Returns:

UnionPwAff

Warning

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

dim(self, type)¶
Parameters:
Returns:

isl_size

Warning

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

domain(self)¶
Parameters:

self – UnionPwAff

Returns:

UnionSet

drop_dims(self, type, first, n)¶
Parameters:
Returns:

UnionPwAff

Warning

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

drop_unused_params(self)¶
Parameters:

self – UnionPwAff

Returns:

UnionPwAff

dump(self)¶
Parameters:

self – UnionPwAff

Returns:

None

Warning

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

empty = <nanobind.nb_func object>¶
empty_ctx = <nanobind.nb_func object>¶
empty_space = <nanobind.nb_func object>¶
every_pw_aff(self, test)¶
Parameters:
  • self – UnionPwAff

  • test – callback(pa)

Returns:

bool

Warning

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

extract_pw_aff(self, space)¶
Parameters:
Returns:

PwAff

Warning

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

find_dim_by_name(self, type, name)¶
Parameters:
Returns:

int

Warning

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

floor(self)¶
Parameters:

self – UnionPwAff

Returns:

UnionPwAff

Warning

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

foreach_pw_aff(self, fn)¶
Parameters:
  • self – UnionPwAff

  • fn – callback(pa)

Returns:

isl_stat

Warning

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

from_aff = <nanobind.nb_func object>¶
from_pw_aff = <nanobind.nb_func object>¶
get_ctx(self)¶
Parameters:

self – UnionPwAff

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_pw_aff_list(self)¶
Parameters:

self – UnionPwAff

Returns:

PwAffList

Warning

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

get_space(self)¶
Parameters:

self – UnionPwAff

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.

gist(self, context)¶
Parameters:
Returns:

UnionPwAff

gist_params(self, context)¶
Parameters:
Returns:

UnionPwAff

Warning

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

intersect_domain(self, uset)¶
Parameters:
Returns:

UnionPwAff

Warning

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

intersect_domain_space(self, space)¶
Parameters:
Returns:

UnionPwAff

Warning

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

intersect_domain_union_set(self, uset)¶
Parameters:
Returns:

UnionPwAff

Warning

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

intersect_domain_wrapped_domain(self, uset)¶
Parameters:
Returns:

UnionPwAff

intersect_domain_wrapped_range(self, uset)¶
Parameters:
Returns:

UnionPwAff

intersect_params(self, set)¶
Parameters:
Returns:

UnionPwAff

involves_nan(self)¶
Parameters:

self – UnionPwAff

Returns:

bool

Warning

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

max_val(self)¶
Parameters:

self – UnionPwAff

Returns:

Val

Warning

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

min_val(self)¶
Parameters:

self – UnionPwAff

Returns:

Val

Warning

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

mod_val(self, f)¶
Parameters:
Returns:

UnionPwAff

Warning

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

n_pw_aff(self)¶
Parameters:

self – UnionPwAff

Returns:

isl_size

Warning

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

neg(self)¶
Parameters:

self – UnionPwAff

Returns:

UnionPwAff

Warning

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

param_on_domain_id = <nanobind.nb_func object>¶
plain_is_equal(self, upa2)¶
Parameters:
Returns:

bool

pullback_union_pw_multi_aff(self, upma)¶
Parameters:
Returns:

UnionPwAff

Warning

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

pw_aff_on_domain = <nanobind.nb_func object>¶
read_from_str = <nanobind.nb_func object>¶
reset_user(self)¶
Parameters:

self – UnionPwAff

Returns:

UnionPwAff

Warning

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

scale_down_val(self, v)¶
Parameters:
Returns:

UnionPwAff

Warning

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

scale_val(self, v)¶
Parameters:
Returns:

UnionPwAff

Warning

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

set_dim_name(self, type, pos, s)¶
Parameters:
Returns:

UnionPwAff

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 – UnionPwAff

Returns:

Space

sub(self, upa2)¶
Parameters:
Returns:

UnionPwAff

subtract_domain(self, uset)¶
Parameters:
Returns:

UnionPwAff

Warning

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

subtract_domain_space(self, space)¶
Parameters:
Returns:

UnionPwAff

Warning

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

subtract_domain_union_set(self, uset)¶
Parameters:
Returns:

UnionPwAff

Warning

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

to_list(self)¶
Parameters:

self – UnionPwAff

Returns:

UnionPwAffList

to_str(self)¶
Parameters:

self – UnionPwAff

Returns:

string

Warning

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

union_add(self, upa2)¶
Parameters:
Returns:

UnionPwAff

val_on_domain = <nanobind.nb_func object>¶
zero_union_set(self)¶
Parameters:

self – UnionPwAff

Returns:

UnionSet

Warning

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

Multiple Union of Piecewise Quasi-Affine Expressions¶

class islpy.MultiUnionPwAff(*args, **kwargs)¶
__eq__(value, /)¶

Return self==value.

__hash__()¶

Return hash(self).

__len__(self) int¶

size(self)

Parameters:

self – MultiUnionPwAff

Returns:

isl_size

__ne__(value, /)¶

Return self!=value.

add(self, multi2)¶
Parameters:
Returns:

MultiUnionPwAff

align_params(self, model)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

apply_aff(self, aff)¶
Parameters:
Returns:

UnionPwAff

Warning

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

apply_multi_aff(self, ma)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

apply_pw_aff(self, pa)¶
Parameters:
Returns:

UnionPwAff

Warning

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

apply_pw_multi_aff(self, pma)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

bind(self, tuple)¶
Parameters:
Returns:

UnionSet

coalesce(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

copy(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

Warning

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

dim(self, type)¶
Parameters:
Returns:

isl_size

Warning

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

domain(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

UnionSet

drop_dims(self, type, first, n)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

dump(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

None

Warning

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

extract_multi_pw_aff(self, space)¶
Parameters:
Returns:

MultiPwAff

Warning

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

factor_range(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

Warning

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

find_dim_by_id(self, type, id)¶
Parameters:
Returns:

int

Warning

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

find_dim_by_name(self, type, name)¶
Parameters:
Returns:

int

Warning

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

flat_range_product(self, multi2)¶
Parameters:
Returns:

MultiUnionPwAff

flatten_range(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

Warning

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

floor(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

Warning

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

from_multi_aff = <nanobind.nb_func object>¶
from_multi_pw_aff = <nanobind.nb_func object>¶
from_range(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

Warning

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

from_union_map = <nanobind.nb_func object>¶
from_union_pw_aff = <nanobind.nb_func object>¶
from_union_pw_aff_list = <nanobind.nb_func object>¶
from_union_pw_multi_aff = <nanobind.nb_func object>¶
get_at(self, pos)¶
Parameters:
Returns:

UnionPwAff

get_ctx(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

Context

Warning

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

get_dim_id(self, type, pos)¶
Parameters:
Returns:

Id

Warning

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

get_domain_space(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

Space

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_list(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

UnionPwAffList

get_range_tuple_id(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

Id

get_space(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

Space

get_tuple_id(self, type)¶
Parameters:
Returns:

Id

Warning

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

get_tuple_name(self, type)¶
Parameters:
Returns:

string

Warning

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

get_union_pw_aff(self, pos)¶
Parameters:
Returns:

UnionPwAff

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.

gist(self, context)¶
Parameters:
Returns:

MultiUnionPwAff

gist_params(self, context)¶
Parameters:
Returns:

MultiUnionPwAff

has_range_tuple_id(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

bool

has_tuple_id(self, type)¶
Parameters:
Returns:

bool

Warning

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

intersect_domain(self, uset)¶
Parameters:
Returns:

MultiUnionPwAff

intersect_params(self, params)¶
Parameters:
Returns:

MultiUnionPwAff

intersect_range(self, set)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

involves_nan(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

bool

max_multi_val(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiVal

Warning

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

min_multi_val(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiVal

Warning

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

mod_multi_val(self, mv)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

multi_aff_on_domain = <nanobind.nb_func object>¶
multi_val_on_domain = <nanobind.nb_func object>¶
neg(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

plain_is_equal(self, multi2)¶
Parameters:
Returns:

bool

pullback_union_pw_multi_aff(self, upma)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

pw_multi_aff_on_domain = <nanobind.nb_func object>¶
range_factor_domain(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

Warning

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

range_factor_range(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

Warning

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

range_is_wrapping(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

bool

Warning

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

range_product(self, multi2)¶
Parameters:
Returns:

MultiUnionPwAff

range_splice(self, pos, multi2)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

read_from_str = <nanobind.nb_func object>¶
reset_range_tuple_id(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

reset_tuple_id(self, type)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

reset_user(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

MultiUnionPwAff

Warning

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

scale_down_multi_val(self, mv)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

scale_down_val(self, v)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

scale_multi_val(self, mv)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

scale_val(self, v)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

set_at(self, pos, el)¶
Parameters:
Returns:

MultiUnionPwAff

set_dim_id(self, type, pos, id)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

set_dim_name(self, type, pos, s)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

set_range_tuple_id(self, id)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

set_tuple_id(self, type, id)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

set_tuple_name(self, type, s)¶
Parameters:
Returns:

MultiUnionPwAff

Warning

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

set_union_pw_aff(self, pos, el)¶
Parameters:
Returns:

MultiUnionPwAff

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 – MultiUnionPwAff

Returns:

Space

sub(self, multi2)¶
Parameters:
Returns:

MultiUnionPwAff

to_str(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

string

Warning

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

union_add(self, mupa2)¶
Parameters:
Returns:

MultiUnionPwAff

zero = <nanobind.nb_func object>¶
zero_union_set(self)¶
Parameters:

self – MultiUnionPwAff

Returns:

UnionSet

Warning

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

Multiple Affine Expressions¶

Multiple Affine Expression¶

class islpy.MultiAff(*args, **kwargs)¶
__eq__(other)¶

Return self==value.

__hash__()¶

Return hash(self).

__len__(self) int¶

size(self)

Parameters:

self – MultiAff

Returns:

isl_size

__ne__(other)¶

Return self!=value.

add¶

Overloaded function.

  1. add(self, multi2: islpy._isl.MultiAff) -> object

add(self, multi2)

Parameters:
Returns:

MultiAff

  1. add(self, arg: islpy._isl.PwMultiAff, /) -> object

Upcast from MultiAff to PwMultiAff

  1. add(self, arg: islpy._isl.UnionPwMultiAff, /) -> object

Upcast from MultiAff to UnionPwMultiAff

add_constant_multi_val¶

Overloaded function.

  1. add_constant_multi_val(self, mv: islpy._isl.MultiVal) -> object

add_constant_multi_val(self, mv)

Parameters:
Returns:

MultiAff

Warning

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

  1. add_constant_multi_val(self, arg: islpy._isl.MultiVal, /) -> object

Upcast from MultiAff to PwMultiAff

add_constant_val¶

Overloaded function.

  1. add_constant_val(self, v: object) -> object

add_constant_val(self, v)

Parameters:
Returns:

MultiAff

Warning

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

  1. add_constant_val(self, arg: object, /) -> object

Upcast from MultiAff to PwMultiAff

add_dims(self, type, n)¶
Parameters:
Returns:

MultiAff

Warning

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

add_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

align_params¶

Overloaded function.

  1. align_params(self, model: islpy._isl.Space) -> object

align_params(self, model)

Parameters:
Returns:

MultiAff

Warning

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

  1. align_params(self, arg: islpy._isl.Space, /) -> object

Upcast from MultiAff to PwMultiAff

  1. align_params(self, arg: islpy._isl.Space, /) -> object

Upcast from MultiAff to UnionPwMultiAff

apply_union_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

as_map¶

Overloaded function.

  1. as_map(self) -> object

as_map(self)

Parameters:

self – MultiAff

Returns:

Map

  1. as_map(self) -> object

Upcast from MultiAff to PwMultiAff

as_multi_aff¶

Upcast from MultiAff to PwMultiAff

as_multi_union_pw_aff¶

Upcast from MultiAff to UnionPwMultiAff

as_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

as_set¶

Overloaded function.

  1. as_set(self) -> object

as_set(self)

Parameters:

self – MultiAff

Returns:

Set

  1. as_set(self) -> object

Upcast from MultiAff to PwMultiAff

as_union_map¶

Upcast from MultiAff to UnionPwMultiAff

bind(self, tuple)¶
Parameters:
Returns:

BasicSet

bind_domain¶

Overloaded function.

  1. bind_domain(self, tuple: islpy._isl.MultiId) -> object

bind_domain(self, tuple)

Parameters:
Returns:

MultiAff

  1. bind_domain(self, arg: islpy._isl.MultiId, /) -> object

Upcast from MultiAff to PwMultiAff

bind_domain_wrapped_domain¶

Overloaded function.

  1. bind_domain_wrapped_domain(self, tuple: islpy._isl.MultiId) -> object

bind_domain_wrapped_domain(self, tuple)

Parameters:
Returns:

MultiAff

  1. bind_domain_wrapped_domain(self, arg: islpy._isl.MultiId, /) -> object

Upcast from MultiAff to PwMultiAff

coalesce¶

Upcast from MultiAff to PwMultiAff

copy¶

Overloaded function.

  1. copy(self) -> object

copy(self)

Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

  1. copy(self) -> object

Upcast from MultiAff to PwMultiAff

  1. copy(self) -> object

Upcast from MultiAff to UnionPwMultiAff

dim¶

Overloaded function.

  1. dim(self, type: islpy._isl.dim_type) -> int

dim(self, type)

Parameters:
Returns:

isl_size

Warning

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

  1. dim(self, arg: islpy._isl.dim_type, /) -> int

Upcast from MultiAff to PwMultiAff

  1. dim(self, arg: islpy._isl.dim_type, /) -> int

Upcast from MultiAff to UnionPwMultiAff

domain¶

Upcast from MultiAff to PwMultiAff

domain_map = <nanobind.nb_func object>¶
domain_reverse¶

Overloaded function.

  1. domain_reverse(self) -> object

domain_reverse(self)

Parameters:

self – MultiAff

Returns:

MultiAff

  1. domain_reverse(self) -> object

Upcast from MultiAff to PwMultiAff

drop_dims¶

Overloaded function.

  1. drop_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object

drop_dims(self, type, first, n)

Parameters:
Returns:

MultiAff

Warning

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

  1. drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object

Upcast from MultiAff to PwMultiAff

  1. drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object

Upcast from MultiAff to UnionPwMultiAff

drop_unused_params¶

Upcast from MultiAff to PwMultiAff

dump¶

Overloaded function.

  1. dump(self) -> None

dump(self)

Parameters:

self – MultiAff

Returns:

None

Warning

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

  1. dump(self) -> None

Upcast from MultiAff to PwMultiAff

  1. dump(self) -> None

Upcast from MultiAff to UnionPwMultiAff

every_piece¶

Upcast from MultiAff to PwMultiAff

every_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

extract_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

factor_range(self)¶
Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

find_dim_by_id(self, type, id)¶
Parameters:
Returns:

int

Warning

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

find_dim_by_name¶

Overloaded function.

  1. find_dim_by_name(self, type: islpy._isl.dim_type, name: str) -> int

find_dim_by_name(self, type, name)

Parameters:
Returns:

int

Warning

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

  1. find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int

Upcast from MultiAff to PwMultiAff

  1. find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int

Upcast from MultiAff to UnionPwMultiAff

flat_range_product¶

Overloaded function.

  1. flat_range_product(self, multi2: islpy._isl.MultiAff) -> object

flat_range_product(self, multi2)

Parameters:
Returns:

MultiAff

  1. flat_range_product(self, arg: islpy._isl.PwMultiAff, /) -> object

Upcast from MultiAff to PwMultiAff

  1. flat_range_product(self, arg: islpy._isl.UnionPwMultiAff, /) -> object

Upcast from MultiAff to UnionPwMultiAff

flatten_domain(self)¶
Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

flatten_range(self)¶
Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

floor(self)¶
Parameters:

self – MultiAff

Returns:

MultiAff

foreach_piece¶

Upcast from MultiAff to PwMultiAff

foreach_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

from_aff = <nanobind.nb_func object>¶
from_aff_list = <nanobind.nb_func object>¶
from_range(self)¶
Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

get_aff(self, pos)¶
Parameters:
Returns:

Aff

Warning

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

get_at¶

Overloaded function.

  1. get_at(self, pos: int) -> object

get_at(self, pos)

Parameters:
Returns:

Aff

  1. get_at(self, arg: int, /) -> object

Upcast from MultiAff to PwMultiAff

get_constant_multi_val(self)¶
Parameters:

self – MultiAff

Returns:

MultiVal

get_ctx¶

Overloaded function.

  1. get_ctx(self) -> object

get_ctx(self)

Parameters:

self – MultiAff

Returns:

Context

Warning

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

  1. get_ctx(self) -> object

Upcast from MultiAff to PwMultiAff

  1. get_ctx(self) -> object

Upcast from MultiAff to UnionPwMultiAff

get_dim_id¶

Overloaded function.

  1. get_dim_id(self, type: islpy._isl.dim_type, pos: int) -> object

get_dim_id(self, type, pos)

Parameters:
Returns:

Id

Warning

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

  1. get_dim_id(self, arg0: islpy._isl.dim_type, arg1: int, /) -> object

Upcast from MultiAff to PwMultiAff

get_dim_name¶

Upcast from MultiAff to PwMultiAff

get_domain_space¶

Overloaded function.

  1. get_domain_space(self) -> object

get_domain_space(self)

Parameters:

self – MultiAff

Returns:

Space

Warning

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

  1. get_domain_space(self) -> object

Upcast from MultiAff to PwMultiAff

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_list(self)¶
Parameters:

self – MultiAff

Returns:

AffList

get_pw_aff¶

Upcast from MultiAff to PwMultiAff

get_pw_multi_aff_list¶

Upcast from MultiAff to UnionPwMultiAff

get_range_tuple_id¶

Overloaded function.

  1. get_range_tuple_id(self) -> object

get_range_tuple_id(self)

Parameters:

self – MultiAff

Returns:

Id

  1. get_range_tuple_id(self) -> object

Upcast from MultiAff to PwMultiAff

get_space¶

Overloaded function.

  1. get_space(self) -> object

get_space(self)

Parameters:

self – MultiAff

Returns:

Space

  1. get_space(self) -> object

Upcast from MultiAff to PwMultiAff

  1. get_space(self) -> object

Upcast from MultiAff to UnionPwMultiAff

get_tuple_id¶

Overloaded function.

  1. get_tuple_id(self, type: islpy._isl.dim_type) -> object

get_tuple_id(self, type)

Parameters:
Returns:

Id

Warning

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

  1. get_tuple_id(self, arg: islpy._isl.dim_type, /) -> object

Upcast from MultiAff to PwMultiAff

get_tuple_name¶

Overloaded function.

  1. get_tuple_name(self, type: islpy._isl.dim_type) -> object

get_tuple_name(self, type)

Parameters:
Returns:

string

Warning

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

  1. get_tuple_name(self, arg: islpy._isl.dim_type, /) -> object

Upcast from MultiAff to PwMultiAff

get_union_pw_aff¶

Upcast from MultiAff to UnionPwMultiAff

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.

gist¶

Overloaded function.

  1. gist(self, context: islpy._isl.Set) -> object

gist(self, context)

Parameters:
Returns:

MultiAff

  1. gist(self, arg: islpy._isl.Set, /) -> object

Upcast from MultiAff to PwMultiAff

  1. gist(self, arg: islpy._isl.UnionSet, /) -> object

Upcast from MultiAff to UnionPwMultiAff

gist_params¶

Overloaded function.

  1. gist_params(self, context: islpy._isl.Set) -> object

gist_params(self, context)

Parameters:
Returns:

MultiAff

  1. gist_params(self, arg: islpy._isl.Set, /) -> object

Upcast from MultiAff to PwMultiAff

  1. gist_params(self, arg: islpy._isl.Set, /) -> object

Upcast from MultiAff to UnionPwMultiAff

has_range_tuple_id¶

Overloaded function.

  1. has_range_tuple_id(self) -> bool

has_range_tuple_id(self)

Parameters:

self – MultiAff

Returns:

bool

  1. has_range_tuple_id(self) -> bool

Upcast from MultiAff to PwMultiAff

has_tuple_id¶

Overloaded function.

  1. has_tuple_id(self, type: islpy._isl.dim_type) -> bool

has_tuple_id(self, type)

Parameters:
Returns:

bool

Warning

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

  1. has_tuple_id(self, arg: islpy._isl.dim_type, /) -> bool

Upcast from MultiAff to PwMultiAff

has_tuple_name¶

Upcast from MultiAff to PwMultiAff

identity = <nanobind.nb_func object>¶
identity_multi_aff(self)¶
Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

identity_on_domain_space = <nanobind.nb_func object>¶
insert_dims(self, type, first, n)¶
Parameters:
Returns:

MultiAff

Warning

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

insert_domain¶

Overloaded function.

  1. insert_domain(self, domain: islpy._isl.Space) -> object

insert_domain(self, domain)

Parameters:
Returns:

MultiAff

  1. insert_domain(self, arg: islpy._isl.Space, /) -> object

Upcast from MultiAff to PwMultiAff

intersect_domain¶

Upcast from MultiAff to PwMultiAff

intersect_domain_space¶

Upcast from MultiAff to UnionPwMultiAff

intersect_domain_union_set¶

Upcast from MultiAff to UnionPwMultiAff

intersect_domain_wrapped_domain¶

Upcast from MultiAff to PwMultiAff

intersect_domain_wrapped_range¶

Upcast from MultiAff to PwMultiAff

intersect_params¶

Upcast from MultiAff to PwMultiAff

involves_dims¶

Overloaded function.

  1. involves_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> bool

involves_dims(self, type, first, n)

Parameters:
Returns:

bool

Warning

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

  1. involves_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> bool

Upcast from MultiAff to PwMultiAff

involves_locals¶

Overloaded function.

  1. involves_locals(self) -> bool

involves_locals(self)

Parameters:

self – MultiAff

Returns:

bool

  1. involves_locals(self) -> bool

Upcast from MultiAff to PwMultiAff

  1. involves_locals(self) -> bool

Upcast from MultiAff to UnionPwMultiAff

involves_nan¶

Overloaded function.

  1. involves_nan(self) -> bool

involves_nan(self)

Parameters:

self – MultiAff

Returns:

bool

  1. involves_nan(self) -> bool

Upcast from MultiAff to PwMultiAff

  1. involves_nan(self) -> bool

Upcast from MultiAff to UnionPwMultiAff

involves_param_id¶

Upcast from MultiAff to PwMultiAff

is_equal¶

Upcast from MultiAff to PwMultiAff

isa_multi_aff¶

Upcast from MultiAff to PwMultiAff

isa_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

lex_ge_set(self, ma2)¶
Parameters:
Returns:

Set

Warning

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

lex_gt_set(self, ma2)¶
Parameters:
Returns:

Set

Warning

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

lex_le_set(self, ma2)¶
Parameters:
Returns:

Set

Warning

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

lex_lt_set(self, ma2)¶
Parameters:
Returns:

Set

Warning

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

lift(self)¶
Parameters:

self – MultiAff

Returns:

tuple: (MultiAff, ls (LocalSpace))

Warning

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

max_multi_val¶

Upcast from MultiAff to PwMultiAff

min_multi_val¶

Upcast from MultiAff to PwMultiAff

mod_multi_val(self, mv)¶
Parameters:
Returns:

MultiAff

Warning

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

move_dims(self, dst_type, dst_pos, src_type, src_pos, n)¶
Parameters:
Returns:

MultiAff

Warning

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

multi_val_on_domain_space = <nanobind.nb_func object>¶
multi_val_on_space = <nanobind.nb_func object>¶
n_piece¶

Upcast from MultiAff to PwMultiAff

n_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

neg¶

Overloaded function.

  1. neg(self) -> object

neg(self)

Parameters:

self – MultiAff

Returns:

MultiAff

  1. neg(self) -> object

Upcast from MultiAff to PwMultiAff

  1. neg(self) -> object

Upcast from MultiAff to UnionPwMultiAff

plain_cmp(self, multi2)¶
Parameters:
Returns:

int

Warning

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

plain_is_empty¶

Upcast from MultiAff to UnionPwMultiAff

plain_is_equal¶

Overloaded function.

  1. plain_is_equal(self, multi2: islpy._isl.MultiAff) -> bool

plain_is_equal(self, multi2)

Parameters:
Returns:

bool

  1. plain_is_equal(self, arg: islpy._isl.PwMultiAff, /) -> bool

Upcast from MultiAff to PwMultiAff

  1. plain_is_equal(self, arg: islpy._isl.UnionPwMultiAff, /) -> bool

Upcast from MultiAff to UnionPwMultiAff

preimage_domain_wrapped_domain_pw_multi_aff¶

Upcast from MultiAff to PwMultiAff

preimage_domain_wrapped_domain_union_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

product¶

Overloaded function.

  1. product(self, multi2: islpy._isl.MultiAff) -> object

product(self, multi2)

Parameters:
Returns:

MultiAff

  1. product(self, arg: islpy._isl.PwMultiAff, /) -> object

Upcast from MultiAff to PwMultiAff

project_domain_on_params¶

Overloaded function.

  1. project_domain_on_params(self) -> object

project_domain_on_params(self)

Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

  1. project_domain_on_params(self) -> object

Upcast from MultiAff to PwMultiAff

project_out_map = <nanobind.nb_func object>¶
pullback_multi_aff¶

Overloaded function.

  1. pullback_multi_aff(self, ma2: islpy._isl.MultiAff) -> object

pullback_multi_aff(self, ma2)

Parameters:
Returns:

MultiAff

Warning

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

  1. pullback_multi_aff(self, arg: islpy._isl.MultiAff, /) -> object

Upcast from MultiAff to PwMultiAff

pullback_pw_multi_aff¶

Upcast from MultiAff to PwMultiAff

pullback_union_pw_multi_aff¶

Upcast from MultiAff to UnionPwMultiAff

range_factor_domain¶

Overloaded function.

  1. range_factor_domain(self) -> object

range_factor_domain(self)

Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

  1. range_factor_domain(self) -> object

Upcast from MultiAff to PwMultiAff

  1. range_factor_domain(self) -> object

Upcast from MultiAff to UnionPwMultiAff

range_factor_range¶

Overloaded function.

  1. range_factor_range(self) -> object

range_factor_range(self)

Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

  1. range_factor_range(self) -> object

Upcast from MultiAff to PwMultiAff

  1. range_factor_range(self) -> object

Upcast from MultiAff to UnionPwMultiAff

range_is_wrapping(self)¶
Parameters:

self – MultiAff

Returns:

bool

Warning

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

range_map = <nanobind.nb_func object>¶
range_product¶

Overloaded function.

  1. range_product(self, multi2: islpy._isl.MultiAff) -> object

range_product(self, multi2)

Parameters:
Returns:

MultiAff

  1. range_product(self, arg: islpy._isl.PwMultiAff, /) -> object

Upcast from MultiAff to PwMultiAff

  1. range_product(self, arg: islpy._isl.UnionPwMultiAff, /) -> object

Upcast from MultiAff to UnionPwMultiAff

range_splice(self, pos, multi2)¶
Parameters:
Returns:

MultiAff

Warning

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

read_from_str = <nanobind.nb_func object>¶
reset_range_tuple_id(self)¶
Parameters:

self – MultiAff

Returns:

MultiAff

reset_tuple_id¶

Overloaded function.

  1. reset_tuple_id(self, type: islpy._isl.dim_type) -> object

reset_tuple_id(self, type)

Parameters:
Returns:

MultiAff

Warning

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

  1. reset_tuple_id(self, arg: islpy._isl.dim_type, /) -> object

Upcast from MultiAff to PwMultiAff

reset_user¶

Overloaded function.

  1. reset_user(self) -> object

reset_user(self)

Parameters:

self – MultiAff

Returns:

MultiAff

Warning

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

  1. reset_user(self) -> object

Upcast from MultiAff to PwMultiAff

  1. reset_user(self) -> object

Upcast from MultiAff to UnionPwMultiAff

scale_down_multi_val¶

Overloaded function.

  1. scale_down_multi_val(self, mv: islpy._isl.MultiVal) -> object

scale_down_multi_val(self, mv)

Parameters:
Returns:

MultiAff

Warning

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

  1. scale_down_multi_val(self, arg: islpy._isl.MultiVal, /) -> object

Upcast from MultiAff to PwMultiAff

scale_down_val¶

Overloaded function.

  1. scale_down_val(self, v: object) -> object

scale_down_val(self, v)

Parameters:
Returns:

MultiAff

Warning

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

  1. scale_down_val(self, arg: object, /) -> object

Upcast from MultiAff to PwMultiAff

  1. scale_down_val(self, arg: object, /) -> object

Upcast from MultiAff to UnionPwMultiAff

scale_multi_val¶

Overloaded function.

  1. scale_multi_val(self, mv: islpy._isl.MultiVal) -> object

scale_multi_val(self, mv)

Parameters:
Returns:

MultiAff

Warning

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

  1. scale_multi_val(self, arg: islpy._isl.MultiVal, /) -> object

Upcast from MultiAff to PwMultiAff

  1. scale_multi_val(self, arg: islpy._isl.MultiVal, /) -> object

Upcast from MultiAff to UnionPwMultiAff

scale_val¶

Overloaded function.

  1. scale_val(self, v: object) -> object

scale_val(self, v)

Parameters:
Returns:

MultiAff

Warning

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

  1. scale_val(self, arg: object, /) -> object

Upcast from MultiAff to PwMultiAff

  1. scale_val(self, arg: object, /) -> object

Upcast from MultiAff to UnionPwMultiAff

set_aff(self, pos, el)¶
Parameters:
Returns:

MultiAff

Warning

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

set_at(self, pos, el)¶
Parameters:
Returns:

MultiAff

set_dim_id¶

Overloaded function.

  1. set_dim_id(self, type: islpy._isl.dim_type, pos: int, id: islpy._isl.Id) -> object

set_dim_id(self, type, pos, id)

Parameters:
Returns:

MultiAff

Warning

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

  1. set_dim_id(self, arg0: islpy._isl.dim_type, arg1: int, arg2: islpy._isl.Id, /) -> object

Upcast from MultiAff to PwMultiAff

set_dim_name¶

Overloaded function.

  1. set_dim_name(self, type: islpy._isl.dim_type, pos: int, s: str) -> object

set_dim_name(self, type, pos, s)

Parameters:
Returns:

MultiAff

Warning

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

  1. set_dim_name(self, arg0: islpy._isl.dim_type, arg1: int, arg2: str, /) -> object

Upcast from MultiAff to UnionPwMultiAff

set_pw_aff¶

Upcast from MultiAff to PwMultiAff

set_range_tuple_id¶

Overloaded function.

  1. set_range_tuple_id(self, id: islpy._isl.Id) -> object

set_range_tuple_id(self, id)

Parameters:
Returns:

MultiAff

Warning

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

  1. set_range_tuple_id(self, arg: islpy._isl.Id, /) -> object

Upcast from MultiAff to PwMultiAff

set_tuple_id¶

Overloaded function.

  1. set_tuple_id(self, type: islpy._isl.dim_type, id: islpy._isl.Id) -> object

set_tuple_id(self, type, id)

Parameters:
Returns:

MultiAff

Warning

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

  1. set_tuple_id(self, arg0: islpy._isl.dim_type, arg1: islpy._isl.Id, /) -> object

Upcast from MultiAff to PwMultiAff

set_tuple_name(self, type, s)¶
Parameters:
Returns:

MultiAff

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) -> object get_space(self) -> object

Overloaded function.

  1. get_space(self) -> object

get_space(self)

Parameters:

self – MultiAff

Returns:

Space

  1. get_space(self) -> object

Upcast from MultiAff to PwMultiAff

  1. get_space(self) -> object

Upcast from MultiAff to UnionPwMultiAff

splice(self, in_pos, out_pos, multi2)¶
Parameters:
Returns:

MultiAff

Warning

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

sub¶

Overloaded function.

  1. sub(self, multi2: islpy._isl.MultiAff) -> object

sub(self, multi2)

Parameters:
Returns:

MultiAff

  1. sub(self, arg: islpy._isl.PwMultiAff, /) -> object

Upcast from MultiAff to PwMultiAff

  1. sub(self, arg: islpy._isl.UnionPwMultiAff, /) -> object

Upcast from MultiAff to UnionPwMultiAff

subtract_domain¶

Upcast from MultiAff to PwMultiAff

subtract_domain_space¶

Upcast from MultiAff to UnionPwMultiAff

subtract_domain_union_set¶

Upcast from MultiAff to UnionPwMultiAff

to_list¶

Upcast from MultiAff to PwMultiAff

to_multi_pw_aff¶

Overloaded function.

  1. to_multi_pw_aff(self) -> object

to_multi_pw_aff(self)

Parameters:

self – MultiAff

Returns:

MultiPwAff

  1. to_multi_pw_aff(self) -> object

Upcast from MultiAff to PwMultiAff

to_multi_union_pw_aff(self)¶
Parameters:

self – MultiAff

Returns:

MultiUnionPwAff

to_pw_multi_aff(self)¶
Parameters:

self – MultiAff

Returns:

PwMultiAff

to_str¶

Overloaded function.

  1. to_str(self) -> object

to_str(self)

Parameters:

self – MultiAff

Returns:

string

Warning

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

  1. to_str(self) -> object

Upcast from MultiAff to PwMultiAff

  1. to_str(self) -> object

Upcast from MultiAff to UnionPwMultiAff

to_union_pw_multi_aff¶

Upcast from MultiAff to PwMultiAff

unbind_params_insert_domain(self, domain)¶
Parameters:
Returns:

MultiAff

union_add¶

Upcast from MultiAff to PwMultiAff

union_lexmax¶

Upcast from MultiAff to PwMultiAff

union_lexmin¶

Upcast from MultiAff to PwMultiAff

zero = <nanobind.nb_func object>¶

Piecewise Multiple Affine Expression¶

class islpy.PwMultiAff(*args, **kwargs)¶
__eq__(other)¶

Return self==value.

__hash__()¶

Return hash(self).

__ne__(other)¶

Return self!=value.

add¶

Overloaded function.

  1. add(self, pma2: islpy._isl.PwMultiAff) -> object

add(self, pma2)

Parameters:
Returns:

PwMultiAff

  1. add(self, arg: islpy._isl.UnionPwMultiAff, /) -> object

Upcast from PwMultiAff to UnionPwMultiAff

add_constant_multi_val(self, mv)¶
Parameters:
Returns:

PwMultiAff

Warning

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

add_constant_val(self, v)¶
Parameters:
Returns:

PwMultiAff

Warning

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

add_pw_multi_aff¶

Upcast from PwMultiAff to UnionPwMultiAff

align_params¶

Overloaded function.

  1. align_params(self, model: islpy._isl.Space) -> object

align_params(self, model)

Parameters:
Returns:

PwMultiAff

Warning

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

  1. align_params(self, arg: islpy._isl.Space, /) -> object

Upcast from PwMultiAff to UnionPwMultiAff

alloc = <nanobind.nb_func object>¶
apply_union_pw_multi_aff¶

Upcast from PwMultiAff to UnionPwMultiAff

as_map(self)¶
Parameters:

self – PwMultiAff

Returns:

Map

as_multi_aff(self)¶
Parameters:

self – PwMultiAff

Returns:

MultiAff

as_multi_union_pw_aff¶

Upcast from PwMultiAff to UnionPwMultiAff

as_pw_multi_aff¶

Upcast from PwMultiAff to UnionPwMultiAff

as_set(self)¶
Parameters:

self – PwMultiAff

Returns:

Set

as_union_map¶

Upcast from PwMultiAff to UnionPwMultiAff

bind_domain(self, tuple)¶
Parameters:
Returns:

PwMultiAff

bind_domain_wrapped_domain(self, tuple)¶
Parameters:
Returns:

PwMultiAff

coalesce¶

Overloaded function.

  1. coalesce(self) -> object

coalesce(self)

Parameters:

self – PwMultiAff

Returns:

PwMultiAff

  1. coalesce(self) -> object

Upcast from PwMultiAff to UnionPwMultiAff

copy¶

Overloaded function.

  1. copy(self) -> object

copy(self)

Parameters:

self – PwMultiAff

Returns:

PwMultiAff

Warning

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

  1. copy(self) -> object

Upcast from PwMultiAff to UnionPwMultiAff

dim¶

Overloaded function.

  1. dim(self, type: islpy._isl.dim_type) -> int

dim(self, type)

Parameters:
Returns:

isl_size

Warning

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

  1. dim(self, arg: islpy._isl.dim_type, /) -> int

Upcast from PwMultiAff to UnionPwMultiAff

domain¶

Overloaded function.

  1. domain(self) -> object

domain(self)

Parameters:

self – PwMultiAff

Returns:

Set

  1. domain(self) -> object

Upcast from PwMultiAff to UnionPwMultiAff

domain_map = <nanobind.nb_func object>¶
domain_reverse(self)¶
Parameters:

self – PwMultiAff

Returns:

PwMultiAff

drop_dims¶

Overloaded function.

  1. drop_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object

drop_dims(self, type, first, n)

Parameters:
Returns:

PwMultiAff

Warning

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

  1. drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object

Upcast from PwMultiAff to UnionPwMultiAff

drop_unused_params¶

Overloaded function.

  1. drop_unused_params(self) -> object

drop_unused_params(self)

Parameters:

self – PwMultiAff

Returns:

PwMultiAff

  1. drop_unused_params(self) -> object

Upcast from PwMultiAff to UnionPwMultiAff

dump¶

Overloaded function.

  1. dump(self) -> None

dump(self)

Parameters:

self – PwMultiAff

Returns:

None

Warning

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

  1. dump(self) -> None

Upcast from PwMultiAff to UnionPwMultiAff

empty = <nanobind.nb_func object>¶
every_piece(self, test)¶
Parameters:
  • self – PwMultiAff

  • test – callback(set, ma)

Returns:

bool

Warning

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

every_pw_multi_aff¶

Upcast from PwMultiAff to UnionPwMultiAff

extract_pw_multi_aff¶

Upcast from PwMultiAff to UnionPwMultiAff

find_dim_by_name¶

Overloaded function.

  1. find_dim_by_name(self, type: islpy._isl.dim_type, name: str) -> int

find_dim_by_name(self, type, name)

Parameters:
Returns:

int

Warning

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

  1. find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int

Upcast from PwMultiAff to UnionPwMultiAff

fix_si(self, type, pos, value)¶
Parameters:
Returns:

PwMultiAff

Warning

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

flat_range_product¶

Overloaded function.

  1. flat_range_product(self, pma2: islpy._isl.PwMultiAff) -> object

flat_range_product(self, pma2)

Parameters:
Returns:

PwMultiAff

  1. flat_range_product(self, arg: islpy._isl.UnionPwMultiAff, /) -> object

Upcast from PwMultiAff to UnionPwMultiAff

foreach_piece(self, fn)¶
Parameters:
  • self – PwMultiAff

  • fn – callback(set, maff)

Returns:

isl_stat

foreach_pw_multi_aff¶

Upcast from PwMultiAff to UnionPwMultiAff

from_domain = <nanobind.nb_func object>¶
from_map = <nanobind.nb_func object>¶
from_multi_aff = <nanobind.nb_func object>¶
from_multi_pw_aff = <nanobind.nb_func object>¶
from_pw_aff = <nanobind.nb_func object>¶
from_set = <nanobind.nb_func object>¶
get_at(self, pos)¶
Parameters:
Returns:

PwAff

get_ctx¶

Overloaded function.

  1. get_ctx(self) -> object

get_ctx(self)

Parameters:

self – PwMultiAff

Returns:

Context

Warning

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

  1. get_ctx(self) -> object

Upcast from PwMultiAff to UnionPwMultiAff

get_dim_id(self, type, pos)¶
Parameters:
Returns:

Id

Warning

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

get_dim_name(self, type, pos)¶
Parameters:
Returns:

string

Warning

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

get_domain_space(self)¶
Parameters:

self – PwMultiAff

Returns:

Space

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_pw_aff(self, pos)¶
Parameters:
Returns:

PwAff

Warning

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

get_pw_multi_aff_list¶

Upcast from PwMultiAff to UnionPwMultiAff

get_range_tuple_id(self)¶
Parameters:

self – PwMultiAff

Returns:

Id

get_space¶

Overloaded function.

  1. get_space(self) -> object

get_space(self)

Parameters:

self – PwMultiAff

Returns:

Space

  1. get_space(self) -> object

Upcast from PwMultiAff to UnionPwMultiAff

get_tuple_id(self, type)¶
Parameters:
Returns:

Id

Warning

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

get_tuple_name(self, type)¶
Parameters:
Returns:

string

Warning

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

get_union_pw_aff¶

Upcast from PwMultiAff to UnionPwMultiAff

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.

gist¶

Overloaded function.

  1. gist(self, set: islpy._isl.Set) -> object

gist(self, set)

Parameters:
Returns:

PwMultiAff

  1. gist(self, arg: islpy._isl.UnionSet, /) -> object

Upcast from PwMultiAff to UnionPwMultiAff

gist_params¶

Overloaded function.

  1. gist_params(self, set: islpy._isl.Set) -> object

gist_params(self, set)

Parameters:
Returns:

PwMultiAff

  1. gist_params(self, arg: islpy._isl.Set, /) -> object

Upcast from PwMultiAff to UnionPwMultiAff

has_range_tuple_id(self)¶
Parameters:

self – PwMultiAff

Returns:

bool

has_tuple_id(self, type)¶
Parameters:
Returns:

bool

Warning

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

has_tuple_name(self, type)¶
Parameters: