Generic function for computing the distribution of `f(x)` where `x` models a distribution (random element) object.
Source:R/generic_functions.R
rmap.Rd
When we apply a function `f` to a distribution `x`, the result is a distribution object `f(x)`.