C# Класс PeterO.XorShift128Plus

A class that implements a statistically-random byte generator, using Sebastiano Vigna's xorshift128+ RNG as the underlying implementation. By default, this class is safe for concurrent use among multiple threads.
Наследование: IRandomGen
Показать файл Открыть проект

Открытые методы

Метод Описание
GetBytes ( byte bytes, int offset, int length ) : int
XorShift128Plus ( ) : System

Приватные методы

Метод Описание
NextValue ( ) : long
Seed ( ) : void

Описание методов

GetBytes() публичный Метод

public GetBytes ( byte bytes, int offset, int length ) : int
bytes byte
offset int
length int
Результат int

XorShift128Plus() публичный Метод

public XorShift128Plus ( ) : System
Результат System