Make It Random User's Manual

RandomSignOrZero Class |

A static class of extension methods for generating random integers from the set { -1, 0, +1 }.

Inheritance Hierarchy

Syntax

C#

public static class RandomSignOrZero

Methods

Name | Description | |
---|---|---|

MakeNegativeProbabilityGenerator(IRandom, Double) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a negative one result is set by the parameter probability.
| |

MakeNegativeProbabilityGenerator(IRandom, Int32) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a negative one result is numerator/2^31.
| |

MakeNegativeProbabilityGenerator(IRandom, Int64) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a negative one result is numerator/2^63.
| |

MakeNegativeProbabilityGenerator(IRandom, Single) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a negative one result is set by the parameter probability.
| |

MakeNegativeProbabilityGenerator(IRandom, UInt32) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a negative one result is numerator/2^32.
| |

MakeNegativeProbabilityGenerator(IRandom, UInt64) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a negative one result is numerator/2^64.
| |

MakeNegativeProbabilityGenerator(IRandom, Double, Double) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a negative one result is numerator/denominator.
| |

MakeNegativeProbabilityGenerator(IRandom, Int32, Int32) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a negative one result is numerator/denominator.
| |

MakeNegativeProbabilityGenerator(IRandom, Int64, Int64) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a negative one result is numerator/denominator.
| |

MakeNegativeProbabilityGenerator(IRandom, Single, Single) | ||

MakeNegativeProbabilityGenerator(IRandom, UInt32, UInt32) | ||

MakeNegativeProbabilityGenerator(IRandom, UInt64, UInt64) | ||

MakeOneOrZeroGenerator(IRandom) |
Returns an integer generator which will produce numbers with exacty a half and half chance of being positive one or zero.
| |

MakeOneOrZeroGenerator(IRandom, Double, Double) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where on average the ratio of positive one results to zero results will be ratioOne:ratioZero.
| |

MakeOneOrZeroGenerator(IRandom, Int32, Int32) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where on average the ratio of positive one results to zero results will be ratioOne:ratioZero.
| |

MakeOneOrZeroGenerator(IRandom, Int64, Int64) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where on average the ratio of positive one results to zero results will be ratioOne:ratioZero.
| |

MakeOneOrZeroGenerator(IRandom, Single, Single) | ||

MakeOneOrZeroGenerator(IRandom, UInt32, UInt32) | ||

MakeOneOrZeroGenerator(IRandom, UInt64, UInt64) | ||

MakeOneProbabilityGenerator(IRandom, Double) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a positive one result is set by the parameter probability.
| |

MakeOneProbabilityGenerator(IRandom, Int32) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a positive one result is numerator/2^31.
| |

MakeOneProbabilityGenerator(IRandom, Int64) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a positive one result is numerator/2^63.
| |

MakeOneProbabilityGenerator(IRandom, Single) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a positive one result is set by the parameter probability.
| |

MakeOneProbabilityGenerator(IRandom, UInt32) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a positive one result is numerator/2^32.
| |

MakeOneProbabilityGenerator(IRandom, UInt64) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a positive one result is numerator/2^64.
| |

MakeOneProbabilityGenerator(IRandom, Double, Double) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a positive one result is numerator/denominator.
| |

MakeOneProbabilityGenerator(IRandom, Int32, Int32) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a positive one result is numerator/denominator.
| |

MakeOneProbabilityGenerator(IRandom, Int64, Int64) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a positive one result is numerator/denominator.
| |

MakeOneProbabilityGenerator(IRandom, Single, Single) | ||

MakeOneProbabilityGenerator(IRandom, UInt32, UInt32) | ||

MakeOneProbabilityGenerator(IRandom, UInt64, UInt64) | ||

MakePositiveProbabilityGenerator(IRandom, Double) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a positive one result is set by the parameter probability.
| |

MakePositiveProbabilityGenerator(IRandom, Int32) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a positive one result is numerator/2^31.
| |

MakePositiveProbabilityGenerator(IRandom, Int64) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a positive one result is numerator/2^63.
| |

MakePositiveProbabilityGenerator(IRandom, Single) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a positive one result is set by the parameter probability.
| |

MakePositiveProbabilityGenerator(IRandom, UInt32) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a positive one result is numerator/2^32.
| |

MakePositiveProbabilityGenerator(IRandom, UInt64) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a positive one result is numerator/2^64.
| |

