Mojo struct
Random
struct Random[rounds: Int = 6]
Implemented traits
AnyType
,
UnknownDestructibility
Methods
__init__
__init__(out self, *, seed: SIMD[uint64, 1] = SIMD(0), subsequence: SIMD[uint64, 1] = SIMD(0), offset: SIMD[uint64, 1] = SIMD(0))
step
step(mut self) -> SIMD[uint32, 4]
step_uniform
step_uniform(mut self) -> SIMD[float32, 4]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!