Skip to contents

When we apply a function `f` to a distribution `x`, the result is a distribution object `f(x)`.

Usage

rmap(x, g, ...)

Arguments

x

a list of distribution (random element) objects.

g

a function that accepts arguments sampled from the distribution objects in `x`.

...

additional arguments to pass.