![]() |
|
Data Fields | |
gsl_vector * | weights |
apop_model ** | model_list |
int | model_count |
int * | param_sizes |
apop_model * | cmf |
int * | cmf_refct |
For mixture distributions, typically set up using apop_model_mixture. See apop_mixture for discussion. Please consider all elements but model_list
and weights
as private and subject to change. See the examples for use of these elements.
apop_model* apop_mixture_settings::cmf |
For internal use by the draw method.
int* apop_mixture_settings::cmf_refct |
For internal use, so I can garbage-collect the CMF when needed.
apop_model** apop_mixture_settings::model_list |
A NULL-terminated
list of component models.
int* apop_mixture_settings::param_sizes |
The number of parameters for each model. Useful for unpacking the params.
gsl_vector* apop_mixture_settings::weights |
The likelihood of a draw from each component.