Class Rng
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Syntax
Constructors
Rng(RngState)
Declaration
public Rng(RngState state)
Parameters
Methods
Bool()
Declaration
Returns
Bytes(byte[])
Declaration
public void Bytes(byte[] bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
Double()
Declaration
Returns
Double(double, double)
Declaration
public double Double(double min, double max)
Parameters
Type |
Name |
Description |
double |
min |
|
double |
max |
|
Returns
Double(double)
Declaration
public double Double(double max)
Parameters
Type |
Name |
Description |
double |
max |
|
Returns
Float()
Declaration
Returns
Float(float, float)
Declaration
public float Float(float min, float max)
Parameters
Type |
Name |
Description |
float |
min |
|
float |
max |
|
Returns
Float(float)
Declaration
public float Float(float max)
Parameters
Type |
Name |
Description |
float |
max |
|
Returns
GetState()
Declaration
public RngState GetState()
Returns
Int()
Declaration
Returns
Int(int, int)
Declaration
public int Int(int min, int max)
Parameters
Type |
Name |
Description |
int |
min |
|
int |
max |
|
Returns
Int(int)
Declaration
Parameters
Type |
Name |
Description |
int |
max |
|
Returns
SetState(RngState)
Declaration
public void SetState(RngState newState)
Parameters
UInt()
Declaration
Returns
UInt(uint, uint)
Declaration
public uint UInt(uint min, uint max)
Parameters
Type |
Name |
Description |
uint |
min |
|
uint |
max |
|
Returns
UInt(uint)
Declaration
public uint UInt(uint max)
Parameters
Type |
Name |
Description |
uint |
max |
|
Returns
Extension Methods