# DistributionPolynomialPackage(R, S, UPS)¶

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).