Next: Auxiliary Functions
Up: Defining Labels and Initial
Previous: Variables
  Contents
When examining bifurcations of our bouncing ball map, it is useful to graphically
depict (a subset of) the parameter space. Since
,
we
choose the interval [0,1] as the default range to display
.
For
,
we choose [0,25] as a default range.
As initial parameter values, we choose
,
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 */
root
1998-11-02