Skip to content


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

Delta function on a difference of two bounded discrete random variates.

Factory Functions

Name Description

Member Variables

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

Factory Function Details

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