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