Return the probability of both unrelated events a and b occurring.
Apply doIf if p is possible. doIf receives the probability of the event (non-zero).
Apply doIf if p is possible, and/or doElse if !p is possible, doIf and doElse receive the probability of their respective event (non-zero).
Return the probability of event a not occurring.
Return the probability of at least one of the unrelated events a and b occurring.
Indicates the probability of a certain event.
A quantized representation of a the probability distribution of some continuous function returning a value between 0 and 1.
A simplified representation of some probability distribution. Supports uniform distributions and basic operations on them (sum / product).
Return the probability that a op b, where op is < / <= / > / >=, and a and b are numbers or ranges representing a uniform distribution.
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/.
Very basic (and probably buggy) numeric distribution / probability operations. WIP, do not use.