Class Map2DFunction

java.lang.Object
   |
   +----Map2DFunction

public class Map2DFunction
extends Object
Class to return nf'th iterate of map function.
To be subclassed by specific functions, which must provide: Optional parameters are:.


Variable Index

 o a
array giving map paramters
 o aDefault
array giving default values of map parameters
 o nParameters
number of map parameters (1,2 or 3)
 o showWinding
true if winding number to be shown
 o title
the name of the function to use as a graph title
 o total
number of iterations contributing to winding
 o winding
winding number for circle map
 o windingAdd
set to zero in transients so winding number not updated
 o xmaxDefault
the default value of xmax
 o xminDefault
the default value of xmin
 o ymaxDefault
the default value of ymax
 o yminDefault
the default value of ymin

Constructor Index

 o Map2DFunction()

Method Index

 o getNParameters()
Returns the number of parameters defining the map
 o iterate(double[])
iterates the map function
 o iterateTangent(double[], double[])
iterates the tangent space of the map function
 o mod(double)
Shifts x to 0  o setParameters(double[])
Sets the map paramters

Variables

 o nParameters
 public int nParameters
number of map parameters (1,2 or 3)

 o a
 double a[]
array giving map paramters

 o aDefault
 public double aDefault[]
array giving default values of map parameters

 o title
 public String title
the name of the function to use as a graph title

 o xminDefault
 public double xminDefault
the default value of xmin

 o xmaxDefault
 public double xmaxDefault
the default value of xmax

 o yminDefault
 public double yminDefault
the default value of ymin

 o ymaxDefault
 public double ymaxDefault
the default value of ymax

 o winding
 public int winding
winding number for circle map

 o windingAdd
 public int windingAdd
set to zero in transients so winding number not updated

 o total
 public int total
number of iterations contributing to winding

 o showWinding
 public boolean showWinding
true if winding number to be shown

Constructors

 o Map2DFunction
 public Map2DFunction()

Methods

 o setParameters
 public void setParameters(double parameters[])
Sets the map paramters

Parameters:
paramters - the array of input paramters
 o iterateTangent
 public void iterateTangent(double x[],
                            double t[])
iterates the tangent space of the map function

Parameters:
x - input value and returns updated values x[0] and x[1] contain the new values of X and Y
t - value of tangent vector (updated by iteration)
 o iterate
 public void iterate(double x[])
iterates the map function

Parameters:
x - input value of map point x[0] and x[1] contain the new values of X and Y x[2] and x[3] contain the previous values
 o getNParameters
 public int getNParameters()
Returns the number of parameters defining the map

Returns:
number of parameters
 o mod
 double mod(double x)
Shifts x to 0
Parameters:
x - input value
Returns:
value shifted to between 0 and 1