Uniform Class
A uniform distribution where each possible value has an equal probability of occuring.
Namespace
RandN.Distributions
Base Types
  • object
Uniform
object

Syntax

public static class Uniform

Methods

NameReturn ValueSummary
New(byte, byte)UniformByte
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(decimal, decimal)UniformDecimal
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(double, double)UniformDouble
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(float, float)UniformSingle
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(int, int)UniformInt32
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(long, long)UniformInt64
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(sbyte, sbyte)UniformSByte
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(short, short)UniformInt16
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(TimeSpan, TimeSpan)UniformTimeSpan
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(uint, uint)UniformUInt32
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(ulong, ulong)UniformUInt64
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(ushort, ushort)UniformUInt16
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
NewInclusive(byte, byte)UniformByte
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(decimal, decimal)UniformDecimal
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(double, double)UniformDouble
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(float, float)UniformSingle
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(int, int)UniformInt32
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(long, long)UniformInt64
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(sbyte, sbyte)UniformSByte
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(short, short)UniformInt16
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(TimeSpan, TimeSpan)UniformTimeSpan
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(uint, uint)UniformUInt32
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(ulong, ulong)UniformUInt64
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(ushort, ushort)UniformUInt16
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static