JSci.maths.chaos
Class HenonMap

java.lang.Object
  extended byJSci.maths.chaos.HenonMap
All Implemented Interfaces:
MappingND

public final class HenonMap
extends java.lang.Object
implements MappingND

The HenonMap class provides an object that encapsulates the Henon map. xn+1 = 1 - a xn2 + yn yn+1 = b xn


Field Summary
static double A_CHAOS
          Chaotic a parameter value.
static double B_CHAOS
          Chaotic b parameter value.
 
Constructor Summary
HenonMap(double aval, double bval)
          Constructs a Henon map.
 
Method Summary
 double hausdorffDimension()
           
 double[] iterate(int n, double[] x)
          Iterates the map.
 double[] map(double[] x)
          Performs the mapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A_CHAOS

public static final double A_CHAOS
Chaotic a parameter value.

See Also:
Constant Field Values

B_CHAOS

public static final double B_CHAOS
Chaotic b parameter value.

See Also:
Constant Field Values
Constructor Detail

HenonMap

public HenonMap(double aval,
                double bval)
Constructs a Henon map.

Parameters:
aval - the value of the a parameter
bval - the value of the b parameter
Method Detail

map

public double[] map(double[] x)
Performs the mapping.

Specified by:
map in interface MappingND
Parameters:
x - a 2-D double array
Returns:
a 2-D double array

hausdorffDimension

public double hausdorffDimension()

iterate

public double[] iterate(int n,
                        double[] x)
Iterates the map.

Parameters:
n - the number of iterations
x - the initial values (2-D)
Returns:
a 2-D double array