Patterns in static

Apophenia

Functions
apop_settings.c File Reference

Functions

void apop_settings_remove_group (apop_model *m, char *delme)
 
void * apop_settings_group_alloc (apop_model *model, char *type, void *free_fn, void *copy_fn, void *the_group)
 
apop_modelapop_settings_group_alloc_wm (apop_model *model, char *type, void *free_fn, void *copy_fn, void *the_group)
 
void * apop_settings_get_grp (apop_model *m, char *type, char fail)
 
void apop_settings_copy_group (apop_model *outm, apop_model *inm, char *copyme)
 

Detailed Description

Specifying model characteristics and details of estimation methods.

Function Documentation

void apop_settings_copy_group ( apop_model outm,
apop_model inm,
char *  copyme 
)

Copy a settings group with the given name from the second model to the first. (i.e., the arguments are in memcpy order).

You probably won't need this often—just use apop_model_copy.

Parameters
outmThe model that will receive a copy of the settings group.
inmThe model that will provide the original.
copymeThe string naming the group. For example, for an apop_mcmc_settings group, this would be "apop_mcmc".
Exceptions
outm->error=='s'Error copying settings group.

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