Maps a real-valued optimization vector theta into the constrained
parameter space used by each model component.
theta_to_domain(model, theta, prep = NULL)Named numeric vector (single model) or a named list (sum model).
A time_series_model or sum_model.
Numeric vector in real space (typically from optim).
Optional output from prepare_optim_layout for sum models.