transform(r: ranvar, a: number) 🡒 ranvar, pure function
Let $X$ be the random variable over $\mathbb{Z}$ associated to the ranvar r. Returns the ranvar that approximates the random variable $P[X = n / a]$ through interpolation.
Example:
show scalar "poisson(2)" a1c3 with poisson(2)
show scalar "transform(poisson(2), 3)" a4c6 with transform(poisson(2), 3)