Skip to content


final class AddBoundedDiscrete(x1:BoundedDiscrete, x2:BoundedDiscrete) < BoundedDiscrete

Delta function on a sum of two bounded discrete distributions.

Factory Functions

Name Description

Member Variables

Name Description
x1:BoundedDiscrete First node.
x2:BoundedDiscrete Second node.
x:Integer? Value for which conditional probabilities have been enumerated.
x0:Integer If clamped, then the lower bound of x1.
z:Real[_] If clamped, then the probabilities of all possible values of x1, starting from x0.
Z:Real If clamped, then the sum of z.

Factory Function Details

function AddBoundedDiscrete(x1:BoundedDiscrete, x2:BoundedDiscrete) -> AddBoundedDiscrete