Range

A simplified representation of some probability distribution. Supports uniform distributions and basic operations on them (sum / product).

Members

Functions

fuzzyAssign
Range!T fuzzyAssign(Range!T val, double prob)
Range!T fuzzyAssign(T val, double prob)

Apply a prob chance that this equals val.

opBinary
auto opBinary(U u)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
auto opBinary(R r)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
auto opBinaryRight(U u)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
auto opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
to
Range!U to()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

avg
T avg;
hi
T hi;

Low, high, and average points.

lo
T lo;

Low, high, and average points.

Meta