C# Class Microsoft.HockeyApp.Extensibility.Implementation.XorshiftRandomBatchGenerator

Inheritance: IRandomNumberBatchGenerator
Afficher le fichier Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Méthodes publiques

Méthode Description
NextBatch ( ulong buffer, int index, int count ) : void

Generates a batch of random numbers.

XorshiftRandomBatchGenerator ( ulong seed ) : System.Diagnostics.CodeAnalysis

Initializes a new instance of the XorshiftRandomBatchGenerator class.

Method Details

NextBatch() public méthode

Generates a batch of random numbers.
public NextBatch ( ulong buffer, int index, int count ) : void
buffer ulong Buffer to put numbers in.
index int Start index in the buffer.
count int Count of random numbers to generate.
Résultat void

XorshiftRandomBatchGenerator() public méthode

Initializes a new instance of the XorshiftRandomBatchGenerator class.
public XorshiftRandomBatchGenerator ( ulong seed ) : System.Diagnostics.CodeAnalysis
seed ulong Random generator seed value.
Résultat System.Diagnostics.CodeAnalysis