`representation_as_function.Rd`

Get a distribution's representation as a function

`representation_as_function(distribution, representation)`

- distribution
Distribution to extract a representation from.

- representation
Character, such as

`"cdf"`

. In general, a suffix to an`eval_`

function.

A function with one argument (`at`

) that's fed into the
corresponding `eval_`

function.