Patterns in static

Apophenia

Data Fields
apop_mixture_settings Struct Reference

Data Fields

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

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

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.

Autogenerated by doxygen on Sun Oct 26 2014 (Debian 0.999b+ds3-2).