Skip to content


final class AddDiscreteDeltaDistribution(p:BoundedDiscreteDistribution, q:BoundedDiscreteDistribution) < BoundedDiscreteDistribution

Delta distribution on sum of two bounded discrete random variables.

Member Variables

Name Description
p:BoundedDiscreteDistribution Distribution over first random variable.
q:BoundedDiscreteDistribution Distribution over second random variable.
x:Integer? Value at which probabilities have been enumerated.
l:Integer If enumerated, then the lower bound on the support of p.
u:Integer If enumerated, then the upper bound on the support of p.
z:Real[_] If enumerated, then the probabilities across the support of p, starting from l.
Z:Real If enumerated, then the sum of z.