Convert a distribution's parameters to its natural parameters (per-type)
Source:R/constructors.R
to_natural.RdPer-type conversion of a distribution's parameters to its natural parameters.
Dispatched on the distribution type; each method reads the parameter means
from ux and returns the natural parameters as a named list (see e.g.
to_natural.gamma). The shared pre- and post-processing lives in
convert_to_natural(), which computes ux once and passes it in.