BinaryPolyArrayΒΆ

class BinaryPolyArrayΒΆ

Bases: PolyArray

Methods

__init__

__init__

copy

copy

decode

decode

diagonal

diagonal

evaluate

evaluate

fill

fill

flatten

flatten

nonzero

nonzero

ravel

ravel

repeat

repeat

reshape

reshape

roll

roll

substitute

substitute

sum

sum

swapaxes

swapaxes

take

take

to_list

to_list

to_numpy

to_numpy

tolist

tolist alias of to_list()

tonumpy

alias of to_numpy()

transpose

transpose

view

view

Attributes

T

T property

flat

flat property

ndim

ndim property

shape

shape property

size

size property

class IteratorΒΆ
__init__(*args, **kwargs)ΒΆ
__iter__(self) IteratorΒΆ

__iter__

Return type:

Iterator

__next__(self) Poly | PolyArray[Dim]ΒΆ

__next__

Return type:

Poly | PolyArray[Dim]

__add__(self, arg: Poly | float | int, /) PolyArray[_Dim]ΒΆ
__add__(self, arg: list | ndarray[], /) PolyArray[Dim]
__add__(self, arg: PolyArray[Dim]) PolyArray[Dim]
__add__(self: PolyArray[Dim0], arg: PolyArray[__Dim]) PolyArray[__Dim]
__add__(self, arg: PolyArray[Dim0]) PolyArray[_Dim]
__add__(self: PolyArray[Dim1], arg: PolyArray[__Dim]) PolyArray[__Dim]
__add__(self, arg: PolyArray[Dim1]) PolyArray[_Dim]
__add__(self: PolyArray[Dim2], arg: PolyArray[__Dim]) PolyArray[__Dim]
__add__(self, arg: PolyArray[Dim2]) PolyArray[_Dim]
__add__(self: PolyArray[Dim3], arg: PolyArray[__Dim]) PolyArray[__Dim]
__add__(self, arg: PolyArray[Dim3]) PolyArray[_Dim]
__add__(self: PolyArray[Dim4], arg: PolyArray[__Dim]) PolyArray[__Dim]
__add__(self, arg: PolyArray[Dim4]) PolyArray[_Dim]

__add__

Overload 1.

