Patterns in static

Apophenia

apop_mixture_settings Struct Reference

Data Fields

apop_modelcmf
 
int * cmf_refct
 
int model_count
 
apop_model ** model_list
 
int * param_sizes
 
gsl_vector * weights
 

Detailed Description

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.

Field Documentation

§ cmf

apop_model * apop_mixture_settings::cmf

For internal use by the draw method.

§ cmf_refct

int * apop_mixture_settings::cmf_refct

For internal use, so I can garbage-collect the CMF when needed.

§ model_list

apop_model ** apop_mixture_settings::model_list

A NULL-terminated list of component models.

§ param_sizes

int * apop_mixture_settings::param_sizes

The number of parameters for each model. Useful for unpacking the params.

§ weights

gsl_vector * apop_mixture_settings::weights

The likelihood of a draw from each component.

Autogenerated by doxygen (Debian ).