![]() |
|
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_model * | apop_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) |
Specifying model characteristics and details of estimation methods.
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.
outm | The model that will receive a copy of the settings group. |
inm | The model that will provide the original. |
copyme | The string naming the group. For example, for an apop_mcmc_settings group, this would be "apop_mcmc" . |
outm->error=='s' | Error copying settings group. |