distro.spad line 1015 [edit on github]
A package to apply polynomial transformations to distributions and integrate polynomials with respect to distributions.
apply(p, d)
computes the distribution of the random variable p(X)
$ where X
has distribution d
.
eval(d, p)
evaluates the distribution d
as a linear functional on the polynomial p
. Same as integrate(p, d)
.
integrate(p, d)
integrates the polynomial p
against the distribution d
. Same as eval(d, p)
.