ae.utils.math.distribution

Very basic (and probably buggy) numeric distribution / probability operations. WIP, do not use.

Members

Functions

and
Probability and(Probability a, Probability b)
Undocumented in source. Be warned that the author may not have intended to support it.
cond
void cond(Probability p)
Undocumented in source. Be warned that the author may not have intended to support it.
cond
void cond(Probability p)
Undocumented in source. Be warned that the author may not have intended to support it.
not
Probability not(Probability a)
Undocumented in source. Be warned that the author may not have intended to support it.
or
Probability or(Probability a, Probability b)
Undocumented in source. Be warned that the author may not have intended to support it.
range
Range!T range(T lo, T hi, T avg)
Undocumented in source. Be warned that the author may not have intended to support it.
range
Range!T range(T lo, T hi)
Undocumented in source. Be warned that the author may not have intended to support it.
range
Range!T range(T val)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Probability
struct Probability

Indicates the probability of a certain event.

Range
struct Range(T)

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

Templates

cmp
template cmp(string op)
Undocumented in source.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <vladimir@thecybershadow.net>