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

Syntax

public static class Uniform

Methods

NameReturn ValueSummary
New(byte, byte)Uniform.Byte
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(decimal, decimal)Uniform.Decimal
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(double, double)Uniform.Double
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(float, float)Uniform.Single
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(int, int)Uniform.Int32
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(long, long)Uniform.Int64
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(sbyte, sbyte)Uniform.SByte
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(short, short)Uniform.Int16
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(TimeSpan, TimeSpan)Uniform.TimeSpan
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(uint, uint)Uniform.UInt32
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(ulong, ulong)Uniform.UInt64
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
New(ushort, ushort)Uniform.UInt16
Creates uniform distribution in the interval [low, high), inclusive of low and exclusive of high.
static
NewInclusive(byte, byte)Uniform.Byte
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(decimal, decimal)Uniform.Decimal
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(double, double)Uniform.Double
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(float, float)Uniform.Single
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(int, int)Uniform.Int32
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(long, long)Uniform.Int64
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(sbyte, sbyte)Uniform.SByte
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(short, short)Uniform.Int16
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(TimeSpan, TimeSpan)Uniform.TimeSpan
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(uint, uint)Uniform.UInt32
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(ulong, ulong)Uniform.UInt64
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static
NewInclusive(ushort, ushort)Uniform.UInt16
Creates uniform distribution in the interval [low, high], inclusive of low and high.
static