MakePositiveProbabilityGenerator(IRandom, Double, Double) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a positive one result is numerator/denominator.
| |

MakePositiveProbabilityGenerator(IRandom, Int32, Int32) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a positive one result is numerator/denominator.
| |

MakePositiveProbabilityGenerator(IRandom, Int64, Int64) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where the probability of a positive one result is numerator/denominator.
| |

MakePositiveProbabilityGenerator(IRandom, Single, Single) | ||

MakePositiveProbabilityGenerator(IRandom, UInt32, UInt32) | ||

MakePositiveProbabilityGenerator(IRandom, UInt64, UInt64) | ||

MakeSignGenerator(IRandom) |
Returns an integer generator which will produce numbers with exacty a half and half chance of being positive one or negative one.
| |

MakeSignGenerator(IRandom, Double, Double) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where on average the ratio of positive one results to negative one results will be ratioPositive:ratioNegative.
| |

MakeSignGenerator(IRandom, Int32, Int32) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where on average the ratio of positive one results to negative one results will be ratioPositive:ratioNegative.
| |

MakeSignGenerator(IRandom, Int64, Int64) |
Returns an integer generator which will produce random numbers from the set { -1, +1 } where on average the ratio of positive one results to negative one results will be ratioPositive:ratioNegative.
| |

MakeSignGenerator(IRandom, Single, Single) | ||

MakeSignGenerator(IRandom, UInt32, UInt32) | ||

MakeSignGenerator(IRandom, UInt64, UInt64) | ||

MakeSignOrZeroGenerator(IRandom) |
Returns an integer generator which will produce numbers with exacty a one third chance each of being positive one, zero, or negative one.
| |

MakeSignOrZeroGenerator(IRandom, Double, Double, Double) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where on average the ratio of positive one results to zero results to negative one results will be ratioPositive:ratioZero:ratioNegative.
| |

MakeSignOrZeroGenerator(IRandom, Int32, Int32, Int32) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where on average the ratio of positive one results to zero results to negative one results will be ratioPositive:ratioZero:ratioNegative.
| |

MakeSignOrZeroGenerator(IRandom, Int64, Int64, Int64) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where on average the ratio of positive one results to zero results to negative one results will be ratioPositive:ratioZero:ratioNegative.
| |

MakeSignOrZeroGenerator(IRandom, Single, Single, Single) | ||

MakeSignOrZeroGenerator(IRandom, UInt32, UInt32, UInt32) | ||

MakeSignOrZeroGenerator(IRandom, UInt64, UInt64, UInt64) | ||

MakeSignProbabilityGenerator(IRandom, Double, Double) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where the probability of a positive one result is set by the parameter probabilityPositive and the probability of a positive one result is set by the parameter probabilityNegative. The probability of a zero result is whatever probability is left over.
| |

MakeSignProbabilityGenerator(IRandom, Int32, Int32) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/2^31 and the probability of a negative one result is numeratorNegative/2^31. The probability of a zero result is whatever probability is left over.
| |

MakeSignProbabilityGenerator(IRandom, Int64, Int64) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/2^63 and the probability of a negative one result is numeratorNegative/2^63. The probability of a zero result is whatever probability is left over.
| |

MakeSignProbabilityGenerator(IRandom, Single, Single) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where the probability of a positive one result is set by the parameter probabilityPositive and the probability of a positive one result is set by the parameter probabilityNegative. The probability of a zero result is whatever probability is left over.
| |

MakeSignProbabilityGenerator(IRandom, UInt32, UInt32) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/2^32 and the probability of a negative one result is numeratorNegative/2^32. The probability of a zero result is whatever probability is left over.
| |

MakeSignProbabilityGenerator(IRandom, UInt64, UInt64) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/2^64 and the probability of a negative one result is numeratorNegative/2^64. The probability of a zero result is whatever probability is left over.
| |

MakeSignProbabilityGenerator(IRandom, Double, Double, Double) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/denominator and the probability of a negative one result is numeratorNegative/denominator. The probability of a zero result is whatever probability is left over.
| |

MakeSignProbabilityGenerator(IRandom, Int32, Int32, Int32) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/denominator and the probability of a negative one result is numeratorNegative/denominator. The probability of a zero result is whatever probability is left over.
| |

