numpy.random.philox

Standard library module View source
variable u128
u128 = UInt[128]
variable PHILOX_BUFFER_SIZE
PHILOX_BUFFER_SIZE: Literal[int] = 4
variable philox4x64_rounds
philox4x64_rounds: Literal[int] = 10
function mulhilo64
mulhilo64(a: u64, b: u64)
function philox4x64_R
philox4x64_R(R: int, ctr: Tuple[u64, u64, u64, u64], key: Tuple[u64, u64])
class Philox
class Philox
Fields 5
ctr Tuple[u64, u64, u64, u64]
key Tuple[u64, u64]
buffer_pos int
buffer Tuple[u64, u64, u64, u64]
seed SeedSequence
Constructors 2
__init__
__init__(self, ctr: Tuple[u64, u64, u64, u64], key: Tuple[u64, u64])
__init__
__init__(self, seed)
Methods 4
next64
next64(self)
jump
jump(self)
advance
advance(self, step: Tuple[u64, u64, u64, u64])
jump_inplace
jump_inplace(self, jumps: int)
Special methods 2
__get_state__
__get_state__(self)
__set_state__
__set_state__(self, state)