sum¶

sum(arg: list, /) Any¶
sum(arg: Iterator, /) Any
sum(array: PolyArray) Poly
sum(array: PolyArray, axis: Literal[None] | None) Poly
sum(array: PolyArray, axis: int | tuple[int, ...] | None) Poly | PolyArray
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[Any], func: Callable[[Any], Poly]) Poly
sum(iterable: Iterable[Any], func: Callable[[Any], Poly]) Poly
sum(iterator: Iterator[Any], func: Callable[[Any], Poly]) Poly
sum(*args, **kwargs) Any

sum

Overloading:

1. sum(arg: list, /) -> Any

Args:
  • arg (list):

Returns:

Any:

2. sum(arg: Iterator, /) -> Any

Args:
  • arg (Iterator):

Returns:

Any:

3. sum(array: amplify.PolyArray) -> amplify.Poly

Args:
  • array (amplify.PolyArray):

Returns:

amplify.Poly:

4. sum(array: amplify.PolyArray, axis: Optional[Literal[None]]) -> amplify.Poly

Args:
  • array (amplify.PolyArray):

  • axis (Literal[None] | None):

Returns:

amplify.Poly:

5. sum(array: amplify.PolyArray, axis: Optional[Union[int, tuple[int, ...]]]) -> Union[amplify.Poly, amplify.PolyArray]

Args:
  • array (amplify.PolyArray):

  • axis (int | tuple[int, ...] | None):

Returns:

amplify.Poly | amplify.PolyArray:

6. sum(stop: int, func: Callable[[int], amplify.Poly]) -> amplify.Poly

Args:
  • stop (int):

  • func (Callable[[int], amplify.Poly]):

Returns:

amplify.Poly:

7. sum(start: int, stop: int, func: Callable[[int], amplify.Poly]) -> amplify.Poly

Args:
  • start (int):

  • stop (int):

  • func (Callable[[int], amplify.Poly]):

Returns:

amplify.Poly:

8. sum(start: int, stop: int, step: int, func: Callable[[int], amplify.Poly]) -> amplify.Poly

Args:
  • start (int):

  • stop (int):

  • step (int):

  • func (Callable[[int], amplify.Poly]):

Returns:

amplify.Poly:

9. sum(sequence: Sequence[Any], func: Callable[[Any], amplify.Poly]) -> amplify.Poly

Args:
  • sequence (Sequence[Any]):

  • func (Callable[[Any], amplify.Poly]):

Returns:

amplify.Poly:

10. sum(iterable: Iterable[Any], func: Callable[[Any], amplify.Poly]) -> amplify.Poly

Args:
  • iterable (Iterable[Any]):

  • func (Callable[[Any], amplify.Poly]):

Returns:

amplify.Poly:

11. sum(iterator: Iterator[Any], func: Callable[[Any], amplify.Poly]) -> amplify.Poly

Args:
  • iterator (Iterator[Any]):

  • func (Callable[[Any], amplify.Poly]):

Returns:

amplify.Poly:

12. sum(*args, **kwargs) -> Any

Args:
  • *args:

  • **kwargs:

Returns:

Any: