sum¶
- sum(array: PolyArray[_Dim], axis: Literal[None] = None) Poly ¶
- sum(array: PolyArray[Dim1], axis: int | tuple[int]) Poly
- sum(array: PolyArray[Dim2], axis: tuple[int, int]) Poly
- sum(array: PolyArray[Dim2], axis: int | tuple[int]) PolyArray[Dim1]
- sum(array: PolyArray[Dim3], axis: tuple[int, int, int]) Poly
- sum(array: PolyArray[Dim3], axis: tuple[int, int]) PolyArray[Dim1]
- sum(array: PolyArray[Dim3], axis: int | tuple[int]) PolyArray[Dim2]
- sum(array: PolyArray[Dim4], axis: tuple[int, int, int, int]) Poly
- sum(array: PolyArray[Dim4], axis: tuple[int, int, int]) PolyArray[Dim1]
- sum(array: PolyArray[Dim4], axis: tuple[int, int]) PolyArray[Dim2]
- sum(array: PolyArray[Dim4], axis: int | tuple[int]) PolyArray[Dim3]
- sum(array: PolyArray[_Dim], axis: tuple[()]) PolyArray[_Dim]
- sum(array: PolyArray[Dim], axis: int | tuple[int, ...]) Poly | PolyArray[Dim]
- sum(arg: Sequence[Poly | float] | Iterator[Poly | float]) Poly
- sum(
- arg: Sequence[Constraint | ConstraintList] | Iterator[Constraint | ConstraintList],
- sum(stop: int, func: Callable[[int], Poly]) Poly
- sum(start: int, stop: int, func: Callable[[int], Poly]) Poly
- sum(start: int, stop: int, step: int, func: Callable[[int], Poly]) Poly
- sum(sequence: Sequence[object], func: Callable[[object], Poly]) Poly
- sum(iterable: Iterable[object], func: Callable[[object], Poly]) Poly
- sum(iterator: Iterator[object], func: Callable[[object], Poly]) Poly
- sum(iterable: Iterable, /, start: object = 0) Any
sum
Overload 1.
- Args:
array (amplify.PolyArray[_Dim])
axis (typing.Literal[None]): Defaults to
None
.
- Returns:
amplify.Poly:
Overload 2.
- Args:
array (amplify.PolyArray[Dim1])
axis (int | tuple[int])
- Returns:
amplify.Poly:
Overload 3.
- Args:
array (amplify.PolyArray[Dim2])
axis (tuple[int, int])
- Returns:
amplify.Poly:
Overload 4.
- Args:
array (amplify.PolyArray[Dim2])
axis (int | tuple[int])
- Returns:
amplify.PolyArray[Dim1]:
Overload 5.
- Args:
array (amplify.PolyArray[Dim3])
axis (tuple[int, int, int])
- Returns:
amplify.Poly:
Overload 6.
- Args:
array (amplify.PolyArray[Dim3])
axis (tuple[int, int])
- Returns:
amplify.PolyArray[Dim1]:
Overload 7.
- Args:
array (amplify.PolyArray[Dim3])
axis (int | tuple[int])
- Returns:
amplify.PolyArray[Dim2]:
Overload 8.
- Args:
array (amplify.PolyArray[Dim4])
axis (tuple[int, int, int, int])
- Returns:
amplify.Poly:
Overload 9.
- Args:
array (amplify.PolyArray[Dim4])
axis (tuple[int, int, int])
- Returns:
amplify.PolyArray[Dim1]:
Overload 10.
- Args:
array (amplify.PolyArray[Dim4])
axis (tuple[int, int])
- Returns:
amplify.PolyArray[Dim2]:
Overload 11.
- Args:
array (amplify.PolyArray[Dim4])
axis (int | tuple[int])
- Returns:
amplify.PolyArray[Dim3]:
Overload 12.
- Args:
array (amplify.PolyArray[_Dim])
axis (tuple[()])
- Returns:
amplify.PolyArray[_Dim]:
Overload 13.
- Args:
array (amplify.PolyArray[Dim])
axis (int | tuple[int, ...])
- Returns:
amplify.Poly | amplify.PolyArray[Dim]:
Overload 14.
- Args:
arg (collections.abc.Sequence[amplify.Poly | float] | collections.abc.Iterator[amplify.Poly | float])
- Returns:
amplify.Poly:
Overload 15.
- Args:
arg (collections.abc.Sequence[amplify.Constraint | amplify.ConstraintList] | collections.abc.Iterator[amplify.Constraint | amplify.ConstraintList])
- Returns:
amplify.ConstraintList:
Overload 16.
- Args:
stop (int)
func (collections.abc.Callable[[int], amplify.Poly])
- Returns:
amplify.Poly:
Overload 17.
- Args:
start (int)
stop (int)
func (collections.abc.Callable[[int], amplify.Poly])
- Returns:
amplify.Poly:
Overload 18.
- Args:
start (int)
stop (int)
step (int)
func (collections.abc.Callable[[int], amplify.Poly])
- Returns:
amplify.Poly:
Overload 19.
- Args:
sequence (collections.abc.Sequence[object])
func (collections.abc.Callable[[object], amplify.Poly])
- Returns:
amplify.Poly:
Overload 20.
- Args:
iterable (collections.abc.Iterable[object])
func (collections.abc.Callable[[object], amplify.Poly])
- Returns:
amplify.Poly:
Overload 21.
- Args:
iterator (collections.abc.Iterator[object])
func (collections.abc.Callable[[object], amplify.Poly])
- Returns:
amplify.Poly:
Overload 22.
- Args:
iterable (Iterable)
start (object): Defaults to
0
.
- Returns:
typing.Any: