next up previous contents
Next: Auxiliary Functions Up: Defining Labels and Initial Previous: Variables

Parameters

When examining bifurcations of our bouncing ball map, it is useful to graphically depict (a subset of) the parameter space. Since 66#66, we choose the interval [0,1] as the default range to display 40#40. For 17#17, we choose [0,25] as a default range. As initial parameter values, we choose 84#84, since the dynamics for these parameter values are fairly interesting.

To implement these choices, we edit a few more lines in bball_init() so that the code looks like:

int            n_param=2;                /* dim of parameter space          */
static char    *parameter_names[]={"alpha","gamma"}; /* list of param names */
static double  parameters[]={0.8,10.};   /* initial parameter values        */
static double  parameter_min[]={0.,0.};  /* default param min for display   */
static double  parameter_max[]={1.,25.}; /* default param max for display   */



John Lapeyre
1998-09-04