BinaryPolyArray

class BinaryPolyArray

ベースクラス: 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__

戻り値の型:

Iterator

__next__(self) Poly | PolyArray[Dim]

__next__

戻り値の型:

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__

戻り値の型:

bool

__class_getitem__()
__copy__(self) PolyArray[_Dim]

__copy__

戻り値の型:

PolyArray[_Dim]

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

__deepcopy__

パラメータ:

arg (dict)

戻り値の型:

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__

戻り値の型:

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__

戻り値の型:

int

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

__init__

パラメータ:

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__

戻り値の型:

int

__invert__(self) PolyArray[_Dim]

__invert__

戻り値の型:

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__

パラメータ:

arg (int)

戻り値の型:

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__

戻り値の型:

Iterator

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

__itruediv__

パラメータ:

arg (float | int | list | ndarray)

戻り値の型:

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__

戻り値の型:

int

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

__matmul__

パラメータ:

arg (PolyArray | ndarray)

戻り値の型:

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__

戻り値の型:

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__

戻り値の型:

PolyArray[_Dim]

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

__pow__

パラメータ:

arg (int)

戻り値の型:

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__

戻り値の型:

str

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

__rmatmul__

パラメータ:

arg (NDArray | PolyArray[__Dim])

戻り値の型:

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__

パラメータ:
__str__(self) str

__str__

戻り値の型:

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

戻り値の型:

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

パラメータ:

value (Poly | float | int)

flatten(self) PolyArray[Dim1]

flatten

戻り値の型:

PolyArray[Dim1]

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

nonzero

戻り値の型:

tuple[ndarray[dtype=uint64], ...]

ravel(self) PolyArray[Dim1]

ravel

戻り値の型:

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

パラメータ:
  • shift (int)

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

戻り値の型:

PolyArray[_Dim]

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

substitute

パラメータ:

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

戻り値の型:

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

パラメータ:
戻り値の型:

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

戻り値の型:

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

戻り値の型:

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

戻り値の型:

PolyArray[_Dim]

property T

T property

戻り値の型:

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

戻り値の型:

PolyArray[Dim1]

property ndim

ndim property

戻り値の型:

int

property shape

shape property

戻り値の型:

tuple[int, ...]

property size

size property

戻り値の型:

int