_sfc64.pyi 709 B

12345678910111213141516171819202122232425262728
  1. from typing import Any, TypedDict
  2. from numpy import dtype as dtype
  3. from numpy import ndarray as ndarray
  4. from numpy import uint64
  5. from numpy.random.bit_generator import BitGenerator, SeedSequence
  6. from numpy._typing import _ArrayLikeInt_co
  7. class _SFC64Internal(TypedDict):
  8. state: ndarray[Any, dtype[uint64]]
  9. class _SFC64State(TypedDict):
  10. bit_generator: str
  11. state: _SFC64Internal
  12. has_uint32: int
  13. uinteger: int
  14. class SFC64(BitGenerator):
  15. def __init__(self, seed: None | _ArrayLikeInt_co | SeedSequence = ...) -> None: ...
  16. @property
  17. def state(
  18. self,
  19. ) -> _SFC64State: ...
  20. @state.setter
  21. def state(
  22. self,
  23. value: _SFC64State,
  24. ) -> None: ...