Click or drag to resize
RandomSample Class
A static class of extension methods for generating random numbers according to various probability distributions.
Inheritance Hierarchy
SystemObject
  Experilous.MakeItRandomRandomSample

Namespace: Experilous.MakeItRandom
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static class RandomSample
Methods
  NameDescription
Public methodStatic memberExponentialSample(IRandom, Double)
Returns a random value sampled from an exponential probability distribution.
Public methodStatic memberExponentialSample(IRandom, Single)
Returns a random value sampled from an exponential probability distribution.
Public methodStatic memberExponentialSample(IRandom, Double, Double)
Returns a random value sampled from an exponential probability distribution.
Public methodStatic memberExponentialSample(IRandom, Single, Single)
Returns a random value sampled from an exponential probability distribution.
Public methodStatic memberHermiteSplineSample(IRandom, AnimationCurve, Int32)
Returns a random value sampled from a Hermite spline probability distribution.
Public methodStatic memberHermiteSplineSample(IRandom, Keyframe, Keyframe)
Returns a random value sampled from a Hermite spline probability distribution.
Public methodStatic memberHermiteSplineSample(IRandom, Vector2, Single, Vector2, Single)
Returns a random value sampled from a Hermite spline probability distribution.
Public methodStatic memberHermiteSplineSample(IRandom, Double, Double, Double, Double, Double, Double)
Returns a random value sampled from a Hermite spline probability distribution.
Public methodStatic memberHermiteSplineSample(IRandom, Single, Single, Single, Single, Single, Single)
Returns a random value sampled from a Hermite spline probability distribution.
Public methodStatic memberLinearSample(IRandom, Vector2, Vector2)
Returns a random value sampled from a linear probability distribution.
Public methodStatic memberLinearSample(IRandom, Double, Double, Double, Double)
Returns a random value sampled from a linear probability distribution.
Public methodStatic memberLinearSample(IRandom, Single, Single, Single, Single)
Returns a random value sampled from a linear probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Double)
Returns a sample generator which will produce values sampled from an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Single)
Returns a sample generator which will produce values sampled from an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Double, OneSidedDoubleZigguratTable)
Returns a sample generator which will produce values sampled from an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Double, Double)
Returns a sample generator which will produce values sampled from an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Single, OneSidedFloatZigguratTable)
Returns a sample generator which will produce values sampled from an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Single, Single)
Returns a sample generator which will produce values sampled from an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Double, Double, OneSidedDoubleZigguratTable)
Returns a sample generator which will produce values sampled from an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Double, Int32, Double)
Returns a sample generator which will produce values sampled from a an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Single, Int32, Double)
Returns a sample generator which will produce values sampled from a an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Single, Single, OneSidedFloatZigguratTable)
Returns a sample generator which will produce values sampled from an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Double, Double, Int32, Double)
Returns a sample generator which will produce values sampled from a an exponential probability distribution.
Public methodStatic memberMakeExponentialSampleGenerator(IRandom, Single, Single, Int32, Double)
Returns a sample generator which will produce values sampled from a an exponential probability distribution.
Public methodStatic memberMakeHermiteSplineSampleGenerator(IRandom, AnimationCurve, Int32)
Returns a sample generator which will produce values sampled from a Hermite spline probability distribution.
Public methodStatic memberMakeHermiteSplineSampleGenerator(IRandom, Keyframe, Keyframe)
Returns a sample generator which will produce values sampled from a Hermite spline probability distribution.
Public methodStatic memberMakeHermiteSplineSampleGenerator(IRandom, Vector2, Single, Vector2, Single)
Returns a sample generator which will produce values sampled from a Hermite spline probability distribution.
Public methodStatic memberMakeHermiteSplineSampleGenerator(IRandom, Double, Double, Double, Double, Double, Double)
Returns a sample generator which will produce values sampled from a Hermite spline probability distribution.
Public methodStatic memberMakeHermiteSplineSampleGenerator(IRandom, Single, Single, Single, Single, Single, Single)
Returns a sample generator which will produce values sampled from a Hermite spline probability distribution.
Public methodStatic memberMakeLinearSampleGenerator(IRandom, Vector2, Vector2)
Returns a sample generator which will produce values sampled from a linear probability distribution.
Public methodStatic memberMakeLinearSampleGenerator(IRandom, Double, Double, Double, Double)
Returns a sample generator which will produce values sampled from a linear probability distribution.
Public methodStatic memberMakeLinearSampleGenerator(IRandom, Single, Single, Single, Single)
Returns a sample generator which will produce values sampled from a linear probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Double, Double)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Single, Single)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Double, Double, TwoSidedSymmetricDoubleZigguratTable)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Single, Single, TwoSidedSymmetricFloatZigguratTable)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Double, Double, Double, Double)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Double, Double, Int32, Double)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Single, Single, Int32, Double)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Single, Single, Single, Single)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Double, Double, Double, Double, TwoSidedSymmetricDoubleZigguratTable)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Single, Single, Single, Single, TwoSidedSymmetricFloatZigguratTable)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Double, Double, Double, Double, Int32, Double)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakeNormalSampleGenerator(IRandom, Single, Single, Single, Single, Int32, Double)
Returns a sample generator which will produce values sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberMakePiecewiseHermiteSampleGenerator(IRandom, AnimationCurve)
Returns a sample generator which will produce values sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberMakePiecewiseHermiteSampleGenerator(IRandom, Keyframe)
Returns a sample generator which will produce values sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberMakePiecewiseHermiteSampleGenerator(IRandom, Vector2, Single)
Returns a sample generator which will produce values sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberMakePiecewiseHermiteSampleGenerator(IRandom, Double, Double, Double)
Returns a sample generator which will produce values sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberMakePiecewiseHermiteSampleGenerator(IRandom, Single, Single, Single)
Returns a sample generator which will produce values sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberMakePiecewiseLinearSampleGenerator(IRandom, Vector2)
Returns a sample generator which will produce values sampled from a piecewise linear probability distribution.
Public methodStatic memberMakePiecewiseLinearSampleGenerator(IRandom, Double, Double)
Returns a sample generator which will produce values sampled from a piecewise linear probability distribution.
Public methodStatic memberMakePiecewiseLinearSampleGenerator(IRandom, Single, Single)
Returns a sample generator which will produce values sampled from a piecewise linear probability distribution.
Public methodStatic memberMakePiecewiseUniformSampleGenerator(IRandom, Double, Double)
Returns a sample generator which will produce values sampled from a piecewise uniform probability distribution.
Public methodStatic memberMakePiecewiseUniformSampleGenerator(IRandom, Single, Single)
Returns a sample generator which will produce values sampled from a piecewise uniform probability distribution.
Public methodStatic memberMakePiecewiseUniformSampleGenerator(IRandom, Vector2, Single)
Returns a sample generator which will produce values sampled from a piecewise uniform probability distribution.
Public methodStatic memberMakePiecewiseWeightedUniformSampleGenerator(IRandom, Double, Double)
Returns a sample generator which will produce values sampled from a piecewise uniform probability distribution.
Public methodStatic memberMakePiecewiseWeightedUniformSampleGenerator(IRandom, Single, Single)
Returns a sample generator which will produce values sampled from a piecewise uniform probability distribution.
Public methodStatic memberMakeTrapezoidalSampleGenerator(IRandom, Double, Double, Double, Double)
Returns a sample generator which will produce values sampled from a trapezoidal probability distribution.
Public methodStatic memberMakeTrapezoidalSampleGenerator(IRandom, Single, Single, Single, Single)
Returns a sample generator which will produce values sampled from a trapezoidal probability distribution.
Public methodStatic memberMakeTriangularSampleGenerator(IRandom, Double, Double, Double)
Returns a sample generator which will produce values sampled from a triangular probability distribution.
Public methodStatic memberMakeTriangularSampleGenerator(IRandom, Single, Single, Single)
Returns a sample generator which will produce values sampled from a triangular probability distribution.
Public methodStatic memberMakeUniformSampleGenerator(IRandom, Double, Double)
Returns a sample generator which will produce values sampled from a uniform probability distribution.
Public methodStatic memberMakeUniformSampleGenerator(IRandom, Single, Single)
Returns a sample generator which will produce values sampled from a uniform probability distribution with the given range.
Public methodStatic memberNormalSample(IRandom, Double, Double)
Returns a random value sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberNormalSample(IRandom, Single, Single)
Returns a random value sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberNormalSample(IRandom, Double, Double, Double, Double)
Returns a random value sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberNormalSample(IRandom, Single, Single, Single, Single)
Returns a random value sampled from a normal (gaussian/bell curve) probability distribution.
Public methodStatic memberPiecewiseHermiteSample(IRandom, AnimationCurve)
Returns a random value sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberPiecewiseHermiteSample(IRandom, Keyframe)
Returns a random value sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberPiecewiseHermiteSample(IRandom, Vector2, Single)
Returns a random value sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberPiecewiseHermiteSample(IRandom, Double, Double, Double)
Returns a random value sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberPiecewiseHermiteSample(IRandom, Single, Single, Single)
Returns a random value sampled from a piecewise Hermite spline probability distribution.
Public methodStatic memberPiecewiseLinearSample(IRandom, Vector2)
Returns a random value sampled from a piecewise linear probability distribution.
Public methodStatic memberPiecewiseLinearSample(IRandom, Double, Double)
Returns a random value sampled from a piecewise linear probability distribution.
Public methodStatic memberPiecewiseLinearSample(IRandom, Single, Single)
Returns a random value sampled from a piecewise linear probability distribution.
Public methodStatic memberPiecewiseUniformSample(IRandom, Double, Double)
Returns a random value sampled from a piecewise uniform probability distribution.
Public methodStatic memberPiecewiseUniformSample(IRandom, Single, Single)
Returns a random value sampled from a piecewise uniform probability distribution.
Public methodStatic memberPiecewiseUniformSample(IRandom, Vector2, Single)
Returns a random value sampled from a piecewise uniform probability distribution.
Public methodStatic memberPiecewiseWeightedUniformSample(IRandom, Double, Double)
Returns a random value sampled from a piecewise uniform probability distribution.
Public methodStatic memberPiecewiseWeightedUniformSample(IRandom, Single, Single)
Returns a random value sampled from a piecewise uniform probability distribution.
Public methodStatic memberTrapezoidalSample(IRandom, Double, Double, Double, Double)
Returns a random value sampled from a trapezoidal probability distribution.
Public methodStatic memberTrapezoidalSample(IRandom, Single, Single, Single, Single)
Returns a random value sampled from a trapezoidal probability distribution.
Public methodStatic memberTriangularSample(IRandom, Double, Double, Double)
Returns a random value sampled from a triangular probability distribution.
Public methodStatic memberTriangularSample(IRandom, Single, Single, Single)
Returns a random value sampled from a triangular probability distribution.
Public methodStatic memberUniformSample(IRandom, Double, Double)
Returns a random value sampled from a uniform probability distribution with the given range.
Public methodStatic memberUniformSample(IRandom, Single, Single)
Returns a random value sampled from a uniform probability distribution with the given range.
Top
See Also