Args:
  • arg (amplify.Poly | float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

Overload 3.

Args:
  • arg (amplify.PolyArray[Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 5.

Args:
  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[_Dim]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 7.

Args:
  • arg (amplify.PolyArray[Dim1])

Returns:

amplify.PolyArray[_Dim]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 9.

Args:
  • arg (amplify.PolyArray[Dim2])

Returns:

amplify.PolyArray[_Dim]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 11.

Args:
  • arg (amplify.PolyArray[Dim3])

Returns:

amplify.PolyArray[_Dim]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 13.

Args:
  • arg (amplify.PolyArray[Dim4])

Returns:

amplify.PolyArray[_Dim]:

__and__(self, arg: Poly | bool, /) PolyArray[_Dim]ΒΆ
__and__(self, arg: list | ndarray[dtype=bool], /) PolyArray[Dim]
__and__(self, arg: PolyArray[Dim]) PolyArray[Dim]
__and__(self: PolyArray[Dim0], arg: PolyArray[__Dim]) PolyArray[__Dim]
__and__(self, arg: PolyArray[Dim0]) PolyArray[_Dim]
__and__(self: PolyArray[Dim1], arg: PolyArray[__Dim]) PolyArray[__Dim]
__and__(self, arg: PolyArray[Dim1]) PolyArray[_Dim]
__and__(self: PolyArray[Dim2], arg: PolyArray[__Dim]) PolyArray[__Dim]
__and__(self, arg: PolyArray[Dim2]) PolyArray[_Dim]
__and__(self: PolyArray[Dim3], arg: PolyArray[__Dim]) PolyArray[__Dim]
__and__(self, arg: PolyArray[Dim3]) PolyArray[_Dim]
__and__(self: PolyArray[Dim4], arg: PolyArray[__Dim]) PolyArray[__Dim]
__and__(self, arg: PolyArray[Dim4]) PolyArray[_Dim]

__and__

Overload 1.

Args:
  • arg (amplify.Poly | bool)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

Overload 3.

Args:
  • arg (amplify.PolyArray[Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 5.

Args:
  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[_Dim]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 7.

Args:
  • arg (amplify.PolyArray[Dim1])

Returns:

amplify.PolyArray[_Dim]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 9.

Args:
  • arg (amplify.PolyArray[Dim2])

Returns:

amplify.PolyArray[_Dim]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 11.

Args:
  • arg (amplify.PolyArray[Dim3])

Returns:

amplify.PolyArray[_Dim]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 13.

Args:
  • arg (amplify.PolyArray[Dim4])

Returns:

amplify.PolyArray[_Dim]:

__bool__(self) boolΒΆ

__bool__

Return type:

bool

__class_getitem__()ΒΆ
__copy__(self) PolyArray[_Dim]ΒΆ

__copy__

Return type:

PolyArray[_Dim]

__deepcopy__(self, arg: dict, /) PolyArray[_Dim]ΒΆ

__deepcopy__

Parameters:

arg (dict)

Return type:

PolyArray[_Dim]

__eq__(self, arg: amplify.PolyArray | amplify.Poly | float | int | list | ndarray[], /) numpy.ndarray[dtype=bool]ΒΆ
__eq__(self, arg: object, /) bool

__eq__

Overload 1.

Args:
  • arg (amplify.PolyArray | amplify.Poly | float | int | list | ndarray)

Returns:

numpy.ndarray:

Overload 2.

Args:
  • arg (object)

Returns:

bool:

__float__(self) floatΒΆ

__float__

Return type:

float

__getitem__(self: PolyArray[Dim0], arg: tuple[()]) PolyΒΆ
__getitem__(self: PolyArray[Dim0], arg: types.EllipsisType) PolyArray[Dim0]
__getitem__(self: PolyArray[Dim1], arg: tuple[int] | int) Poly
__getitem__(
self: PolyArray[Dim1],
arg: types.EllipsisType | tuple[()] | slice | tuple[slice],
) PolyArray[Dim1]
__getitem__(self: PolyArray[Dim2], arg: tuple[int, int]) Poly
__getitem__(
self: PolyArray[Dim2],
arg: int | tuple[int] | tuple[slice, int] | tuple[int, slice],
) PolyArray[Dim1]
__getitem__(
self: PolyArray[Dim2],
arg: types.EllipsisType | tuple[()] | slice | tuple[slice] | tuple[slice, slice],
) PolyArray[Dim2]
__getitem__(self: PolyArray[Dim3], arg: tuple[int, int, int]) Poly
__getitem__(
self: PolyArray[Dim3],
arg: tuple[int, int] | tuple[slice, int, int] | tuple[int, slice, int] | tuple[int, int, slice],
) PolyArray[Dim1]
__getitem__(
self: PolyArray[Dim3],
arg: int | tuple[int] | tuple[slice, int] | tuple[int, slice] | tuple[slice, slice, int] | tuple[slice, int, slice] | tuple[int, slice, slice],
) PolyArray[Dim2]
__getitem__(
self: PolyArray[Dim3],
arg: types.EllipsisType | tuple[()] | slice | tuple[slice] | tuple[slice, slice] | tuple[slice, slice, slice],
) PolyArray[Dim3]
__getitem__(self: PolyArray[Dim4], arg: tuple[int, int, int, int]) Poly
__getitem__(
self: PolyArray[Dim4],
arg: tuple[int, int, int] | tuple[slice, int, int, int] | tuple[int, slice, int, int] | tuple[int, int, slice, int] | tuple[int, int, int, slice],
) PolyArray[Dim1]
__getitem__(
self: PolyArray[Dim4],
arg: tuple[int, int] | tuple[slice, int, int] | tuple[int, slice, int] | tuple[int, int, slice] | tuple[slice, slice, int, int] | tuple[slice, int, slice, int] | tuple[slice, int, int, slice] | tuple[int, slice, slice, int] | tuple[int, slice, int, slice] | tuple[int, int, slice, slice],
) PolyArray[Dim2]
__getitem__(
self: PolyArray[Dim4],
arg: int | tuple[int] | tuple[slice, int] | tuple[int, slice] | tuple[slice, slice, int] | tuple[int, slice, slice] | tuple[slice, int, slice] | tuple[slice, slice, slice, int] | tuple[slice, slice, int, slice] | tuple[slice, int, slice, slice] | tuple[int, slice, slice, slice],
) PolyArray[Dim3]
__getitem__(
self: PolyArray[Dim4],
arg: types.EllipsisType | tuple[()] | slice | tuple[slice] | tuple[slice, slice] | tuple[slice, slice, slice] | tuple[slice, slice, slice, slice],
) PolyArray[Dim4]
__getitem__(self: PolyArray[Dim], arg: tuple | slice | types.EllipsisType | int | None) PolyArray[Dim]

__getitem__

Overload 1.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (tuple[()])

Returns:

amplify.Poly:

Overload 2.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (types.EllipsisType)

Returns:

amplify.PolyArray[Dim0]:

Overload 3.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (tuple[int] | int)

Returns:

amplify.Poly:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (types.EllipsisType | tuple[()] | slice | tuple[slice])

Returns:

amplify.PolyArray[Dim1]:

Overload 5.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (tuple[int, int])

Returns:

amplify.Poly:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (int | tuple[int] | tuple[slice, int] | tuple[int, slice])

Returns:

amplify.PolyArray[Dim1]:

Overload 7.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (types.EllipsisType | tuple[()] | slice | tuple[slice] | tuple[slice, slice])

Returns:

amplify.PolyArray[Dim2]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (tuple[int, int, int])

Returns:

amplify.Poly:

Overload 9.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (tuple[int, int] | tuple[slice, int, int] | tuple[int, slice, int] | tuple[int, int, slice])

Returns:

amplify.PolyArray[Dim1]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (int | tuple[int] | tuple[slice, int] | tuple[int, slice] | tuple[slice, slice, int] | tuple[slice, int, slice] | tuple[int, slice, slice])

Returns:

amplify.PolyArray[Dim2]:

Overload 11.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (types.EllipsisType | tuple[()] | slice | tuple[slice] | tuple[slice, slice] | tuple[slice, slice, slice])

Returns:

amplify.PolyArray[Dim3]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (tuple[int, int, int, int])

Returns:

amplify.Poly:

Overload 13.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (tuple[int, int, int] | tuple[slice, int, int, int] | tuple[int, slice, int, int] | tuple[int, int, slice, int] | tuple[int, int, int, slice])

Returns:

amplify.PolyArray[Dim1]:

Overload 14.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (tuple[int, int] | tuple[slice, int, int] | tuple[int, slice, int] | tuple[int, int, slice] | tuple[slice, slice, int, int] | tuple[slice, int, slice, int] | tuple[slice, int, int, slice] | tuple[int, slice, slice, int] | tuple[int, slice, int, slice] | tuple[int, int, slice, slice])

Returns:

amplify.PolyArray[Dim2]:

Overload 15.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (int | tuple[int] | tuple[slice, int] | tuple[int, slice] | tuple[slice, slice, int] | tuple[int, slice, slice] | tuple[slice, int, slice] | tuple[slice, slice, slice, int] | tuple[slice, slice, int, slice] | tuple[slice, int, slice, slice] | tuple[int, slice, slice, slice])

Returns:

amplify.PolyArray[Dim3]:

Overload 16.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (types.EllipsisType | tuple[()] | slice | tuple[slice] | tuple[slice, slice] | tuple[slice, slice, slice] | tuple[slice, slice, slice, slice])

Returns:

amplify.PolyArray[Dim4]:

Overload 17.

Args:
  • self (amplify.PolyArray[Dim])

  • arg (tuple | slice | types.EllipsisType | int | None)

Returns:

amplify.PolyArray[Dim]:

__iadd__(self, arg: Poly | float | int, /) PolyArray[_Dim]ΒΆ
__iadd__(self, arg: list | ndarray[], /) PolyArray[_Dim]
__iadd__(self: PolyArray[Dim], arg: PolyArray[__Dim]) PolyArray[Dim]
__iadd__(self: PolyArray[Dim0], arg: PolyArray[Dim0]) PolyArray[Dim0]
__iadd__(self: PolyArray[Dim1], arg: PolyArray[Dim0 | Dim1]) PolyArray[Dim1]
__iadd__(self: PolyArray[Dim2], arg: PolyArray[Dim0 | Dim1 | Dim2]) PolyArray[Dim2]
__iadd__(self: PolyArray[Dim3], arg: PolyArray[Dim0 | Dim1 | Dim2 | Dim3]) PolyArray[Dim3]
__iadd__(self: PolyArray[Dim4], arg: PolyArray[Dim0 | Dim1 | Dim2 | Dim3 | Dim4]) PolyArray[Dim4]

__iadd__

Overload 1.

Args:
  • arg (amplify.Poly | float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[_Dim]:

Overload 3.

Args:
  • self (amplify.PolyArray[Dim])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[Dim0]:

Overload 5.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (PolyArray[Dim0 | Dim1])

Returns:

amplify.PolyArray[Dim1]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (PolyArray[Dim0 | Dim1 | Dim2])

Returns:

amplify.PolyArray[Dim2]:

Overload 7.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (PolyArray[Dim0 | Dim1 | Dim2 | Dim3])

Returns:

amplify.PolyArray[Dim3]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (PolyArray[Dim0 | Dim1 | Dim2 | Dim3 | Dim4])

Returns:

amplify.PolyArray[Dim4]:

__iand__(self, arg: Poly | bool, /) PolyArray[_Dim]ΒΆ
__iand__(self, arg: list | ndarray[dtype=bool], /) PolyArray[Dim]
__iand__(self, arg: PolyArray[Dim]) PolyArray[Dim]
__iand__(self: PolyArray[Dim0], arg: PolyArray[__Dim]) PolyArray[__Dim]
__iand__(self, arg: PolyArray[Dim0]) PolyArray[_Dim]
__iand__(self: PolyArray[Dim1], arg: PolyArray[__Dim]) PolyArray[__Dim]
__iand__(self, arg: PolyArray[Dim1]) PolyArray[_Dim]
__iand__(self: PolyArray[Dim2], arg: PolyArray[__Dim]) PolyArray[__Dim]
__iand__(self, arg: PolyArray[Dim2]) PolyArray[_Dim]
__iand__(self: PolyArray[Dim3], arg: PolyArray[__Dim]) PolyArray[__Dim]
__iand__(self, arg: PolyArray[Dim3]) PolyArray[_Dim]
__iand__(self: PolyArray[Dim4], arg: PolyArray[__Dim]) PolyArray[__Dim]
__iand__(self, arg: PolyArray[Dim4]) PolyArray[_Dim]

__iand__

Overload 1.

Args:
  • arg (amplify.Poly | bool)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

Overload 3.

Args:
  • arg (amplify.PolyArray[Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 5.

Args:
  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[_Dim]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 7.

Args:
  • arg (amplify.PolyArray[Dim1])

Returns:

amplify.PolyArray[_Dim]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 9.

Args:
  • arg (amplify.PolyArray[Dim2])

Returns:

amplify.PolyArray[_Dim]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 11.

Args:
  • arg (amplify.PolyArray[Dim3])

Returns:

amplify.PolyArray[_Dim]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 13.

Args:
  • arg (amplify.PolyArray[Dim4])

Returns:

amplify.PolyArray[_Dim]:

__imul__(self, arg: Poly | float | int, /) PolyArray[_Dim]ΒΆ
__imul__(self, arg: list | ndarray[], /) PolyArray[_Dim]
__imul__(self: PolyArray[Dim], arg: PolyArray[__Dim]) PolyArray[Dim]
__imul__(self: PolyArray[Dim0], arg: PolyArray[Dim0]) PolyArray[Dim0]
__imul__(self: PolyArray[Dim1], arg: PolyArray[Dim0 | Dim1]) PolyArray[Dim1]
__imul__(self: PolyArray[Dim2], arg: PolyArray[Dim0 | Dim1 | Dim2]) PolyArray[Dim2]
__imul__(self: PolyArray[Dim3], arg: PolyArray[Dim0 | Dim1 | Dim2 | Dim3]) PolyArray[Dim3]
__imul__(self: PolyArray[Dim4], arg: PolyArray[Dim0 | Dim1 | Dim2 | Dim3 | Dim4]) PolyArray[Dim4]

__imul__

Overload 1.

Args:
  • arg (amplify.Poly | float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[_Dim]:

Overload 3.

Args:
  • self (amplify.PolyArray[Dim])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[Dim0]:

Overload 5.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (PolyArray[Dim0 | Dim1])

Returns:

amplify.PolyArray[Dim1]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (PolyArray[Dim0 | Dim1 | Dim2])

Returns:

amplify.PolyArray[Dim2]:

Overload 7.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (PolyArray[Dim0 | Dim1 | Dim2 | Dim3])

Returns:

amplify.PolyArray[Dim3]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (PolyArray[Dim0 | Dim1 | Dim2 | Dim3 | Dim4])

Returns:

amplify.PolyArray[Dim4]:

__index__(self) intΒΆ

__index__

Return type:

int

__init__(self, object: ndarray[] | list | amplify.Poly) NoneΒΆ

__init__

Parameters:

object (ndarray)

__init_subclass__()ΒΆ

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__int__(self) intΒΆ

__int__

Return type:

int

__invert__(self) PolyArray[_Dim]ΒΆ

__invert__

Return type:

PolyArray[_Dim]

__ior__(self, arg: Poly | bool, /) PolyArray[_Dim]ΒΆ
__ior__(self, arg: list | ndarray[dtype=bool], /) PolyArray[Dim]
__ior__(self, arg: PolyArray[Dim]) PolyArray[Dim]
__ior__(self: PolyArray[Dim0], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ior__(self, arg: PolyArray[Dim0]) PolyArray[_Dim]
__ior__(self: PolyArray[Dim1], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ior__(self, arg: PolyArray[Dim1]) PolyArray[_Dim]
__ior__(self: PolyArray[Dim2], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ior__(self, arg: PolyArray[Dim2]) PolyArray[_Dim]
__ior__(self: PolyArray[Dim3], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ior__(self, arg: PolyArray[Dim3]) PolyArray[_Dim]
__ior__(self: PolyArray[Dim4], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ior__(self, arg: PolyArray[Dim4]) PolyArray[_Dim]

__ior__

Overload 1.

Args:
  • arg (amplify.Poly | bool)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

Overload 3.

Args:
  • arg (amplify.PolyArray[Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 5.

Args:
  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[_Dim]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 7.

Args:
  • arg (amplify.PolyArray[Dim1])

Returns:

amplify.PolyArray[_Dim]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 9.

Args:
  • arg (amplify.PolyArray[Dim2])

Returns:

amplify.PolyArray[_Dim]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 11.

Args:
  • arg (amplify.PolyArray[Dim3])

Returns:

amplify.PolyArray[_Dim]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 13.

Args:
  • arg (amplify.PolyArray[Dim4])

Returns:

amplify.PolyArray[_Dim]:

__ipow__(self, arg: int, /) PolyArray[_Dim]ΒΆ

__ipow__

Parameters:

arg (int)

Return type:

PolyArray[_Dim]

__isub__(self, arg: Poly | float | int, /) PolyArray[_Dim]ΒΆ
__isub__(self, arg: list | ndarray[], /) PolyArray[_Dim]
__isub__(self: PolyArray[Dim], arg: PolyArray[__Dim]) PolyArray[Dim]
__isub__(self: PolyArray[Dim0], arg: PolyArray[Dim0]) PolyArray[Dim0]
__isub__(self: PolyArray[Dim1], arg: PolyArray[Dim0 | Dim1]) PolyArray[Dim1]
__isub__(self: PolyArray[Dim2], arg: PolyArray[Dim0 | Dim1 | Dim2]) PolyArray[Dim2]
__isub__(self: PolyArray[Dim3], arg: PolyArray[Dim0 | Dim1 | Dim2 | Dim3]) PolyArray[Dim3]
__isub__(self: PolyArray[Dim4], arg: PolyArray[Dim0 | Dim1 | Dim2 | Dim3 | Dim4]) PolyArray[Dim4]

__isub__

Overload 1.

Args:
  • arg (amplify.Poly | float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[_Dim]:

Overload 3.

Args:
  • self (amplify.PolyArray[Dim])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[Dim0]:

Overload 5.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (PolyArray[Dim0 | Dim1])

Returns:

amplify.PolyArray[Dim1]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (PolyArray[Dim0 | Dim1 | Dim2])

Returns:

amplify.PolyArray[Dim2]:

Overload 7.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (PolyArray[Dim0 | Dim1 | Dim2 | Dim3])

Returns:

amplify.PolyArray[Dim3]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (PolyArray[Dim0 | Dim1 | Dim2 | Dim3 | Dim4])

Returns:

amplify.PolyArray[Dim4]:

__iter__(self) IteratorΒΆ

__iter__

Return type:

Iterator

__itruediv__(self, arg: float | int | list | ndarray[], /) PolyArray[_Dim]ΒΆ

__itruediv__

Parameters:

arg (float | int | list | ndarray)

Return type:

PolyArray[_Dim]

__ixor__(self, arg: Poly | bool, /) PolyArray[_Dim]ΒΆ
__ixor__(self, arg: list | ndarray[dtype=bool], /) PolyArray[Dim]
__ixor__(self, arg: PolyArray[Dim]) PolyArray[Dim]
__ixor__(self: PolyArray[Dim0], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ixor__(self, arg: PolyArray[Dim0]) PolyArray[_Dim]
__ixor__(self: PolyArray[Dim1], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ixor__(self, arg: PolyArray[Dim1]) PolyArray[_Dim]
__ixor__(self: PolyArray[Dim2], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ixor__(self, arg: PolyArray[Dim2]) PolyArray[_Dim]
__ixor__(self: PolyArray[Dim3], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ixor__(self, arg: PolyArray[Dim3]) PolyArray[_Dim]
__ixor__(self: PolyArray[Dim4], arg: PolyArray[__Dim]) PolyArray[__Dim]
__ixor__(self, arg: PolyArray[Dim4]) PolyArray[_Dim]

__ixor__

Overload 1.

Args:
  • arg (amplify.Poly | bool)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

Overload 3.

Args:
  • arg (amplify.PolyArray[Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 5.

Args:
  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[_Dim]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 7.

Args:
  • arg (amplify.PolyArray[Dim1])

Returns:

amplify.PolyArray[_Dim]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 9.

Args:
  • arg (amplify.PolyArray[Dim2])

Returns:

amplify.PolyArray[_Dim]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 11.

Args:
  • arg (amplify.PolyArray[Dim3])

Returns:

amplify.PolyArray[_Dim]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 13.

Args:
  • arg (amplify.PolyArray[Dim4])

Returns:

amplify.PolyArray[_Dim]:

__len__(self) intΒΆ

__len__

Return type:

int

__matmul__(self, arg: amplify.PolyArray | ndarray[], /) Poly | PolyArray[_Dim]ΒΆ

__matmul__

Parameters:

arg (PolyArray | ndarray)

Return type:

Poly | PolyArray[_Dim]

__mul__(self, arg: Poly | float | int, /) PolyArray[_Dim]ΒΆ
__mul__(self, arg: list | ndarray[], /) PolyArray[Dim]
__mul__(self, arg: PolyArray[Dim]) PolyArray[Dim]
__mul__(self: PolyArray[Dim0], arg: PolyArray[__Dim]) PolyArray[__Dim]
__mul__(self, arg: PolyArray[Dim0]) PolyArray[_Dim]
__mul__(self: PolyArray[Dim1], arg: PolyArray[__Dim]) PolyArray[__Dim]
__mul__(self, arg: PolyArray[Dim1]) PolyArray[_Dim]
__mul__(self: PolyArray[Dim2], arg: PolyArray[__Dim]) PolyArray[__Dim]
__mul__(self, arg: PolyArray[Dim2]) PolyArray[_Dim]
__mul__(self: PolyArray[Dim3], arg: PolyArray[__Dim]) PolyArray[__Dim]
__mul__(self, arg: PolyArray[Dim3]) PolyArray[_Dim]
__mul__(self: PolyArray[Dim4], arg: PolyArray[__Dim]) PolyArray[__Dim]
__mul__(self, arg: PolyArray[Dim4]) PolyArray[_Dim]

__mul__

Overload 1.

Args:
  • arg (amplify.Poly | float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

Overload 3.

Args:
  • arg (amplify.PolyArray[Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 5.

Args:
  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[_Dim]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 7.

Args:
  • arg (amplify.PolyArray[Dim1])

Returns:

amplify.PolyArray[_Dim]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 9.

Args:
  • arg (amplify.PolyArray[Dim2])

Returns:

amplify.PolyArray[_Dim]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 11.

Args:
  • arg (amplify.PolyArray[Dim3])

Returns:

amplify.PolyArray[_Dim]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 13.

Args:
  • arg (amplify.PolyArray[Dim4])

Returns:

amplify.PolyArray[_Dim]:

__ne__(self, arg: amplify.PolyArray | amplify.Poly | float | int | list | ndarray[], /) numpy.ndarray[dtype=bool]ΒΆ
__ne__(self, arg: object, /) bool

__ne__

Overload 1.

Args:
  • arg (amplify.PolyArray | amplify.Poly | float | int | list | ndarray)

Returns:

numpy.ndarray:

Overload 2.

Args:
  • arg (object)

Returns:

bool:

__neg__(self) PolyArray[_Dim]ΒΆ

__neg__

Return type:

PolyArray[_Dim]

__or__(self, arg: Poly | bool, /) PolyArray[_Dim]ΒΆ
__or__(self, arg: list | ndarray[dtype=bool], /) PolyArray[Dim]
__or__(self, arg: PolyArray[Dim]) PolyArray[Dim]
__or__(self: PolyArray[Dim0], arg: PolyArray[__Dim]) PolyArray[__Dim]
__or__(self, arg: PolyArray[Dim0]) PolyArray[_Dim]
__or__(self: PolyArray[Dim1], arg: PolyArray[__Dim]) PolyArray[__Dim]
__or__(self, arg: PolyArray[Dim1]) PolyArray[_Dim]
__or__(self: PolyArray[Dim2], arg: PolyArray[__Dim]) PolyArray[__Dim]
__or__(self, arg: PolyArray[Dim2]) PolyArray[_Dim]
__or__(self: PolyArray[Dim3], arg: PolyArray[__Dim]) PolyArray[__Dim]
__or__(self, arg: PolyArray[Dim3]) PolyArray[_Dim]
__or__(self: PolyArray[Dim4], arg: PolyArray[__Dim]) PolyArray[__Dim]
__or__(self, arg: PolyArray[Dim4]) PolyArray[_Dim]

__or__

Overload 1.

Args:
  • arg (amplify.Poly | bool)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

Overload 3.

Args:
  • arg (amplify.PolyArray[Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 5.

Args:
  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[_Dim]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 7.

Args:
  • arg (amplify.PolyArray[Dim1])

Returns:

amplify.PolyArray[_Dim]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 9.

Args:
  • arg (amplify.PolyArray[Dim2])

Returns:

amplify.PolyArray[_Dim]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 11.

Args:
  • arg (amplify.PolyArray[Dim3])

Returns:

amplify.PolyArray[_Dim]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 13.

Args:
  • arg (amplify.PolyArray[Dim4])

Returns:

amplify.PolyArray[_Dim]:

__pos__(self) PolyArray[_Dim]ΒΆ

__pos__

Return type:

PolyArray[_Dim]

__pow__(self, arg: int, /) PolyArray[_Dim]ΒΆ

__pow__

Parameters:

arg (int)

Return type:

PolyArray[_Dim]

__radd__(self, arg: Poly | float | int, /) PolyArray[_Dim]ΒΆ
__radd__(self, arg: list | ndarray[], /) PolyArray[Dim]

__radd__

Overload 1.

Args:
  • arg (amplify.Poly | float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

__rand__(self, arg: Poly | bool, /) PolyArray[_Dim]ΒΆ
__rand__(self, arg: list | ndarray[dtype=bool], /) PolyArray[Dim]

__rand__

Overload 1.

Args:
  • arg (amplify.Poly | bool)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

__repr__(self) strΒΆ

__repr__

Return type:

str

__rmatmul__(self, arg: NDArray | PolyArray[__Dim]) Poly | PolyArray[__Dim]ΒΆ

__rmatmul__

Parameters:

arg (NDArray | PolyArray[__Dim])

Return type:

Poly | PolyArray[__Dim]

__rmul__(self, arg: Poly | float | int, /) PolyArray[_Dim]ΒΆ
__rmul__(self, arg: list | ndarray[], /) PolyArray[Dim]

__rmul__

Overload 1.

Args:
  • arg (amplify.Poly | float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

__ror__(self, arg: Poly | bool, /) PolyArray[_Dim]ΒΆ
__ror__(self, arg: list | ndarray[dtype=bool], /) PolyArray[Dim]

__ror__

Overload 1.

Args:
  • arg (amplify.Poly | bool)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

__rsub__(self, arg: Poly | float | int, /) PolyArray[_Dim]ΒΆ
__rsub__(self, arg: list | ndarray[], /) PolyArray[Dim]

__rsub__

Overload 1.

Args:
  • arg (amplify.Poly | float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

__rxor__(self, arg: Poly | bool, /) PolyArray[_Dim]ΒΆ
__rxor__(self, arg: list | ndarray[dtype=bool], /) PolyArray[Dim]

__rxor__

Overload 1.

Args:
  • arg (amplify.Poly | bool)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

__setitem__(
self,
arg: tuple | slice | types.EllipsisType | int | None,
value: amplify.Poly | float | int | list | ndarray[] | amplify.PolyArray,
) NoneΒΆ

__setitem__

Parameters:
__str__(self) strΒΆ

__str__

Return type:

str

__sub__(self, arg: Poly | float | int, /) PolyArray[_Dim]ΒΆ
__sub__(self, arg: list | ndarray[], /) PolyArray[Dim]
__sub__(self, arg: PolyArray[Dim]) PolyArray[Dim]
__sub__(self: PolyArray[Dim0], arg: PolyArray[__Dim]) PolyArray[__Dim]
__sub__(self, arg: PolyArray[Dim0]) PolyArray[_Dim]
__sub__(self: PolyArray[Dim1], arg: PolyArray[__Dim]) PolyArray[__Dim]
__sub__(self, arg: PolyArray[Dim1]) PolyArray[_Dim]
__sub__(self: PolyArray[Dim2], arg: PolyArray[__Dim]) PolyArray[__Dim]
__sub__(self, arg: PolyArray[Dim2]) PolyArray[_Dim]
__sub__(self: PolyArray[Dim3], arg: PolyArray[__Dim]) PolyArray[__Dim]
__sub__(self, arg: PolyArray[Dim3]) PolyArray[_Dim]
__sub__(self: PolyArray[Dim4], arg: PolyArray[__Dim]) PolyArray[__Dim]
__sub__(self, arg: PolyArray[Dim4]) PolyArray[_Dim]

__sub__

Overload 1.

Args:
  • arg (amplify.Poly | float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

Overload 3.

Args:
  • arg (amplify.PolyArray[Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 5.

Args:
  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[_Dim]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 7.

Args:
  • arg (amplify.PolyArray[Dim1])

Returns:

amplify.PolyArray[_Dim]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 9.

Args:
  • arg (amplify.PolyArray[Dim2])

Returns:

amplify.PolyArray[_Dim]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 11.

Args:
  • arg (amplify.PolyArray[Dim3])

Returns:

amplify.PolyArray[_Dim]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 13.

Args:
  • arg (amplify.PolyArray[Dim4])

Returns:

amplify.PolyArray[_Dim]:

__truediv__(self, arg: float | int, /) PolyArray[_Dim]ΒΆ
__truediv__(self, arg: list | ndarray[], /) PolyArray[Dim]

__truediv__

Overload 1.

Args:
  • arg (float | int)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

__xor__(self, arg: Poly | bool, /) PolyArray[_Dim]ΒΆ
__xor__(self, arg: list | ndarray[dtype=bool], /) PolyArray[Dim]
__xor__(self, arg: PolyArray[Dim]) PolyArray[Dim]
__xor__(self: PolyArray[Dim0], arg: PolyArray[__Dim]) PolyArray[__Dim]
__xor__(self, arg: PolyArray[Dim0]) PolyArray[_Dim]
__xor__(self: PolyArray[Dim1], arg: PolyArray[__Dim]) PolyArray[__Dim]
__xor__(self, arg: PolyArray[Dim1]) PolyArray[_Dim]
__xor__(self: PolyArray[Dim2], arg: PolyArray[__Dim]) PolyArray[__Dim]
__xor__(self, arg: PolyArray[Dim2]) PolyArray[_Dim]
__xor__(self: PolyArray[Dim3], arg: PolyArray[__Dim]) PolyArray[__Dim]
__xor__(self, arg: PolyArray[Dim3]) PolyArray[_Dim]
__xor__(self: PolyArray[Dim4], arg: PolyArray[__Dim]) PolyArray[__Dim]
__xor__(self, arg: PolyArray[Dim4]) PolyArray[_Dim]

__xor__

Overload 1.

Args:
  • arg (amplify.Poly | bool)

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • arg (list | ndarray)

Returns:

amplify.PolyArray[Dim]:

Overload 3.

Args:
  • arg (amplify.PolyArray[Dim])

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim0])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 5.

Args:
  • arg (amplify.PolyArray[Dim0])

Returns:

amplify.PolyArray[_Dim]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim1])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 7.

Args:
  • arg (amplify.PolyArray[Dim1])

Returns:

amplify.PolyArray[_Dim]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim2])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 9.

Args:
  • arg (amplify.PolyArray[Dim2])

Returns:

amplify.PolyArray[_Dim]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim3])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 11.

Args:
  • arg (amplify.PolyArray[Dim3])

Returns:

amplify.PolyArray[_Dim]:

Overload 12.

Args:
  • self (amplify.PolyArray[Dim4])

  • arg (amplify.PolyArray[__Dim])

Returns:

amplify.PolyArray[__Dim]:

Overload 13.

Args:
  • arg (amplify.PolyArray[Dim4])

Returns:

amplify.PolyArray[_Dim]:

copy(self) PolyArray[_Dim]ΒΆ

copy

Return type:

PolyArray[_Dim]

decode(self, values: Values) numpy.ndarray[dtype=float64]ΒΆ
decode(self, values: Values, default: float) numpy.ndarray[dtype=float64]
decode(self, values: Values, default: None) PolyArray[_Dim]

decode

Overload 1.

Args:
  • values (amplify.Values)

Returns:

numpy.ndarray:

Overload 2.

Args:
  • values (amplify.Values)

  • default (float)

Returns:

numpy.ndarray:

Overload 3.

Args:
  • values (amplify.Values)

  • default (None)

Returns:

amplify.PolyArray[_Dim]:

diagonal(self: PolyArray[Dim], offset: int = 0, axis1: int = 0, axis2: int = 1) PolyArray[Dim]ΒΆ
diagonal(self: PolyArray[Dim2], offset: int = 0, axis1: int = 0, axis2: int = 1) PolyArray[Dim1]
diagonal(self: PolyArray[Dim3], offset: int = 0, axis1: int = 0, axis2: int = 1) PolyArray[Dim2]
diagonal(self: PolyArray[Dim4], offset: int = 0, axis1: int = 0, axis2: int = 1) PolyArray[Dim3]

diagonal

Overload 1.

Args:
  • self (amplify.PolyArray[Dim])

  • offset (int): Defaults to 0.

  • axis1 (int): Defaults to 0.

  • axis2 (int): Defaults to 1.

Returns:

amplify.PolyArray[Dim]:

Overload 2.

Args:
  • self (amplify.PolyArray[Dim2])

  • offset (int): Defaults to 0.

  • axis1 (int): Defaults to 0.

  • axis2 (int): Defaults to 1.

Returns:

amplify.PolyArray[Dim1]:

Overload 3.

Args:
  • self (amplify.PolyArray[Dim3])

  • offset (int): Defaults to 0.

  • axis1 (int): Defaults to 0.

  • axis2 (int): Defaults to 1.

Returns:

amplify.PolyArray[Dim2]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim4])

  • offset (int): Defaults to 0.

  • axis1 (int): Defaults to 0.

  • axis2 (int): Defaults to 1.

Returns:

amplify.PolyArray[Dim3]:

evaluate(self, values: Values) numpy.ndarray[dtype=float64]ΒΆ
evaluate(self, values: Values, default: float) numpy.ndarray[dtype=float64]
evaluate(self, values: Values, default: None) PolyArray[_Dim]

evaluate

Overload 1.

Args:
  • values (amplify.Values)

Returns:

numpy.ndarray:

Overload 2.

Args:
  • values (amplify.Values)

  • default (float)

Returns:

numpy.ndarray:

Overload 3.

Args:
  • values (amplify.Values)

  • default (None)

Returns:

amplify.PolyArray[_Dim]:

fill(self, value: Poly | float | int) NoneΒΆ

fill

Parameters:

value (Poly | float | int)

flatten(self) PolyArray[Dim1]ΒΆ

flatten

Return type:

PolyArray[Dim1]

nonzero(self) tuple[numpy.ndarray[dtype=uint64], ...]ΒΆ

nonzero

Return type:

tuple[ndarray[dtype=uint64], …]

ravel(self) PolyArray[Dim1]ΒΆ

ravel

Return type:

PolyArray[Dim1]

repeat(self, repeats: int | list[int], axis: Literal[None] = None) PolyArray[Dim1]ΒΆ
repeat(self, repeats: int | list[int], axis: int) PolyArray[_Dim]

repeat

Overload 1.

Args:
  • repeats (int | list[int])

  • axis (typing.Literal[None]): Defaults to None.

Returns:

amplify.PolyArray[Dim1]:

Overload 2.

Args:
  • repeats (int | list[int])

  • axis (int)

Returns:

amplify.PolyArray[_Dim]:

reshape(self, shape: int | tuple[int]) PolyArray[Dim1]ΒΆ
reshape(self, shape: tuple[int, int]) PolyArray[Dim2]
reshape(self, shape: tuple[int, int, int]) PolyArray[Dim3]
reshape(self, shape: tuple[int, int, int, int]) PolyArray[Dim4]
reshape(self, arg0: int, arg1: int) PolyArray[Dim2]
reshape(self, arg0: int, arg1: int, arg2: int) PolyArray[Dim3]
reshape(self, arg0: int, arg1: int, arg2: int, arg3: int) PolyArray[Dim4]
reshape(self, shape: tuple[int, int, int, int, int, typing_extensions.Unpack[tuple[int, ...]]]) PolyArray[Dim]
reshape(self, *shape: int) PolyArray[Dim]

reshape

Overload 1.

Args:
  • shape (int | tuple[int])

Returns:

amplify.PolyArray[Dim1]:

Overload 2.

Args:
  • shape (tuple[int, int])

Returns:

amplify.PolyArray[Dim2]:

Overload 3.

Args:
  • shape (tuple[int, int, int])

Returns:

amplify.PolyArray[Dim3]:

Overload 4.

Args:
  • shape (tuple[int, int, int, int])

Returns:

amplify.PolyArray[Dim4]:

Overload 5.

Args:
  • arg0 (int)

  • arg1 (int)

Returns:

amplify.PolyArray[Dim2]:

Overload 6.

Args:
  • arg0 (int)

  • arg1 (int)

  • arg2 (int)

Returns:

amplify.PolyArray[Dim3]:

Overload 7.

Args:
  • arg0 (int)

  • arg1 (int)

  • arg2 (int)

  • arg3 (int)

Returns:

amplify.PolyArray[Dim4]:

Overload 8.

Args:
  • shape (tuple[int, int, int, int, int, typing_extensions.Unpack[tuple[int, …]]])

Returns:

amplify.PolyArray[Dim]:

Overload 9.

Args:
  • *shape (int)

Returns:

amplify.PolyArray[Dim]:

roll(self, shift: int, axis: int | None = None) PolyArray[_Dim]ΒΆ

roll

Parameters:
  • shift (int)

  • axis (int | None) – Defaults to None.

Return type:

PolyArray[_Dim]

substitute(
self,
mapping: Mapping[Poly, Poly | float | int] | Mapping[Variable, Poly | float | int],
) PolyArray[_Dim]ΒΆ

substitute

Parameters:

mapping (Mapping[Poly, Poly | float | int] | Mapping[Variable, Poly | float | int])

Return type:

PolyArray[_Dim]

sum(self: PolyArray[Dim], axis: Literal[None] = None) PolyΒΆ
sum(self: PolyArray[Dim1], axis: int | tuple[int]) Poly
sum(self: PolyArray[Dim2], axis: tuple[int, int]) Poly
sum(self: PolyArray[Dim2], axis: int | tuple[int]) PolyArray[Dim1]
sum(self: PolyArray[Dim3], axis: tuple[int, int, int]) Poly
sum(self: PolyArray[Dim3], axis: tuple[int, int]) PolyArray[Dim1]
sum(self: PolyArray[Dim3], axis: int | tuple[int]) PolyArray[Dim2]
sum(self: PolyArray[Dim4], axis: tuple[int, int, int, int]) Poly
sum(self: PolyArray[Dim4], axis: tuple[int, int, int]) PolyArray[Dim1]
sum(self: PolyArray[Dim4], axis: tuple[int, int]) PolyArray[Dim2]
sum(self: PolyArray[Dim4], axis: int | tuple[int]) PolyArray[Dim3]
sum(self: PolyArray[_Dim], axis: tuple[()]) PolyArray[_Dim]
sum(self: PolyArray[Dim], axis: int | tuple[int, ...]) Poly | PolyArray[Dim]

sum

Overload 1.

Args:
  • self (amplify.PolyArray[Dim])

  • axis (typing.Literal[None]): Defaults to None.

Returns:

amplify.Poly:

Overload 2.

Args:
  • self (amplify.PolyArray[Dim1])

  • axis (int | tuple[int])

Returns:

amplify.Poly:

Overload 3.

Args:
  • self (amplify.PolyArray[Dim2])

  • axis (tuple[int, int])

Returns:

amplify.Poly:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim2])

  • axis (int | tuple[int])

Returns:

amplify.PolyArray[Dim1]:

Overload 5.

Args:
  • self (amplify.PolyArray[Dim3])

  • axis (tuple[int, int, int])

Returns:

amplify.Poly:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim3])

  • axis (tuple[int, int])

Returns:

amplify.PolyArray[Dim1]:

Overload 7.

Args:
  • self (amplify.PolyArray[Dim3])

  • axis (int | tuple[int])

Returns:

amplify.PolyArray[Dim2]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim4])

  • axis (tuple[int, int, int, int])

Returns:

amplify.Poly:

Overload 9.

Args:
  • self (amplify.PolyArray[Dim4])

  • axis (tuple[int, int, int])

Returns:

amplify.PolyArray[Dim1]:

Overload 10.

Args:
  • self (amplify.PolyArray[Dim4])

  • axis (tuple[int, int])

Returns:

amplify.PolyArray[Dim2]:

Overload 11.

Args:
  • self (amplify.PolyArray[Dim4])

  • axis (int | tuple[int])

Returns:

amplify.PolyArray[Dim3]:

Overload 12.

Args:
  • self (amplify.PolyArray[_Dim])

  • axis (tuple[()])

Returns:

amplify.PolyArray[_Dim]:

Overload 13.

Args:
  • self (amplify.PolyArray[Dim])

  • axis (int | tuple[int, …])

Returns:

Poly | PolyArray[Dim]:

swapaxes(self, axis1: int, axis2: int) PolyArray[_Dim]ΒΆ

swapaxes

Parameters:
Return type:

PolyArray[_Dim]

take(self, indices: int, axis: Literal[None] = None) PolyΒΆ
take(self, indices: list[int], axis: Literal[None] = None) PolyArray[Dim1]
take(self: PolyArray[Dim], indices: int | list[int], axis: int | None = None) PolyArray[Dim]
take(self: PolyArray[Dim2], indices: int, axis: int) PolyArray[Dim1]
take(self: PolyArray[Dim2], indices: list[int], axis: int) PolyArray[Dim2]
take(self: PolyArray[Dim3], indices: int, axis: int) PolyArray[Dim2]
take(self: PolyArray[Dim3], indices: list[int], axis: int) PolyArray[Dim3]
take(self: PolyArray[Dim4], indices: int, axis: int) PolyArray[Dim3]
take(self: PolyArray[Dim4], indices: list[int], axis: int) PolyArray[Dim4]

take

Overload 1.

Args:
  • indices (int)

  • axis (typing.Literal[None]): Defaults to None.

Returns:

amplify.Poly:

Overload 2.

Args:
  • indices (list[int])

  • axis (typing.Literal[None]): Defaults to None.

Returns:

amplify.PolyArray[Dim1]:

Overload 3.

Args:
  • self (amplify.PolyArray[Dim])

  • indices (int | list[int])

  • axis (int | None): Defaults to None.

Returns:

amplify.PolyArray[Dim]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim2])

  • indices (int)

  • axis (int)

Returns:

amplify.PolyArray[Dim1]:

Overload 5.

Args:
  • self (amplify.PolyArray[Dim2])

  • indices (list[int])

  • axis (int)

Returns:

amplify.PolyArray[Dim2]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim3])

  • indices (int)

  • axis (int)

Returns:

amplify.PolyArray[Dim2]:

Overload 7.

Args:
  • self (amplify.PolyArray[Dim3])

  • indices (list[int])

  • axis (int)

Returns:

amplify.PolyArray[Dim3]:

Overload 8.

Args:
  • self (amplify.PolyArray[Dim4])

  • indices (int)

  • axis (int)

Returns:

amplify.PolyArray[Dim3]:

Overload 9.

Args:
  • self (amplify.PolyArray[Dim4])

  • indices (list[int])

  • axis (int)

Returns:

amplify.PolyArray[Dim4]:

to_list(self: PolyArray[Dim0]) PolyΒΆ
to_list(self: PolyArray[Dim1]) list[Poly]
to_list(self: PolyArray[Dim2]) list[list[Poly]]
to_list(self: PolyArray[Dim3]) list[list[list[Poly]]]
to_list(self: PolyArray[Dim4]) list[list[list[list[Poly]]]]
to_list(self: PolyArray[Dim]) list

to_list

Overload 1.

Args:
  • self (amplify.PolyArray[Dim0])

Returns:

amplify.Poly:

Overload 2.

Args:
  • self (amplify.PolyArray[Dim1])

Returns:

list[amplify.Poly]:

Overload 3.

Args:
  • self (amplify.PolyArray[Dim2])

Returns:

list[list[amplify.Poly]]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim3])

Returns:

list[list[list[amplify.Poly]]]:

Overload 5.

Args:
  • self (amplify.PolyArray[Dim4])

Returns:

list[list[list[list[amplify.Poly]]]]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim])

Returns:

list:

to_numpy(self) numpy.ndarray[dtype=float64]ΒΆ

to_numpy

Return type:

ndarray

tolist(self: PolyArray[Dim0]) PolyΒΆ
tolist(self: PolyArray[Dim1]) list[Poly]
tolist(self: PolyArray[Dim2]) list[list[Poly]]
tolist(self: PolyArray[Dim3]) list[list[list[Poly]]]
tolist(self: PolyArray[Dim4]) list[list[list[list[Poly]]]]
tolist(self: PolyArray[Dim]) list

tolist alias of to_list()

Overload 1.

Args:
  • self (amplify.PolyArray[Dim0])

Returns:

amplify.Poly:

Overload 2.

Args:
  • self (amplify.PolyArray[Dim1])

Returns:

list[amplify.Poly]:

Overload 3.

Args:
  • self (amplify.PolyArray[Dim2])

Returns:

list[list[amplify.Poly]]:

Overload 4.

Args:
  • self (amplify.PolyArray[Dim3])

Returns:

list[list[list[amplify.Poly]]]:

Overload 5.

Args:
  • self (amplify.PolyArray[Dim4])

Returns:

list[list[list[list[amplify.Poly]]]]:

Overload 6.

Args:
  • self (amplify.PolyArray[Dim])

Returns:

list:

tonumpy(self) numpy.ndarray[dtype=float64]ΒΆ

alias of to_numpy()

Return type:

ndarray

transpose(self, axes: tuple[int, ...] | None = None) PolyArray[_Dim]ΒΆ
transpose(self, *axes: int) PolyArray[_Dim]

transpose

Overload 1.

Args:
  • axes (tuple[int, …] | None): Defaults to None.

Returns:

amplify.PolyArray[_Dim]:

Overload 2.

Args:
  • *axes (int)

Returns:

amplify.PolyArray[_Dim]:

view(self) PolyArray[_Dim]ΒΆ

view

Return type:

PolyArray[_Dim]

property TΒΆ

T property

Return type:

PolyArray[_Dim]

__deprecated__ = 'BinaryPolyArray is deprecated since amplify v1.0.0 and will no longer support in the near future.\nUse PolyArray instead. Please see the migration guide for details: https://amplify.fixstars.com/docs/amplify/v1/migration.html'ΒΆ
__dict__ = mappingproxy({'__module__': 'amplify._backward', '__dict__': <attribute '__dict__' of 'BinaryPolyArray' objects>, '__weakref__': <attribute '__weakref__' of 'BinaryPolyArray' objects>, '__doc__': None, '__new__': <staticmethod(<function PolyArray.__new__>)>, '__init_subclass__': <function BinaryPolyArray.__init_subclass__>, '__deprecated__': 'BinaryPolyArray is deprecated since amplify v1.0.0 and will no longer support in the near future.\nUse PolyArray instead. Please see the migration guide for details: https://amplify.fixstars.com/docs/amplify/v1/migration.html', '__annotations__': {}})ΒΆ
__nb_signature__ = 'class PolyArray(typing.Generic[_Dim])'ΒΆ
__weakref__ΒΆ

list of weak references to the object (if defined)

property flatΒΆ

flat property

Return type:

PolyArray[Dim1]

property ndimΒΆ

ndim property

Return type:

int

property shapeΒΆ

shape property

Return type:

tuple[int, …]

property sizeΒΆ

size property

Return type:

int