MakeSignProbabilityGenerator(IRandom, Int64, Int64, Int64) |
Returns an integer generator which will produce random numbers from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/denominator and the probability of a negative one result is numeratorNegative/denominator. The probability of a zero result is whatever probability is left over.
| |

MakeSignProbabilityGenerator(IRandom, Single, Single, Single) | ||

MakeSignProbabilityGenerator(IRandom, UInt32, UInt32, UInt32) | ||

MakeSignProbabilityGenerator(IRandom, UInt64, UInt64, UInt64) | ||

MakeZeroProbabilityGenerator(IRandom, Double) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a zero result is set by the parameter probability.
| |

MakeZeroProbabilityGenerator(IRandom, Int32) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a zero result is numerator/2^31.
| |

MakeZeroProbabilityGenerator(IRandom, Int64) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a zero result is numerator/2^63.
| |

MakeZeroProbabilityGenerator(IRandom, Single) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a zero result is set by the parameter probability.
| |

MakeZeroProbabilityGenerator(IRandom, UInt32) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a zero result is numerator/2^32.
| |

MakeZeroProbabilityGenerator(IRandom, UInt64) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a zero result is numerator/2^64.
| |

MakeZeroProbabilityGenerator(IRandom, Double, Double) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a zero result is numerator/denominator.
| |

MakeZeroProbabilityGenerator(IRandom, Int32, Int32) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a zero result is numerator/denominator.
| |

MakeZeroProbabilityGenerator(IRandom, Int64, Int64) |
Returns an integer generator which will produce random numbers from the set { 0, +1 } where the probability of a zero result is numerator/denominator.
| |

MakeZeroProbabilityGenerator(IRandom, Single, Single) | ||

MakeZeroProbabilityGenerator(IRandom, UInt32, UInt32) | ||

MakeZeroProbabilityGenerator(IRandom, UInt64, UInt64) | ||

NegativeProbability(IRandom, Double) |
Returns a random integer from the set { -1, +1 } where the probability of a negative one result is set by the parameter probability.
| |

NegativeProbability(IRandom, Int32) |
Returns a random integer from the set { -1, +1 } where the probability of a negative one result is numerator/2^31.
| |

NegativeProbability(IRandom, Int64) |
Returns a random integer from the set { -1, +1 } where the probability of a negative one result is numerator/2^63.
| |

NegativeProbability(IRandom, Single) |
Returns a random integer from the set { -1, +1 } where the probability of a negative one result is set by the parameter probability.
| |

NegativeProbability(IRandom, UInt32) |
Returns a random integer from the set { -1, +1 } where the probability of a negative one result is numerator/2^32.
| |

NegativeProbability(IRandom, UInt64) |
Returns a random integer from the set { -1, +1 } where the probability of a negative one result is numerator/2^64.
| |

NegativeProbability(IRandom, Double, Double) |
Returns a random integer from the set { -1, +1 } where the probability of a negative one result is numerator/denominator.
| |

NegativeProbability(IRandom, Int32, Int32) |
Returns a random integer from the set { -1, +1 } where the probability of a negative one result is numerator/denominator.
| |

NegativeProbability(IRandom, Int64, Int64) |
Returns a random integer from the set { -1, +1 } where the probability of a negative one result is numerator/denominator.
| |

NegativeProbability(IRandom, Single, Single) | ||

NegativeProbability(IRandom, UInt32, UInt32) | ||

NegativeProbability(IRandom, UInt64, UInt64) | ||

OneOrZero(IRandom) |
Returns a random integer with exacty a half and half chance of being positive one or zero.
| |

OneOrZero(IRandom, Double, Double) |
Returns a random integer from the set { 0, +1 } where on average the ratio of positive one results to zero results will be ratioOne:ratioZero.
| |

OneOrZero(IRandom, Int32, Int32) |
Returns a random integer from the set { 0, +1 } where on average the ratio of positive one results to zero results will be ratioOne:ratioZero.
| |

OneOrZero(IRandom, Int64, Int64) |
Returns a random integer from the set { 0, +1 } where on average the ratio of positive one results to zero results will be ratioOne:ratioZero.
| |

OneOrZero(IRandom, Single, Single) | ||

OneOrZero(IRandom, UInt32, UInt32) | ||

OneOrZero(IRandom, UInt64, UInt64) | ||

OneProbability(IRandom, Double) |
Returns a random integer from the set { 0, +1 } where the probability of a positive one result is set by the parameter probability.
| |

