/*-- vartable.h --*/ /* This software may only be used by you under license from AT&T Corp. ("AT&T"). A copy of AT&T's Source Code Agreement is available at AT&T's Internet website having the URL: If you received this software without first entering into a license with AT&T, you have an infringing copy of this software and cannot use it without violating AT&T's intellectual property rights. */ #ifndef VARTABLE_H #define VARTABLE_H #define NCOLS_CLIST 10 #define CLIST_VARNO 0 #define CLIST_VARNAME 1 #define CLIST_TFORM 2 #define CLIST_USER_MIN 3 #define CLIST_USER_MAX 4 #define CLIST_DATA_MIN 5 #define CLIST_DATA_MAX 6 #define CLIST_MEAN 7 #define CLIST_MEDIAN 8 #define CLIST_NMISSING 9 #define ADDVAR_ROWNOS 0 #define ADDVAR_BGROUP 1 /* column-wise data that will appear in the variable table */ typedef struct { gchar *collab, *collab_tform; gint nmissing; /*-- reference variable: jref=-1 except for cloned or sphered variables --*/ gint jref; /*-- unadjusted, unaffected by imputation --*/ gfloat mean, median; lims lim_raw; /*-- range of the raw data --*/ lims lim_tform; /*-- range of d->tform --*/ /* * If the user has supplied limits, lim_specified_p = true * and the limits are stored in lim_specified.{min,max} */ gboolean lim_specified_p; lims lim_specified; lims lim_specified_tform; lims lim; /*-- limits in use: lim_specified_tform or lim_tform --*/ /*-- transformations --*/ gint tform0; gfloat domain_incr; /*-- stage 0 --*/ gfloat (*domain_adj) (gfloat x, gfloat incr); gfloat (*inv_domain_adj) (gfloat x, gfloat incr); gint tform1; gfloat param; gint tform2; /*-- jittering --*/ gfloat jitter_factor; /*-- in variable table --*/ gboolean selected; } vartabled; #endif