PCGRandomNumberGenerator
public struct PCGRandomNumberGenerator : RandomNumberGenerator
Fast pseudorandom number generator using permuted congruential generators.
It combines two underlying 32-bit output PCG-XSH-RS random number generators
to balance speed with RandomNumberGenerator
‘s requirement of 64-bit
output.
-
Undocumented
Declaration
Swift
public init(state: UInt64)
-
Undocumented
Declaration
Swift
public init(seed: UInt64, seq: UInt64)
-
Undocumented
Declaration
Swift
public init(seed1: UInt64, seed2: UInt64, seq1: UInt64, seq2: UInt64)
-
Declaration
Swift
public mutating func next() -> UInt64