OneProbability(IRandom, Int32) |
Returns a random integer from the set { 0, +1 } where the probability of a positive one result is numerator/2^31.
| |

OneProbability(IRandom, Int64) |
Returns a random integer from the set { 0, +1 } where the probability of a positive one result is numerator/2^63.
| |

OneProbability(IRandom, Single) |
Returns a random integer from the set { 0, +1 } where the probability of a positive one result is set by the parameter probability.
| |

OneProbability(IRandom, UInt32) |
Returns a random integer from the set { 0, +1 } where the probability of a positive one result is numerator/2^32.
| |

OneProbability(IRandom, UInt64) |
Returns a random integer from the set { 0, +1 } where the probability of a positive one result is numerator/2^64.
| |

OneProbability(IRandom, Double, Double) |
Returns a random integer from the set { 0, +1 } where the probability of a positive one result is numerator/denominator.
| |

OneProbability(IRandom, Int32, Int32) |
Returns a random integer from the set { 0, +1 } where the probability of a positive one result is numerator/denominator.
| |

OneProbability(IRandom, Int64, Int64) |
Returns a random integer from the set { 0, +1 } where the probability of a positive one result is numerator/denominator.
| |

OneProbability(IRandom, Single, Single) | ||

OneProbability(IRandom, UInt32, UInt32) | ||

OneProbability(IRandom, UInt64, UInt64) | ||

PositiveProbability(IRandom, Double) |
Returns a random integer from the set { -1, +1 } where the probability of a positive one result is set by the parameter probability.
| |

PositiveProbability(IRandom, Int32) |
Returns a random integer from the set { -1, +1 } where the probability of a positive one result is numerator/2^31.
| |

PositiveProbability(IRandom, Int64) |
Returns a random integer from the set { -1, +1 } where the probability of a positive one result is numerator/2^63.
| |

PositiveProbability(IRandom, Single) |
Returns a random integer from the set { -1, +1 } where the probability of a positive one result is set by the parameter probability.
| |

PositiveProbability(IRandom, UInt32) |
Returns a random integer from the set { -1, +1 } where the probability of a positive one result is numerator/2^32.
| |

PositiveProbability(IRandom, UInt64) |
Returns a random integer from the set { -1, +1 } where the probability of a positive one result is numerator/2^64.
| |

PositiveProbability(IRandom, Double, Double) |
Returns a random integer from the set { -1, +1 } where the probability of a positive one result is numerator/denominator.
| |

PositiveProbability(IRandom, Int32, Int32) |
Returns a random integer from the set { -1, +1 } where the probability of a positive one result is numerator/denominator.
| |

PositiveProbability(IRandom, Int64, Int64) |
Returns a random integer from the set { -1, +1 } where the probability of a positive one result is numerator/denominator.
| |

PositiveProbability(IRandom, Single, Single) | ||

PositiveProbability(IRandom, UInt32, UInt32) | ||

PositiveProbability(IRandom, UInt64, UInt64) | ||

Sign(IRandom) |
Returns a random integer with exacty a half and half chance of being positive one or negative one.
| |

Sign(IRandom, Double, Double) |
Returns a random integer from the set { -1, +1 } where on average the ratio of positive one results to negative one results will be ratioPositive:ratioNegative.
| |

Sign(IRandom, Int32, Int32) |
Returns a random integer from the set { -1, +1 } where on average the ratio of positive one results to negative one results will be ratioPositive:ratioNegative.
| |

Sign(IRandom, Int64, Int64) |
Returns a random integer from the set { -1, +1 } where on average the ratio of positive one results to negative one results will be ratioPositive:ratioNegative.
| |

Sign(IRandom, Single, Single) | ||

Sign(IRandom, UInt32, UInt32) | ||

Sign(IRandom, UInt64, UInt64) | ||

SignOrZero(IRandom) |
Returns a random integer with exacty a one third chance each of being positive one, zero, or negative one.
| |

SignOrZero(IRandom, Double, Double, Double) |
Returns a random integer from the set { -1, 0, +1 } where on average the ratio of positive one results to zero results to negative one results will be ratioPositive:ratioZero:ratioNegative.
| |

SignOrZero(IRandom, Int32, Int32, Int32) |
Returns a random integer from the set { -1, 0, +1 } where on average the ratio of positive one results to zero results to negative one results will be ratioPositive:ratioZero:ratioNegative.
| |

