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.
add(self, aff2: islpy._isl.Aff) -> object
add(self, aff2)
add(self, arg: islpy._isl.PwAff, /) -> object
add(self, arg: islpy._isl.UnionPwAff, /) -> object
Upcast from
Aff
toUnionPwAff
- add_coefficient_val(self, type, pos, v)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- add_constant_num_si(self, v)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- add_constant_val¶
Overloaded function.
add_constant_val(self, v: object) -> object
add_constant_val(self, v)
Warning
This function is not part of the officially public isl API. Use at your own risk.
add_constant_val(self, arg: object, /) -> object
- add_dims¶
Overloaded function.
add_dims(self, type: islpy._isl.dim_type, n: int) -> object
add_dims(self, type, n)
Warning
This function is not part of the officially public isl API. Use at your own risk.
add_dims(self, arg0: islpy._isl.dim_type, arg1: int, /) -> object
- add_pw_aff¶
Upcast from
Aff
toUnionPwAff
- align_params¶
Overloaded function.
align_params(self, model: islpy._isl.Space) -> object
align_params(self, model)
Warning
This function is not part of the officially public isl API. Use at your own risk.
align_params(self, arg: islpy._isl.Space, /) -> object
align_params(self, arg: islpy._isl.Space, /) -> object
Upcast from
Aff
toUnionPwAff
- bind_id¶
Overloaded function.
bind_id(self, id: islpy._isl.Id) -> object
bind_id(self, id)
Warning
This function is not part of the officially public isl API. Use at your own risk.
bind_id(self, arg: islpy._isl.Id, /) -> object
bind_id(self, arg: islpy._isl.Id, /) -> object
Upcast from
Aff
toUnionPwAff
- ceil¶
Overloaded function.
ceil(self) -> object
ceil(self)
ceil(self) -> object
- coefficient_sgn(self, type, pos)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- copy¶
Overloaded function.
copy(self) -> object
copy(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
copy(self) -> object
copy(self) -> object
Upcast from
Aff
toUnionPwAff
- dim¶
Overloaded function.
dim(self, type: islpy._isl.dim_type) -> int
dim(self, type)
Warning
This function is not part of the officially public isl API. Use at your own risk.
dim(self, arg: islpy._isl.dim_type, /) -> int
dim(self, arg: islpy._isl.dim_type, /) -> int
Upcast from
Aff
toUnionPwAff
- div¶
Overloaded function.
div(self, aff2: islpy._isl.Aff) -> object
div(self, aff2)
div(self, arg: islpy._isl.PwAff, /) -> object
- domain_reverse¶
Overloaded function.
domain_reverse(self) -> object
domain_reverse(self)
domain_reverse(self) -> object
- drop_dims¶
Overloaded function.
drop_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object
drop_dims(self, type, first, n)
Warning
This function is not part of the officially public isl API. Use at your own risk.
drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object
drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object
Upcast from
Aff
toUnionPwAff
- dump¶
Overloaded function.
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.
dump(self) -> None
dump(self) -> None
Upcast from
Aff
toUnionPwAff
- eq_basic_set(self, aff2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- eq_set¶
Overloaded function.
eq_set(self, aff2: islpy._isl.Aff) -> object
eq_set(self, aff2)
eq_set(self, arg: islpy._isl.PwAff, /) -> object
- eval¶
Overloaded function.
eval(self, pnt: islpy._isl.Point) -> object
eval(self, pnt)
eval(self, arg: islpy._isl.Point, /) -> object
- every_pw_aff¶
Upcast from
Aff
toUnionPwAff
- extract_pw_aff¶
Upcast from
Aff
toUnionPwAff
- find_dim_by_name¶
Overloaded function.
find_dim_by_name(self, type: islpy._isl.dim_type, name: str) -> int
find_dim_by_name(self, type, name)
Warning
This function is not part of the officially public isl API. Use at your own risk.
find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int
find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int
Upcast from
Aff
toUnionPwAff
- floor¶
Overloaded function.
floor(self) -> object
floor(self)
floor(self) -> object
floor(self) -> object
Upcast from
Aff
toUnionPwAff
- foreach_pw_aff¶
Upcast from
Aff
toUnionPwAff
- from_range¶
Overloaded function.
from_range(self) -> object
from_range(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
from_range(self) -> object
- ge_basic_set(self, aff2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- ge_set¶
Overloaded function.
ge_set(self, aff2: islpy._isl.Aff) -> object
ge_set(self, aff2)
ge_set(self, arg: islpy._isl.PwAff, /) -> object
- get_coefficient_val(self, type, pos)¶
-
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_ctx¶
Overloaded function.
get_ctx(self) -> object
get_ctx(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_ctx(self) -> object
get_ctx(self) -> object
Upcast from
Aff
toUnionPwAff
- get_denominator_val(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_dim_name¶
Overloaded function.
get_dim_name(self, type: islpy._isl.dim_type, pos: int) -> object
get_dim_name(self, type, pos)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_dim_name(self, arg0: islpy._isl.dim_type, arg1: int, /) -> object
- get_div(self, pos)¶
-
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:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_domain_space¶
Overloaded function.
get_domain_space(self) -> object
get_domain_space(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_domain_space(self) -> object
- 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:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_pw_aff_list¶
Upcast from
Aff
toUnionPwAff
- get_space¶
Overloaded function.
get_space(self) -> object
get_space(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_space(self) -> object
get_space(self) -> object
Upcast from
Aff
toUnionPwAff
- 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
.
- gist¶
Overloaded function.
gist(self, context: islpy._isl.Set) -> object
gist(self, context)
gist(self, arg: islpy._isl.Set, /) -> object
gist(self, arg: islpy._isl.UnionSet, /) -> object
Upcast from
Aff
toUnionPwAff
- gist_params¶
Overloaded function.
gist_params(self, context: islpy._isl.Set) -> object
gist_params(self, context)
gist_params(self, arg: islpy._isl.Set, /) -> object
gist_params(self, arg: islpy._isl.Set, /) -> object
Upcast from
Aff
toUnionPwAff
- gt_basic_set(self, aff2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- gt_set¶
Overloaded function.
gt_set(self, aff2: islpy._isl.Aff) -> object
gt_set(self, aff2)
gt_set(self, arg: islpy._isl.PwAff, /) -> object
- insert_dims¶
Overloaded function.
insert_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object
insert_dims(self, type, first, n)
Warning
This function is not part of the officially public isl API. Use at your own risk.
insert_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object
- intersect_domain_space¶
Upcast from
Aff
toUnionPwAff
- intersect_domain_union_set¶
Upcast from
Aff
toUnionPwAff
- involves_dims¶
Overloaded function.
involves_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> bool
involves_dims(self, type, first, n)
Warning
This function is not part of the officially public isl API. Use at your own risk.
involves_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> bool
- 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.
- is_cst¶
Overloaded function.
is_cst(self) -> bool
is_cst(self)
- Parameters:
self –
Aff
- Returns:
bool
is_cst(self) -> bool
- 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.
- le_basic_set(self, aff2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- le_set¶
Overloaded function.
le_set(self, aff2: islpy._isl.Aff) -> object
le_set(self, aff2)
le_set(self, arg: islpy._isl.PwAff, /) -> object
- lt_basic_set(self, aff2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- lt_set¶
Overloaded function.
lt_set(self, aff2: islpy._isl.Aff) -> object
lt_set(self, aff2)
lt_set(self, arg: islpy._isl.PwAff, /) -> object
- mod_val¶
Overloaded function.
mod_val(self, mod: object) -> object
mod_val(self, mod)
Warning
This function is not part of the officially public isl API. Use at your own risk.
mod_val(self, arg: object, /) -> object
mod_val(self, arg: object, /) -> object
Upcast from
Aff
toUnionPwAff
- move_dims¶
Overloaded function.
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:
Warning
This function is not part of the officially public isl API. Use at your own risk.
move_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: islpy._isl.dim_type, arg3: int, arg4: int, /) -> object
- mul¶
Overloaded function.
mul(self, aff2: islpy._isl.Aff) -> object
mul(self, aff2)
mul(self, arg: islpy._isl.PwAff, /) -> object
- n_pw_aff¶
Upcast from
Aff
toUnionPwAff
- nan_on_domain = <nanobind.nb_func object>¶
- nan_on_domain_space = <nanobind.nb_func object>¶
- ne_set¶
Overloaded function.
ne_set(self, aff2: islpy._isl.Aff) -> object
ne_set(self, aff2)
ne_set(self, arg: islpy._isl.PwAff, /) -> object
- neg¶
Overloaded function.
neg(self) -> object
neg(self)
neg(self) -> object
neg(self) -> object
Upcast from
Aff
toUnionPwAff
- neg_basic_set(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- param_on_domain_space_id = <nanobind.nb_func object>¶
- plain_is_equal¶
Overloaded function.
plain_is_equal(self, aff2: islpy._isl.Aff) -> bool
plain_is_equal(self, aff2)
plain_is_equal(self, arg: islpy._isl.PwAff, /) -> bool
plain_is_equal(self, arg: islpy._isl.UnionPwAff, /) -> bool
Upcast from
Aff
toUnionPwAff
- 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.
- project_domain_on_params¶
Overloaded function.
project_domain_on_params(self) -> object
project_domain_on_params(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
project_domain_on_params(self) -> object
- pullback_aff(self, aff2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- pullback_multi_aff¶
Overloaded function.
pullback_multi_aff(self, ma: islpy._isl.MultiAff) -> object
pullback_multi_aff(self, ma)
Warning
This function is not part of the officially public isl API. Use at your own risk.
pullback_multi_aff(self, arg: islpy._isl.MultiAff, /) -> object
- pullback_union_pw_multi_aff¶
Upcast from
Aff
toUnionPwAff
- read_from_str = <nanobind.nb_func object>¶
- scale_down_val¶
Overloaded function.
scale_down_val(self, v: object) -> object
scale_down_val(self, v)
Warning
This function is not part of the officially public isl API. Use at your own risk.
scale_down_val(self, arg: object, /) -> object
scale_down_val(self, arg: object, /) -> object
Upcast from
Aff
toUnionPwAff
- scale_val¶
Overloaded function.
scale_val(self, v: object) -> object
scale_val(self, v)
Warning
This function is not part of the officially public isl API. Use at your own risk.
scale_val(self, arg: object, /) -> object
scale_val(self, arg: object, /) -> object
Upcast from
Aff
toUnionPwAff
- set_coefficient_val(self, type, pos, v)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- set_coefficients_by_name(iterable, name_to_dim=None)¶
Set the coefficients and the constant.
- Parameters:
iterable – a
dict
or iterable oftuple
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)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- set_dim_id¶
Overloaded function.
set_dim_id(self, type: islpy._isl.dim_type, pos: int, id: islpy._isl.Id) -> object
set_dim_id(self, type, pos, id)
Warning
This function is not part of the officially public isl API. Use at your own risk.
set_dim_id(self, arg0: islpy._isl.dim_type, arg1: int, arg2: islpy._isl.Id, /) -> object
- set_dim_name¶
Overloaded function.
set_dim_name(self, type: islpy._isl.dim_type, pos: int, s: str) -> object
set_dim_name(self, type, pos, s)
Warning
This function is not part of the officially public isl API. Use at your own risk.
set_dim_name(self, arg0: islpy._isl.dim_type, arg1: int, arg2: str, /) -> object
Upcast from
Aff
toUnionPwAff
- set_tuple_id¶
Overloaded function.
set_tuple_id(self, type: islpy._isl.dim_type, id: islpy._isl.Id) -> object
set_tuple_id(self, type, id)
Warning
This function is not part of the officially public isl API. Use at your own risk.
set_tuple_id(self, arg0: islpy._isl.dim_type, arg1: islpy._isl.Id, /) -> object
- property space¶
get_space(self) -> object get_space(self) -> object get_space(self) -> object
Overloaded function.
get_space(self) -> object
get_space(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_space(self) -> object
get_space(self) -> object
Upcast from
Aff
toUnionPwAff
- sub¶
Overloaded function.
sub(self, aff2: islpy._isl.Aff) -> object
sub(self, aff2)
sub(self, arg: islpy._isl.PwAff, /) -> object
sub(self, arg: islpy._isl.UnionPwAff, /) -> object
Upcast from
Aff
toUnionPwAff
- subtract_domain_space¶
Upcast from
Aff
toUnionPwAff
- subtract_domain_union_set¶
Upcast from
Aff
toUnionPwAff
- to_list¶
Overloaded function.
to_list(self) -> object
to_list(self)
to_list(self) -> object
to_list(self) -> object
Upcast from
Aff
toUnionPwAff
- to_str¶
Overloaded function.
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.
to_str(self) -> object
to_str(self) -> object
Upcast from
Aff
toUnionPwAff
- unbind_params_insert_domain(self, domain)¶
- 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)¶
-
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_union_set¶
Upcast from
Aff
toUnionPwAff
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.
add(self, pwaff2: islpy._isl.PwAff) -> object
add(self, pwaff2)
add(self, arg: islpy._isl.UnionPwAff, /) -> object
Upcast from
PwAff
toUnionPwAff
- add_constant_val(self, v)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- add_dims(self, type, n)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- add_pw_aff¶
Upcast from
PwAff
toUnionPwAff
- align_params¶
Overloaded function.
align_params(self, model: islpy._isl.Space) -> object
align_params(self, model)
Warning
This function is not part of the officially public isl API. Use at your own risk.
align_params(self, arg: islpy._isl.Space, /) -> object
Upcast from
PwAff
toUnionPwAff
- alloc = <nanobind.nb_func object>¶
- bind_domain_wrapped_domain(self, tuple)¶
- bind_id¶
Overloaded function.
bind_id(self, id: islpy._isl.Id) -> object
bind_id(self, id)
Warning
This function is not part of the officially public isl API. Use at your own risk.
bind_id(self, arg: islpy._isl.Id, /) -> object
Upcast from
PwAff
toUnionPwAff
- coalesce¶
Overloaded function.
coalesce(self) -> object
coalesce(self)
coalesce(self) -> object
Upcast from
PwAff
toUnionPwAff
- cond(self, pwaff_true, pwaff_false)¶
- copy¶
Overloaded function.
copy(self) -> object
copy(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
copy(self) -> object
Upcast from
PwAff
toUnionPwAff
- dim¶
Overloaded function.
dim(self, type: islpy._isl.dim_type) -> int
dim(self, type)
Warning
This function is not part of the officially public isl API. Use at your own risk.
dim(self, arg: islpy._isl.dim_type, /) -> int
Upcast from
PwAff
toUnionPwAff
- domain¶
Overloaded function.
domain(self) -> object
domain(self)
domain(self) -> object
Upcast from
PwAff
toUnionPwAff
- drop_dims¶
Overloaded function.
drop_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object
drop_dims(self, type, first, n)
Warning
This function is not part of the officially public isl API. Use at your own risk.
drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object
Upcast from
PwAff
toUnionPwAff
- drop_unused_params¶
Overloaded function.
drop_unused_params(self) -> object
drop_unused_params(self)
drop_unused_params(self) -> object
Upcast from
PwAff
toUnionPwAff
- dump¶
Overloaded function.
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.
dump(self) -> None
Upcast from
PwAff
toUnionPwAff
- empty = <nanobind.nb_func object>¶
- eq_map(self, pa2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- 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
toUnionPwAff
- extract_pw_aff¶
Upcast from
PwAff
toUnionPwAff
- find_dim_by_name¶
Overloaded function.
find_dim_by_name(self, type: islpy._isl.dim_type, name: str) -> int
find_dim_by_name(self, type, name)
Warning
This function is not part of the officially public isl API. Use at your own risk.
find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int
Upcast from
PwAff
toUnionPwAff
- floor¶
Overloaded function.
floor(self) -> object
floor(self)
floor(self) -> object
Upcast from
PwAff
toUnionPwAff
- 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
toUnionPwAff
- from_aff = <nanobind.nb_func object>¶
- from_range(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- ge_map(self, pa2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_ctx¶
Overloaded function.
get_ctx(self) -> object
get_ctx(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_ctx(self) -> object
Upcast from
PwAff
toUnionPwAff
- get_dim_id(self, type, pos)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_dim_name(self, type, pos)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_domain_space(self)¶
-
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¶
Upcast from
PwAff
toUnionPwAff
- get_space¶
Overloaded function.
get_space(self) -> object
get_space(self)
get_space(self) -> object
Upcast from
PwAff
toUnionPwAff
- get_tuple_id(self, type)¶
-
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
.
- gist¶
Overloaded function.
gist(self, context: islpy._isl.Set) -> object
gist(self, context)
gist(self, arg: islpy._isl.UnionSet, /) -> object
Upcast from
PwAff
toUnionPwAff
- gist_params¶
Overloaded function.
gist_params(self, context: islpy._isl.Set) -> object
gist_params(self, context)
gist_params(self, arg: islpy._isl.Set, /) -> object
Upcast from
PwAff
toUnionPwAff
- gt_map(self, pa2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- has_dim_id(self, type, pos)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- has_tuple_id(self, type)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- insert_dims(self, type, first, n)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- intersect_domain¶
Overloaded function.
intersect_domain(self, set: islpy._isl.Set) -> object
intersect_domain(self, set)
intersect_domain(self, arg: islpy._isl.UnionSet, /) -> object
Upcast from
PwAff
toUnionPwAff
- intersect_domain_space¶
Upcast from
PwAff
toUnionPwAff
- intersect_domain_union_set¶
Upcast from
PwAff
toUnionPwAff
- intersect_domain_wrapped_domain¶
Overloaded function.
intersect_domain_wrapped_domain(self, set: islpy._isl.Set) -> object
intersect_domain_wrapped_domain(self, set)
Warning
This function is not part of the officially public isl API. Use at your own risk.
intersect_domain_wrapped_domain(self, arg: islpy._isl.UnionSet, /) -> object
Upcast from
PwAff
toUnionPwAff
- intersect_domain_wrapped_range¶
Overloaded function.
intersect_domain_wrapped_range(self, set: islpy._isl.Set) -> object
intersect_domain_wrapped_range(self, set)
Warning
This function is not part of the officially public isl API. Use at your own risk.
intersect_domain_wrapped_range(self, arg: islpy._isl.UnionSet, /) -> object
Upcast from
PwAff
toUnionPwAff
- intersect_params¶
Overloaded function.
intersect_params(self, set: islpy._isl.Set) -> object
intersect_params(self, set)
intersect_params(self, arg: islpy._isl.Set, /) -> object
Upcast from
PwAff
toUnionPwAff
- involves_dims(self, type, first, n)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- involves_nan¶
Overloaded function.
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.
involves_nan(self) -> bool
Upcast from
PwAff
toUnionPwAff
- involves_param_id(self, id)¶
-
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)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- le_map(self, pa2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- lt_map(self, pa2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- max_val¶
Overloaded function.
max_val(self) -> object
max_val(self)
max_val(self) -> object
Upcast from
PwAff
toUnionPwAff
- min_val¶
Overloaded function.
min_val(self) -> object
min_val(self)
min_val(self) -> object
Upcast from
PwAff
toUnionPwAff
- mod_val¶
Overloaded function.
mod_val(self, mod: object) -> object
mod_val(self, mod)
Warning
This function is not part of the officially public isl API. Use at your own risk.
mod_val(self, arg: object, /) -> object
Upcast from
PwAff
toUnionPwAff
- move_dims(self, dst_type, dst_pos, src_type, src_pos, n)¶
- Parameters:
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- 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
toUnionPwAff
- nan_on_domain = <nanobind.nb_func object>¶
- nan_on_domain_space = <nanobind.nb_func object>¶
- neg¶
Overloaded function.
neg(self) -> object
neg(self)
neg(self) -> object
Upcast from
PwAff
toUnionPwAff
- non_zero_set(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- nonneg_set(self)¶
-
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_cmp(self, pa2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- plain_is_equal¶
Overloaded function.
plain_is_equal(self, pwaff2: islpy._isl.PwAff) -> bool
plain_is_equal(self, pwaff2)
plain_is_equal(self, arg: islpy._isl.UnionPwAff, /) -> bool
Upcast from
PwAff
toUnionPwAff
- pos_set(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- project_domain_on_params(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- pullback_multi_aff(self, ma)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- pullback_multi_pw_aff(self, mpa)¶
- Parameters:
self –
PwAff
mpa –
MultiPwAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- pullback_pw_multi_aff(self, pma)¶
- Parameters:
self –
PwAff
pma –
PwMultiAff
- Returns:
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
toUnionPwAff
- read_from_str = <nanobind.nb_func object>¶
- reset_tuple_id(self, type)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- reset_user¶
Overloaded function.
reset_user(self) -> object
reset_user(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
reset_user(self) -> object
Upcast from
PwAff
toUnionPwAff
- scale_down_val¶
Overloaded function.
scale_down_val(self, f: object) -> object
scale_down_val(self, f)
Warning
This function is not part of the officially public isl API. Use at your own risk.
scale_down_val(self, arg: object, /) -> object
Upcast from
PwAff
toUnionPwAff
- scale_val¶
Overloaded function.
scale_val(self, v: object) -> object
scale_val(self, v)
Warning
This function is not part of the officially public isl API. Use at your own risk.
scale_val(self, arg: object, /) -> object
Upcast from
PwAff
toUnionPwAff
- set_dim_id(self, type, pos, id)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- set_dim_name¶
Upcast from
PwAff
toUnionPwAff
- set_tuple_id(self, type, id)¶
-
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.
get_space(self) -> object
get_space(self)
get_space(self) -> object
Upcast from
PwAff
toUnionPwAff
- sub¶
Overloaded function.
sub(self, pwaff2: islpy._isl.PwAff) -> object
sub(self, pwaff2)
sub(self, arg: islpy._isl.UnionPwAff, /) -> object
Upcast from
PwAff
toUnionPwAff
- subtract_domain¶
Overloaded function.
subtract_domain(self, set: islpy._isl.Set) -> object
subtract_domain(self, set)
subtract_domain(self, arg: islpy._isl.UnionSet, /) -> object
Upcast from
PwAff
toUnionPwAff
- subtract_domain_space¶
Upcast from
PwAff
toUnionPwAff
- subtract_domain_union_set¶
Upcast from
PwAff
toUnionPwAff
- to_list¶
Overloaded function.
to_list(self) -> object
to_list(self)
to_list(self) -> object
Upcast from
PwAff
toUnionPwAff
- to_str¶
Overloaded function.
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.
to_str(self) -> object
Upcast from
PwAff
toUnionPwAff
- union_add¶
Overloaded function.
union_add(self, pwaff2: islpy._isl.PwAff) -> object
union_add(self, pwaff2)
union_add(self, arg: islpy._isl.UnionPwAff, /) -> object
Upcast from
PwAff
toUnionPwAff
- union_max(self, pwaff2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- union_min(self, pwaff2)¶
-
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)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- zero_union_set¶
Upcast from
PwAff
toUnionPwAff
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:
self –
UnionPwAff
upa2 –
UnionPwAff
- Returns:
- add_pw_aff(self, pa)¶
- Parameters:
self –
UnionPwAff
pa –
PwAff
- Returns:
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:
self –
UnionPwAff
model –
Space
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- bind_id(self, id)¶
- Parameters:
self –
UnionPwAff
id –
Id
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- coalesce(self)¶
- Parameters:
self –
UnionPwAff
- Returns:
- copy(self)¶
- Parameters:
self –
UnionPwAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- dim(self, type)¶
- Parameters:
self –
UnionPwAff
type –
dim_type
- 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:
- drop_dims(self, type, first, n)¶
- Parameters:
self –
UnionPwAff
type –
dim_type
first –
unsigned
n –
unsigned
- Returns:
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:
- 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:
self –
UnionPwAff
space –
Space
- Returns:
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:
self –
UnionPwAff
type –
dim_type
name – string
- 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:
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:
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:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_space(self)¶
- Parameters:
self –
UnionPwAff
- Returns:
- 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
.
- gist(self, context)¶
- Parameters:
self –
UnionPwAff
context –
UnionSet
- Returns:
- gist_params(self, context)¶
- Parameters:
self –
UnionPwAff
context –
Set
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- intersect_domain(self, uset)¶
- Parameters:
self –
UnionPwAff
uset –
UnionSet
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- intersect_domain_space(self, space)¶
- Parameters:
self –
UnionPwAff
space –
Space
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- intersect_domain_union_set(self, uset)¶
- Parameters:
self –
UnionPwAff
uset –
UnionSet
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- intersect_domain_wrapped_domain(self, uset)¶
- Parameters:
self –
UnionPwAff
uset –
UnionSet
- Returns:
- intersect_domain_wrapped_range(self, uset)¶
- Parameters:
self –
UnionPwAff
uset –
UnionSet
- Returns:
- intersect_params(self, set)¶
- Parameters:
self –
UnionPwAff
set –
Set
- Returns:
- 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:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- min_val(self)¶
- Parameters:
self –
UnionPwAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- mod_val(self, f)¶
- Parameters:
self –
UnionPwAff
f –
Val
- Returns:
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:
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:
self –
UnionPwAff
upa2 –
UnionPwAff
- Returns:
bool
- pullback_union_pw_multi_aff(self, upma)¶
- Parameters:
self –
UnionPwAff
upma –
UnionPwMultiAff
- Returns:
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:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- scale_down_val(self, v)¶
- Parameters:
self –
UnionPwAff
v –
Val
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- scale_val(self, v)¶
- Parameters:
self –
UnionPwAff
v –
Val
- Returns:
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:
self –
UnionPwAff
type –
dim_type
pos –
unsigned
s – string
- Returns:
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:
- sub(self, upa2)¶
- Parameters:
self –
UnionPwAff
upa2 –
UnionPwAff
- Returns:
- subtract_domain(self, uset)¶
- Parameters:
self –
UnionPwAff
uset –
UnionSet
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- subtract_domain_space(self, space)¶
- Parameters:
self –
UnionPwAff
space –
Space
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- subtract_domain_union_set(self, uset)¶
- Parameters:
self –
UnionPwAff
uset –
UnionSet
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- to_list(self)¶
- Parameters:
self –
UnionPwAff
- Returns:
- 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:
self –
UnionPwAff
upa2 –
UnionPwAff
- Returns:
- val_on_domain = <nanobind.nb_func object>¶
- zero_union_set(self)¶
- Parameters:
self –
UnionPwAff
- Returns:
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:
self –
MultiUnionPwAff
multi2 –
MultiUnionPwAff
- Returns:
- align_params(self, model)¶
- Parameters:
self –
MultiUnionPwAff
model –
Space
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- apply_aff(self, aff)¶
- Parameters:
self –
MultiUnionPwAff
aff –
Aff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- apply_multi_aff(self, ma)¶
- Parameters:
self –
MultiUnionPwAff
ma –
MultiAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- apply_pw_aff(self, pa)¶
- Parameters:
self –
MultiUnionPwAff
pa –
PwAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- apply_pw_multi_aff(self, pma)¶
- Parameters:
self –
MultiUnionPwAff
pma –
PwMultiAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- bind(self, tuple)¶
- Parameters:
self –
MultiUnionPwAff
tuple –
MultiId
- Returns:
- coalesce(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
- copy(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- dim(self, type)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
- 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:
- drop_dims(self, type, first, n)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
first –
unsigned
n –
unsigned
- Returns:
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:
self –
MultiUnionPwAff
space –
Space
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- factor_range(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
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:
self –
MultiUnionPwAff
type –
dim_type
id –
Id
- 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:
self –
MultiUnionPwAff
type –
dim_type
name – string
- 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:
self –
MultiUnionPwAff
multi2 –
MultiUnionPwAff
- Returns:
- flatten_range(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- floor(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
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:
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:
self –
MultiUnionPwAff
pos –
int
- Returns:
- get_ctx(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_dim_id(self, type, pos)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
pos –
unsigned
- Returns:
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:
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:
- get_range_tuple_id(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
- get_space(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
- get_tuple_id(self, type)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_tuple_name(self, type)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
- 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:
self –
MultiUnionPwAff
pos –
int
- Returns:
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
.
- gist(self, context)¶
- Parameters:
self –
MultiUnionPwAff
context –
UnionSet
- Returns:
- gist_params(self, context)¶
- Parameters:
self –
MultiUnionPwAff
context –
Set
- Returns:
- has_range_tuple_id(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
bool
- has_tuple_id(self, type)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
- Returns:
bool
Warning
This function is not part of the officially public isl API. Use at your own risk.
- intersect_domain(self, uset)¶
- Parameters:
self –
MultiUnionPwAff
uset –
UnionSet
- Returns:
- intersect_params(self, params)¶
- Parameters:
self –
MultiUnionPwAff
params –
Set
- Returns:
- intersect_range(self, set)¶
- Parameters:
self –
MultiUnionPwAff
set –
Set
- Returns:
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:
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:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- mod_multi_val(self, mv)¶
- Parameters:
self –
MultiUnionPwAff
mv –
MultiVal
- Returns:
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:
- plain_is_equal(self, multi2)¶
- Parameters:
self –
MultiUnionPwAff
multi2 –
MultiUnionPwAff
- Returns:
bool
- pullback_union_pw_multi_aff(self, upma)¶
- Parameters:
self –
MultiUnionPwAff
upma –
UnionPwMultiAff
- Returns:
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:
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:
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:
self –
MultiUnionPwAff
multi2 –
MultiUnionPwAff
- Returns:
- range_splice(self, pos, multi2)¶
- Parameters:
self –
MultiUnionPwAff
pos –
unsigned
multi2 –
MultiUnionPwAff
- Returns:
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:
- reset_tuple_id(self, type)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- reset_user(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- scale_down_multi_val(self, mv)¶
- Parameters:
self –
MultiUnionPwAff
mv –
MultiVal
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- scale_down_val(self, v)¶
- Parameters:
self –
MultiUnionPwAff
v –
Val
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- scale_multi_val(self, mv)¶
- Parameters:
self –
MultiUnionPwAff
mv –
MultiVal
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- scale_val(self, v)¶
- Parameters:
self –
MultiUnionPwAff
v –
Val
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- set_at(self, pos, el)¶
- Parameters:
self –
MultiUnionPwAff
pos –
int
el –
UnionPwAff
- Returns:
- set_dim_id(self, type, pos, id)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
pos –
unsigned
id –
Id
- Returns:
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:
self –
MultiUnionPwAff
type –
dim_type
pos –
unsigned
s – string
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- set_range_tuple_id(self, id)¶
- Parameters:
self –
MultiUnionPwAff
id –
Id
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- set_tuple_id(self, type, id)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
id –
Id
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- set_tuple_name(self, type, s)¶
- Parameters:
self –
MultiUnionPwAff
type –
dim_type
s – string
- Returns:
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:
self –
MultiUnionPwAff
pos –
int
el –
UnionPwAff
- Returns:
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:
- sub(self, multi2)¶
- Parameters:
self –
MultiUnionPwAff
multi2 –
MultiUnionPwAff
- Returns:
- 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:
self –
MultiUnionPwAff
mupa2 –
MultiUnionPwAff
- Returns:
- zero = <nanobind.nb_func object>¶
- zero_union_set(self)¶
- Parameters:
self –
MultiUnionPwAff
- Returns:
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).
- __ne__(other)¶
Return self!=value.
- add¶
Overloaded function.
add(self, multi2: islpy._isl.MultiAff) -> object
add(self, multi2)
add(self, arg: islpy._isl.PwMultiAff, /) -> object
Upcast from
MultiAff
toPwMultiAff
add(self, arg: islpy._isl.UnionPwMultiAff, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- add_constant_multi_val¶
Overloaded function.
add_constant_multi_val(self, mv: islpy._isl.MultiVal) -> object
add_constant_multi_val(self, mv)
Warning
This function is not part of the officially public isl API. Use at your own risk.
add_constant_multi_val(self, arg: islpy._isl.MultiVal, /) -> object
Upcast from
MultiAff
toPwMultiAff
- add_constant_val¶
Overloaded function.
add_constant_val(self, v: object) -> object
add_constant_val(self, v)
Warning
This function is not part of the officially public isl API. Use at your own risk.
add_constant_val(self, arg: object, /) -> object
Upcast from
MultiAff
toPwMultiAff
- add_dims(self, type, n)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- add_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- align_params¶
Overloaded function.
align_params(self, model: islpy._isl.Space) -> object
align_params(self, model)
Warning
This function is not part of the officially public isl API. Use at your own risk.
align_params(self, arg: islpy._isl.Space, /) -> object
Upcast from
MultiAff
toPwMultiAff
align_params(self, arg: islpy._isl.Space, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- apply_union_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- as_map¶
Overloaded function.
as_map(self) -> object
as_map(self)
as_map(self) -> object
Upcast from
MultiAff
toPwMultiAff
- as_multi_aff¶
Upcast from
MultiAff
toPwMultiAff
- as_multi_union_pw_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- as_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- as_set¶
Overloaded function.
as_set(self) -> object
as_set(self)
as_set(self) -> object
Upcast from
MultiAff
toPwMultiAff
- as_union_map¶
Upcast from
MultiAff
toUnionPwMultiAff
- bind_domain¶
Overloaded function.
bind_domain(self, tuple: islpy._isl.MultiId) -> object
bind_domain(self, tuple)
bind_domain(self, arg: islpy._isl.MultiId, /) -> object
Upcast from
MultiAff
toPwMultiAff
- bind_domain_wrapped_domain¶
Overloaded function.
bind_domain_wrapped_domain(self, tuple: islpy._isl.MultiId) -> object
bind_domain_wrapped_domain(self, tuple)
bind_domain_wrapped_domain(self, arg: islpy._isl.MultiId, /) -> object
Upcast from
MultiAff
toPwMultiAff
- coalesce¶
Upcast from
MultiAff
toPwMultiAff
- copy¶
Overloaded function.
copy(self) -> object
copy(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
copy(self) -> object
Upcast from
MultiAff
toPwMultiAff
copy(self) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- dim¶
Overloaded function.
dim(self, type: islpy._isl.dim_type) -> int
dim(self, type)
Warning
This function is not part of the officially public isl API. Use at your own risk.
dim(self, arg: islpy._isl.dim_type, /) -> int
Upcast from
MultiAff
toPwMultiAff
dim(self, arg: islpy._isl.dim_type, /) -> int
Upcast from
MultiAff
toUnionPwMultiAff
- domain¶
Upcast from
MultiAff
toPwMultiAff
- domain_map = <nanobind.nb_func object>¶
- domain_reverse¶
Overloaded function.
domain_reverse(self) -> object
domain_reverse(self)
domain_reverse(self) -> object
Upcast from
MultiAff
toPwMultiAff
- drop_dims¶
Overloaded function.
drop_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object
drop_dims(self, type, first, n)
Warning
This function is not part of the officially public isl API. Use at your own risk.
drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object
Upcast from
MultiAff
toPwMultiAff
drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- drop_unused_params¶
Upcast from
MultiAff
toPwMultiAff
- dump¶
Overloaded function.
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.
dump(self) -> None
Upcast from
MultiAff
toPwMultiAff
dump(self) -> None
Upcast from
MultiAff
toUnionPwMultiAff
- every_piece¶
Upcast from
MultiAff
toPwMultiAff
- every_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- extract_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- factor_range(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- find_dim_by_id(self, type, id)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- find_dim_by_name¶
Overloaded function.
find_dim_by_name(self, type: islpy._isl.dim_type, name: str) -> int
find_dim_by_name(self, type, name)
Warning
This function is not part of the officially public isl API. Use at your own risk.
find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int
Upcast from
MultiAff
toPwMultiAff
find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int
Upcast from
MultiAff
toUnionPwMultiAff
- flat_range_product¶
Overloaded function.
flat_range_product(self, multi2: islpy._isl.MultiAff) -> object
flat_range_product(self, multi2)
flat_range_product(self, arg: islpy._isl.PwMultiAff, /) -> object
Upcast from
MultiAff
toPwMultiAff
flat_range_product(self, arg: islpy._isl.UnionPwMultiAff, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- flatten_domain(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- flatten_range(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- foreach_piece¶
Upcast from
MultiAff
toPwMultiAff
- foreach_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- from_aff = <nanobind.nb_func object>¶
- from_aff_list = <nanobind.nb_func object>¶
- from_range(self)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_aff(self, pos)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_at¶
Overloaded function.
get_at(self, pos: int) -> object
get_at(self, pos)
get_at(self, arg: int, /) -> object
Upcast from
MultiAff
toPwMultiAff
- get_ctx¶
Overloaded function.
get_ctx(self) -> object
get_ctx(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_ctx(self) -> object
Upcast from
MultiAff
toPwMultiAff
get_ctx(self) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- get_dim_id¶
Overloaded function.
get_dim_id(self, type: islpy._isl.dim_type, pos: int) -> object
get_dim_id(self, type, pos)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_dim_id(self, arg0: islpy._isl.dim_type, arg1: int, /) -> object
Upcast from
MultiAff
toPwMultiAff
- get_dim_name¶
Upcast from
MultiAff
toPwMultiAff
- get_domain_space¶
Overloaded function.
get_domain_space(self) -> object
get_domain_space(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_domain_space(self) -> object
Upcast from
MultiAff
toPwMultiAff
- 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¶
Upcast from
MultiAff
toPwMultiAff
- get_pw_multi_aff_list¶
Upcast from
MultiAff
toUnionPwMultiAff
- get_range_tuple_id¶
Overloaded function.
get_range_tuple_id(self) -> object
get_range_tuple_id(self)
get_range_tuple_id(self) -> object
Upcast from
MultiAff
toPwMultiAff
- get_space¶
Overloaded function.
get_space(self) -> object
get_space(self)
get_space(self) -> object
Upcast from
MultiAff
toPwMultiAff
get_space(self) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- get_tuple_id¶
Overloaded function.
get_tuple_id(self, type: islpy._isl.dim_type) -> object
get_tuple_id(self, type)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_tuple_id(self, arg: islpy._isl.dim_type, /) -> object
Upcast from
MultiAff
toPwMultiAff
- get_tuple_name¶
Overloaded function.
get_tuple_name(self, type: islpy._isl.dim_type) -> object
get_tuple_name(self, type)
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_tuple_name(self, arg: islpy._isl.dim_type, /) -> object
Upcast from
MultiAff
toPwMultiAff
- get_union_pw_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- 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
.
- gist¶
Overloaded function.
gist(self, context: islpy._isl.Set) -> object
gist(self, context)
gist(self, arg: islpy._isl.Set, /) -> object
Upcast from
MultiAff
toPwMultiAff
gist(self, arg: islpy._isl.UnionSet, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- gist_params¶
Overloaded function.
gist_params(self, context: islpy._isl.Set) -> object
gist_params(self, context)
gist_params(self, arg: islpy._isl.Set, /) -> object
Upcast from
MultiAff
toPwMultiAff
gist_params(self, arg: islpy._isl.Set, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- has_range_tuple_id¶
Overloaded function.
has_range_tuple_id(self) -> bool
has_range_tuple_id(self)
- Parameters:
self –
MultiAff
- Returns:
bool
has_range_tuple_id(self) -> bool
Upcast from
MultiAff
toPwMultiAff
- has_tuple_id¶
Overloaded function.
has_tuple_id(self, type: islpy._isl.dim_type) -> bool
has_tuple_id(self, type)
Warning
This function is not part of the officially public isl API. Use at your own risk.
has_tuple_id(self, arg: islpy._isl.dim_type, /) -> bool
Upcast from
MultiAff
toPwMultiAff
- has_tuple_name¶
Upcast from
MultiAff
toPwMultiAff
- identity = <nanobind.nb_func object>¶
- identity_multi_aff(self)¶
-
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)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- insert_domain¶
Overloaded function.
insert_domain(self, domain: islpy._isl.Space) -> object
insert_domain(self, domain)
insert_domain(self, arg: islpy._isl.Space, /) -> object
Upcast from
MultiAff
toPwMultiAff
- intersect_domain¶
Upcast from
MultiAff
toPwMultiAff
- intersect_domain_space¶
Upcast from
MultiAff
toUnionPwMultiAff
- intersect_domain_union_set¶
Upcast from
MultiAff
toUnionPwMultiAff
- intersect_domain_wrapped_domain¶
Upcast from
MultiAff
toPwMultiAff
- intersect_domain_wrapped_range¶
Upcast from
MultiAff
toPwMultiAff
- intersect_params¶
Upcast from
MultiAff
toPwMultiAff
- involves_dims¶
Overloaded function.
involves_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> bool
involves_dims(self, type, first, n)
Warning
This function is not part of the officially public isl API. Use at your own risk.
involves_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> bool
Upcast from
MultiAff
toPwMultiAff
- involves_locals¶
Overloaded function.
involves_locals(self) -> bool
involves_locals(self)
- Parameters:
self –
MultiAff
- Returns:
bool
involves_locals(self) -> bool
Upcast from
MultiAff
toPwMultiAff
involves_locals(self) -> bool
Upcast from
MultiAff
toUnionPwMultiAff
- involves_nan¶
Overloaded function.
involves_nan(self) -> bool
involves_nan(self)
- Parameters:
self –
MultiAff
- Returns:
bool
involves_nan(self) -> bool
Upcast from
MultiAff
toPwMultiAff
involves_nan(self) -> bool
Upcast from
MultiAff
toUnionPwMultiAff
- involves_param_id¶
Upcast from
MultiAff
toPwMultiAff
- is_equal¶
Upcast from
MultiAff
toPwMultiAff
- isa_multi_aff¶
Upcast from
MultiAff
toPwMultiAff
- isa_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- lex_ge_set(self, ma2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- lex_gt_set(self, ma2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- lex_le_set(self, ma2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- lex_lt_set(self, ma2)¶
-
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
toPwMultiAff
- min_multi_val¶
Upcast from
MultiAff
toPwMultiAff
- mod_multi_val(self, mv)¶
-
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:
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
toPwMultiAff
- n_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- neg¶
Overloaded function.
neg(self) -> object
neg(self)
neg(self) -> object
Upcast from
MultiAff
toPwMultiAff
neg(self) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- plain_cmp(self, multi2)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- plain_is_empty¶
Upcast from
MultiAff
toUnionPwMultiAff
- plain_is_equal¶
Overloaded function.
plain_is_equal(self, multi2: islpy._isl.MultiAff) -> bool
plain_is_equal(self, multi2)
plain_is_equal(self, arg: islpy._isl.PwMultiAff, /) -> bool
Upcast from
MultiAff
toPwMultiAff
plain_is_equal(self, arg: islpy._isl.UnionPwMultiAff, /) -> bool
Upcast from
MultiAff
toUnionPwMultiAff
- preimage_domain_wrapped_domain_pw_multi_aff¶
Upcast from
MultiAff
toPwMultiAff
- preimage_domain_wrapped_domain_union_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- product¶
Overloaded function.
product(self, multi2: islpy._isl.MultiAff) -> object
product(self, multi2)
product(self, arg: islpy._isl.PwMultiAff, /) -> object
Upcast from
MultiAff
toPwMultiAff
- project_domain_on_params¶
Overloaded function.
project_domain_on_params(self) -> object
project_domain_on_params(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
project_domain_on_params(self) -> object
Upcast from
MultiAff
toPwMultiAff
- project_out_map = <nanobind.nb_func object>¶
- pullback_multi_aff¶
Overloaded function.
pullback_multi_aff(self, ma2: islpy._isl.MultiAff) -> object
pullback_multi_aff(self, ma2)
Warning
This function is not part of the officially public isl API. Use at your own risk.
pullback_multi_aff(self, arg: islpy._isl.MultiAff, /) -> object
Upcast from
MultiAff
toPwMultiAff
- pullback_pw_multi_aff¶
Upcast from
MultiAff
toPwMultiAff
- pullback_union_pw_multi_aff¶
Upcast from
MultiAff
toUnionPwMultiAff
- range_factor_domain¶
Overloaded function.
range_factor_domain(self) -> object
range_factor_domain(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
range_factor_domain(self) -> object
Upcast from
MultiAff
toPwMultiAff
range_factor_domain(self) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- range_factor_range¶
Overloaded function.
range_factor_range(self) -> object
range_factor_range(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
range_factor_range(self) -> object
Upcast from
MultiAff
toPwMultiAff
range_factor_range(self) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- 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.
range_product(self, multi2: islpy._isl.MultiAff) -> object
range_product(self, multi2)
range_product(self, arg: islpy._isl.PwMultiAff, /) -> object
Upcast from
MultiAff
toPwMultiAff
range_product(self, arg: islpy._isl.UnionPwMultiAff, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- range_splice(self, pos, multi2)¶
-
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_tuple_id¶
Overloaded function.
reset_tuple_id(self, type: islpy._isl.dim_type) -> object
reset_tuple_id(self, type)
Warning
This function is not part of the officially public isl API. Use at your own risk.
reset_tuple_id(self, arg: islpy._isl.dim_type, /) -> object
Upcast from
MultiAff
toPwMultiAff
- reset_user¶
Overloaded function.
reset_user(self) -> object
reset_user(self)
Warning
This function is not part of the officially public isl API. Use at your own risk.
reset_user(self) -> object
Upcast from
MultiAff
toPwMultiAff
reset_user(self) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- scale_down_multi_val¶
Overloaded function.
scale_down_multi_val(self, mv: islpy._isl.MultiVal) -> object
scale_down_multi_val(self, mv)
Warning
This function is not part of the officially public isl API. Use at your own risk.
scale_down_multi_val(self, arg: islpy._isl.MultiVal, /) -> object
Upcast from
MultiAff
toPwMultiAff
- scale_down_val¶
Overloaded function.
scale_down_val(self, v: object) -> object
scale_down_val(self, v)
Warning
This function is not part of the officially public isl API. Use at your own risk.
scale_down_val(self, arg: object, /) -> object
Upcast from
MultiAff
toPwMultiAff
scale_down_val(self, arg: object, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- scale_multi_val¶
Overloaded function.
scale_multi_val(self, mv: islpy._isl.MultiVal) -> object
scale_multi_val(self, mv)
Warning
This function is not part of the officially public isl API. Use at your own risk.
scale_multi_val(self, arg: islpy._isl.MultiVal, /) -> object
Upcast from
MultiAff
toPwMultiAff
scale_multi_val(self, arg: islpy._isl.MultiVal, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- scale_val¶
Overloaded function.
scale_val(self, v: object) -> object
scale_val(self, v)
Warning
This function is not part of the officially public isl API. Use at your own risk.
scale_val(self, arg: object, /) -> object
Upcast from
MultiAff
toPwMultiAff
scale_val(self, arg: object, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- set_aff(self, pos, el)¶
-
Warning
This function is not part of the officially public isl API. Use at your own risk.
- set_dim_id¶
Overloaded function.
set_dim_id(self, type: islpy._isl.dim_type, pos: int, id: islpy._isl.Id) -> object
set_dim_id(self, type, pos, id)
Warning
This function is not part of the officially public isl API. Use at your own risk.
set_dim_id(self, arg0: islpy._isl.dim_type, arg1: int, arg2: islpy._isl.Id, /) -> object
Upcast from
MultiAff
toPwMultiAff
- set_dim_name¶
Overloaded function.
set_dim_name(self, type: islpy._isl.dim_type, pos: int, s: str) -> object
set_dim_name(self, type, pos, s)
Warning
This function is not part of the officially public isl API. Use at your own risk.
set_dim_name(self, arg0: islpy._isl.dim_type, arg1: int, arg2: str, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- set_pw_aff¶
Upcast from
MultiAff
toPwMultiAff
- set_range_tuple_id¶
Overloaded function.
set_range_tuple_id(self, id: islpy._isl.Id) -> object
set_range_tuple_id(self, id)
Warning
This function is not part of the officially public isl API. Use at your own risk.
set_range_tuple_id(self, arg: islpy._isl.Id, /) -> object
Upcast from
MultiAff
toPwMultiAff
- set_tuple_id¶
Overloaded function.
set_tuple_id(self, type: islpy._isl.dim_type, id: islpy._isl.Id) -> object
set_tuple_id(self, type, id)
Warning
This function is not part of the officially public isl API. Use at your own risk.
set_tuple_id(self, arg0: islpy._isl.dim_type, arg1: islpy._isl.Id, /) -> object
Upcast from
MultiAff
toPwMultiAff
- set_tuple_name(self, type, s)¶
-
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.
get_space(self) -> object
get_space(self)
get_space(self) -> object
Upcast from
MultiAff
toPwMultiAff
get_space(self) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- splice(self, in_pos, out_pos, multi2)¶
- Parameters:
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- sub¶
Overloaded function.
sub(self, multi2: islpy._isl.MultiAff) -> object
sub(self, multi2)
sub(self, arg: islpy._isl.PwMultiAff, /) -> object
Upcast from
MultiAff
toPwMultiAff
sub(self, arg: islpy._isl.UnionPwMultiAff, /) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- subtract_domain¶
Upcast from
MultiAff
toPwMultiAff
- subtract_domain_space¶
Upcast from
MultiAff
toUnionPwMultiAff
- subtract_domain_union_set¶
Upcast from
MultiAff
toUnionPwMultiAff
- to_list¶
Upcast from
MultiAff
toPwMultiAff
- to_multi_pw_aff¶
Overloaded function.
to_multi_pw_aff(self) -> object
to_multi_pw_aff(self)
- Parameters:
self –
MultiAff
- Returns:
to_multi_pw_aff(self) -> object
Upcast from
MultiAff
toPwMultiAff
- to_str¶
Overloaded function.
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.
to_str(self) -> object
Upcast from
MultiAff
toPwMultiAff
to_str(self) -> object
Upcast from
MultiAff
toUnionPwMultiAff
- to_union_pw_multi_aff¶
Upcast from
MultiAff
toPwMultiAff
- unbind_params_insert_domain(self, domain)¶
- union_add¶
Upcast from
MultiAff
toPwMultiAff
- union_lexmax¶
Upcast from
MultiAff
toPwMultiAff
- union_lexmin¶
Upcast from
MultiAff
toPwMultiAff
- 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.
add(self, pma2: islpy._isl.PwMultiAff) -> object
add(self, pma2)
- Parameters:
self –
PwMultiAff
pma2 –
PwMultiAff
- Returns:
add(self, arg: islpy._isl.UnionPwMultiAff, /) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- add_constant_multi_val(self, mv)¶
- Parameters:
self –
PwMultiAff
mv –
MultiVal
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- add_constant_val(self, v)¶
- Parameters:
self –
PwMultiAff
v –
Val
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- add_pw_multi_aff¶
Upcast from
PwMultiAff
toUnionPwMultiAff
- align_params¶
Overloaded function.
align_params(self, model: islpy._isl.Space) -> object
align_params(self, model)
- Parameters:
self –
PwMultiAff
model –
Space
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
align_params(self, arg: islpy._isl.Space, /) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- alloc = <nanobind.nb_func object>¶
- apply_union_pw_multi_aff¶
Upcast from
PwMultiAff
toUnionPwMultiAff
- as_map(self)¶
- Parameters:
self –
PwMultiAff
- Returns:
- as_multi_aff(self)¶
- Parameters:
self –
PwMultiAff
- Returns:
- as_multi_union_pw_aff¶
Upcast from
PwMultiAff
toUnionPwMultiAff
- as_pw_multi_aff¶
Upcast from
PwMultiAff
toUnionPwMultiAff
- as_set(self)¶
- Parameters:
self –
PwMultiAff
- Returns:
- as_union_map¶
Upcast from
PwMultiAff
toUnionPwMultiAff
- bind_domain(self, tuple)¶
- Parameters:
self –
PwMultiAff
tuple –
MultiId
- Returns:
- bind_domain_wrapped_domain(self, tuple)¶
- Parameters:
self –
PwMultiAff
tuple –
MultiId
- Returns:
- coalesce¶
Overloaded function.
coalesce(self) -> object
coalesce(self)
- Parameters:
self –
PwMultiAff
- Returns:
coalesce(self) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- copy¶
Overloaded function.
copy(self) -> object
copy(self)
- Parameters:
self –
PwMultiAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
copy(self) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- dim¶
Overloaded function.
dim(self, type: islpy._isl.dim_type) -> int
dim(self, type)
- Parameters:
self –
PwMultiAff
type –
dim_type
- Returns:
isl_size
Warning
This function is not part of the officially public isl API. Use at your own risk.
dim(self, arg: islpy._isl.dim_type, /) -> int
Upcast from
PwMultiAff
toUnionPwMultiAff
- domain¶
Overloaded function.
domain(self) -> object
domain(self)
- Parameters:
self –
PwMultiAff
- Returns:
domain(self) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- domain_map = <nanobind.nb_func object>¶
- domain_reverse(self)¶
- Parameters:
self –
PwMultiAff
- Returns:
- drop_dims¶
Overloaded function.
drop_dims(self, type: islpy._isl.dim_type, first: int, n: int) -> object
drop_dims(self, type, first, n)
- Parameters:
self –
PwMultiAff
type –
dim_type
first –
unsigned
n –
unsigned
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
drop_dims(self, arg0: islpy._isl.dim_type, arg1: int, arg2: int, /) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- drop_unused_params¶
Overloaded function.
drop_unused_params(self) -> object
drop_unused_params(self)
- Parameters:
self –
PwMultiAff
- Returns:
drop_unused_params(self) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- dump¶
Overloaded function.
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.
dump(self) -> None
Upcast from
PwMultiAff
toUnionPwMultiAff
- 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
toUnionPwMultiAff
- extract_pw_multi_aff¶
Upcast from
PwMultiAff
toUnionPwMultiAff
- find_dim_by_name¶
Overloaded function.
find_dim_by_name(self, type: islpy._isl.dim_type, name: str) -> int
find_dim_by_name(self, type, name)
- Parameters:
self –
PwMultiAff
type –
dim_type
name – string
- Returns:
int
Warning
This function is not part of the officially public isl API. Use at your own risk.
find_dim_by_name(self, arg0: islpy._isl.dim_type, arg1: str, /) -> int
Upcast from
PwMultiAff
toUnionPwMultiAff
- fix_si(self, type, pos, value)¶
- Parameters:
self –
PwMultiAff
type –
dim_type
pos –
unsigned
value –
int
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- flat_range_product¶
Overloaded function.
flat_range_product(self, pma2: islpy._isl.PwMultiAff) -> object
flat_range_product(self, pma2)
- Parameters:
self –
PwMultiAff
pma2 –
PwMultiAff
- Returns:
flat_range_product(self, arg: islpy._isl.UnionPwMultiAff, /) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- foreach_piece(self, fn)¶
- Parameters:
self –
PwMultiAff
fn – callback(set, maff)
- Returns:
isl_stat
- foreach_pw_multi_aff¶
Upcast from
PwMultiAff
toUnionPwMultiAff
- 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:
self –
PwMultiAff
pos –
int
- Returns:
- get_ctx¶
Overloaded function.
get_ctx(self) -> object
get_ctx(self)
- Parameters:
self –
PwMultiAff
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
get_ctx(self) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- get_dim_id(self, type, pos)¶
- Parameters:
self –
PwMultiAff
type –
dim_type
pos –
unsigned
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_dim_name(self, type, pos)¶
- Parameters:
self –
PwMultiAff
type –
dim_type
pos –
unsigned
- 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:
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:
self –
PwMultiAff
pos –
int
- Returns:
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
toUnionPwMultiAff
- get_range_tuple_id(self)¶
- Parameters:
self –
PwMultiAff
- Returns:
- get_space¶
Overloaded function.
get_space(self) -> object
get_space(self)
- Parameters:
self –
PwMultiAff
- Returns:
get_space(self) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- get_tuple_id(self, type)¶
- Parameters:
self –
PwMultiAff
type –
dim_type
- Returns:
Warning
This function is not part of the officially public isl API. Use at your own risk.
- get_tuple_name(self, type)¶
- Parameters:
self –
PwMultiAff
type –
dim_type
- 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
toUnionPwMultiAff
- 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
.
- gist¶
Overloaded function.
gist(self, set: islpy._isl.Set) -> object
gist(self, set)
- Parameters:
self –
PwMultiAff
set –
Set
- Returns:
gist(self, arg: islpy._isl.UnionSet, /) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- gist_params¶
Overloaded function.
gist_params(self, set: islpy._isl.Set) -> object
gist_params(self, set)
- Parameters:
self –
PwMultiAff
set –
Set
- Returns:
gist_params(self, arg: islpy._isl.Set, /) -> object
Upcast from
PwMultiAff
toUnionPwMultiAff
- has_range_tuple_id(self)¶
- Parameters:
self –
PwMultiAff
- Returns:
bool
- has_tuple_id(self, type)¶
- Parameters:
self –
PwMultiAff
type –
dim_type
- 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:
self –
PwMultiAff