Skip to content

SubtractDiscreteDeltaDistribution


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

Delta distribution on difference 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.