SignOrZero(IRandom, Int64, Int64, Int64) |
Returns a random integer from the set { -1, 0, +1 } where on average the ratio of positive one results to zero results to negative one results will be ratioPositive:ratioZero:ratioNegative.
| |

SignOrZero(IRandom, Single, Single, Single) | ||

SignOrZero(IRandom, UInt32, UInt32, UInt32) | ||

SignOrZero(IRandom, UInt64, UInt64, UInt64) | ||

SignProbability(IRandom, Double, Double) |
Returns a random integer from the set { -1, 0, +1 } where the probability of a positive one result is set by the parameter probabilityPositive and the probability of a positive one result is set by the parameter probabilityNegative. The probability of a zero result is whatever probability is left over.
| |

SignProbability(IRandom, Int32, Int32) |
Returns a random integer from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/2^31 and the probability of a negative one result is numeratorNegative/2^31. The probability of a zero result is whatever probability is left over.
| |

SignProbability(IRandom, Int64, Int64) |
Returns a random integer from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/2^63 and the probability of a negative one result is numeratorNegative/2^63. The probability of a zero result is whatever probability is left over.
| |

SignProbability(IRandom, Single, Single) |
Returns a random integer from the set { -1, 0, +1 } where the probability of a positive one result is set by the parameter probabilityPositive and the probability of a positive one result is set by the parameter probabilityNegative. The probability of a zero result is whatever probability is left over.
| |

SignProbability(IRandom, UInt32, UInt32) |
Returns a random integer from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/2^32 and the probability of a negative one result is numeratorNegative/2^32. The probability of a zero result is whatever probability is left over.
| |

SignProbability(IRandom, UInt64, UInt64) |
Returns a random integer from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/2^64 and the probability of a negative one result is numeratorNegative/2^64. The probability of a zero result is whatever probability is left over.
| |

SignProbability(IRandom, Double, Double, Double) |
Returns a random integer from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/denominator and the probability of a negative one result is numeratorNegative/denominator. The probability of a zero result is whatever probability is left over.
| |

SignProbability(IRandom, Int32, Int32, Int32) |
Returns a random integer from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/denominator and the probability of a negative one result is numeratorNegative/denominator. The probability of a zero result is whatever probability is left over.
| |

SignProbability(IRandom, Int64, Int64, Int64) |
Returns a random integer from the set { -1, 0, +1 } where the probability of a positive one result is numeratorPositive/denominator and the probability of a negative one result is numeratorNegative/denominator. The probability of a zero result is whatever probability is left over.
| |

SignProbability(IRandom, Single, Single, Single) | ||

SignProbability(IRandom, UInt32, UInt32, UInt32) | ||

SignProbability(IRandom, UInt64, UInt64, UInt64) | ||

ZeroProbability(IRandom, Double) |
Returns a random integer from the set { 0, +1 } where the probability of a zero result is set by the parameter probability.
| |

ZeroProbability(IRandom, Int32) |
Returns a random integer from the set { 0, +1 } where the probability of a zero result is numerator/2^31.
| |

ZeroProbability(IRandom, Int64) |
Returns a random integer from the set { 0, +1 } where the probability of a zero result is numerator/2^63.
| |

ZeroProbability(IRandom, Single) |
Returns a random integer from the set { 0, +1 } where the probability of a zero result is set by the parameter probability.
| |

ZeroProbability(IRandom, UInt32) |
Returns a random integer from the set { 0, +1 } where the probability of a zero result is numerator/2^32.
| |

ZeroProbability(IRandom, UInt64) |
Returns a random integer from the set { 0, +1 } where the probability of a zero result is numerator/2^64.
| |

ZeroProbability(IRandom, Double, Double) |
Returns a random integer from the set { 0, +1 } where the probability of a zero result is numerator/denominator.
| |

ZeroProbability(IRandom, Int32, Int32) |
Returns a random integer from the set { 0, +1 } where the probability of a zero result is numerator/denominator.
| |

ZeroProbability(IRandom, Int64, Int64) |
Returns a random integer from the set { 0, +1 } where the probability of a zero result is numerator/denominator.
| |

ZeroProbability(IRandom, Single, Single) | ||

ZeroProbability(IRandom, UInt32, UInt32) | ||

ZeroProbability(IRandom, UInt64, UInt64) |

See Also