_methods.pyi 556 B

123456789101112131415161718192021222324
  1. from collections.abc import Callable
  2. from typing import Any, TypeAlias
  3. from typing_extensions import Concatenate
  4. import numpy as np
  5. from . import _exceptions as _exceptions
  6. ###
  7. _Reduce2: TypeAlias = Callable[Concatenate[object, ...], Any]
  8. ###
  9. bool_dt: np.dtype[np.bool] = ...
  10. umr_maximum: _Reduce2 = ...
  11. umr_minimum: _Reduce2 = ...
  12. umr_sum: _Reduce2 = ...
  13. umr_prod: _Reduce2 = ...
  14. umr_bitwise_count = np.bitwise_count
  15. umr_any: _Reduce2 = ...
  16. umr_all: _Reduce2 = ...
  17. _complex_to_float: dict[np.dtype[np.complexfloating], np.dtype[np.floating]] = ...