Cheatsheet
Cheatsheet
do_while_true; do_while_true;
Sheet } } while ( ondition);
apop_data apop_settings_type
gsl_vector * v e c t o r apop_data * more apop_data apop_data char* name
gsl_vector * w e i g h t s gsl_matrix *matrix ... ... void * a s s t
c h a r ***text int text_size[2] more more free(settings)
apop_name * names copy(settings)
apop_name
gsl_vector gsl_matrix
c h a r title[101]
double* d a t a double * d a t a
i n t colct, rowct, textct
i n t size int size1 int size2
char * vector
... ...
char ** column, **r o w , **t e x t
Figure 1: Key structures are built using other key structures. From the bottom up:
≻ The GSL provides simple vector and matrix structures.
≻ The apop_data struct has one of each, plus a text grid, weights vector, and metadata in an apop_name struct.
≻ Also, the more element points to an apop_data struct as well, allowing for a list of data sets (retrieved via, e.g.,
apop_data_get_page(basedata, "infopage")).
≻ The apop_model includes three types of item: information like data and parameters (which are apop_data structs)
functions that act on the model, and settings. See the online refs on using the settings.