Skip to main content

numpy.random.philox

Standard library Module View source
alias u128
u128 = UInt[128]
Alias of 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: Self, ctr: Tuple[(u64, u64, u64, u64)], key: Tuple[(u64, u64)], seed: SeedSequence)
__init__
__init__(self: Self, seed)
Methods 4
next64
next64(self: Self)
jump
jump(self: Self)
advance
advance(self: Self, step: Tuple[(u64, u64, u64, u64)])
jump_inplace
jump_inplace(self: Self, jumps: int)
Special methods 2
__get_state__
__get_state__(self: Self)
__set_state__
__set_state__(self: Self, state)