Skip to content

Xorshifts

Index

Public

# RandomNumbers.XorshiftsModule.

The module for Xorshift Family.

Provide 8 RNG types (others are to be deprecated):

source

# RandomNumbers.Xorshifts.Xoroshiro128Type.

Xoroshiro128 <: AbstractXoroshiro128
Xoroshiro128([seed])

Xoroshiro128 RNG. The seed can be a Tuple of two UInt64s, or an Integer which will be automatically convert to an UInt128 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xoroshiro128PlusType.

Xoroshiro128Plus <: AbstractXoroshiro128
Xoroshiro128Plus([seed])

Xoroshiro128Plus RNG. The seed can be a Tuple of two UInt64s, or an Integer which will be automatically convert to an UInt128 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xoroshiro128StarType.

Xoroshiro128Star <: AbstractXoroshiro128
Xoroshiro128Star([seed])

Xoroshiro128Star RNG. The seed can be a Tuple of two UInt64s, or an Integer which will be automatically convert to an UInt128 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xoroshiro128StarStarType.

Xoroshiro128StarStar <: AbstractXoroshiro128
Xoroshiro128StarStar([seed])

Xoroshiro128StarStar RNG. The seed can be a Tuple of two UInt64s, or an Integer which will be automatically convert to an UInt128 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xoroshiro64StarType.

Xoroshiro64Star <: AbstractXoroshiro64
Xoroshiro64Star([seed])

Xoroshiro64Star RNG. The seed can be a Tuple of two UInt32s, or an Integer which will be automatically convert to an UInt64 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xoroshiro64StarStarType.

Xoroshiro64StarStar <: AbstractXoroshiro64
Xoroshiro64StarStar([seed])

Xoroshiro64StarStar RNG. The seed can be a Tuple of two UInt32s, or an Integer which will be automatically convert to an UInt64 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xorshift1024Type.

Xorshift1024 <: AbstractXorshift1024
Xorshift1024([seed...])

Xorshift1024 RNG. The seed can be a Tuple of 16 UInt64s, or several (no more than 16) Integers which will all be automatically converted to UInt64 numbers. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xorshift1024PlusType.

Xorshift1024Plus <: AbstractXorshift1024
Xorshift1024Plus([seed...])

Xorshift1024Plus RNG. The seed can be a Tuple of 16 UInt64s, or several (no more than 16) Integers which will all be automatically converted to UInt64 numbers. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xorshift1024StarType.

Xorshift1024Star <: AbstractXorshift1024
Xorshift1024Star([seed...])

Xorshift1024Star RNG. The seed can be a Tuple of 16 UInt64s, or several (no more than 16) Integers which will all be automatically converted to UInt64 numbers. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xorshift128Type.

Xorshift128 <: AbstractXorshift128
Xorshift128([seed])

Xorshift128 RNG. The seed can be a Tuple of two UInt64s, or an Integer which will be automatically convert to an UInt128 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xorshift128PlusType.

Xorshift128Plus <: AbstractXorshift128
Xorshift128Plus([seed])

Xorshift128Plus RNG. The seed can be a Tuple of two UInt64s, or an Integer which will be automatically convert to an UInt128 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xorshift128StarType.

Xorshift128Star <: AbstractXorshift128
Xorshift128Star([seed])

Xorshift128Star RNG. The seed can be a Tuple of two UInt64s, or an Integer which will be automatically convert to an UInt128 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xorshift64Type.

Xorshift64 <: AbstractXorshift64
Xorshift64([seed])

Xorshift64 RNG. The seed will be automatically convert to an UInt64 number. A zero seed is not acceptable.

source

# RandomNumbers.Xorshifts.Xorshift64StarType.

Xorshift64Star <: AbstractXorshift64
Xorshift64Star([seed])

Xorshift64Star RNG. The seed will be automatically convert to an UInt64 number. A zero seed is not acceptable.

source

# RandomNumbers.Xorshifts.Xoshiro128PlusType.

Xoshiro128Plus <: AbstractXoshiro128
Xoshiro128Plus([seed])

Xoshiro128Plus RNG. The seed can be a Tuple of four UInt32s, or an Integer which will be automatically convert to an UInt128 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xoshiro128StarStarType.

Xoshiro128StarStar <: AbstractXoshiro128
Xoshiro128StarStar([seed])

Xoshiro128StarStar RNG. The seed can be a Tuple of four UInt32s, or an Integer which will be automatically convert to an UInt128 number. Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xoshiro256PlusType.

Xoshiro256Plus <: AbstractXoshiro256
Xoshiro256Plus([seed])

Xoshiro256Plus RNG. The seed can be a Tuple of four UInt64s, or an Integer which will be automatically convert to an UInt64 number (and then is initialized with SplitMix64). Zero seeds are not acceptable.

source

# RandomNumbers.Xorshifts.Xoshiro256StarStarType.

Xoshiro256StarStar <: AbstractXoshiro256
Xoshiro256StarStar([seed])

Xoshiro256StarStar RNG. The seed can be a Tuple of four UInt64s, or an Integer which will be automatically convert to an UInt64 number (and then is initialized with SplitMix64). Zero seeds are not acceptable.

source

Internal

# RandomNumbers.Xorshifts.AbstractXoroshiro128Type.

AbstractXoroshiro128 <: AbstractRNG{UInt64}

The base abstract type for Xoroshiro128, Xoroshiro128Star, Xoroshiro128Plus and Xoroshiro128StarStar.

source

# RandomNumbers.Xorshifts.AbstractXoroshiro64Type.

AbstractXoroshiro64 <: AbstractRNG{UInt32}

The base abstract type for Xoroshiro64Star and Xoroshiro64StarStar.

source

# RandomNumbers.Xorshifts.AbstractXorshift1024Type.

AbstractXorshift1024 <: AbstractRNG{UInt64}

The base abstract type for Xorshift1024, Xorshift1024Star and Xorshift1024Plus.

source

# RandomNumbers.Xorshifts.AbstractXorshift128Type.

AbstractXorshift128 <: AbstractRNG{UInt64}

The base abstract type for Xorshift128, Xorshift128Star and Xorshift128Plus.

source

# RandomNumbers.Xorshifts.AbstractXorshift64Type.

AbstractXorshift64 <: AbstractRNG{UInt64}

The base abstract type for Xorshift64 and Xorshift64Star.

source

# RandomNumbers.Xorshifts.AbstractXoshiro128Type.

AbstractXoshiro128 <: AbstractRNG{UInt32}

The base abstract type for Xoshiro128Plus and Xoshiro128StarStar.

source

# RandomNumbers.Xorshifts.AbstractXoshiro256Type.

AbstractXoshiro256 <: AbstractRNG{UInt64}

The base abstract type for Xoshiro256Plus and Xoshiro256StarStar.

source

# RandomNumbers.Xorshifts.splitmix64Method.

SplitMix64: only for initializing a random seed.

source

# RandomNumbers.Xorshifts.xorshift_nextFunction.

Do one iteration and get the current value of a Xorshift RNG object.

source