org.jscience.mathematics.analysis.chaos
Class HenonMap

java.lang.Object
  extended by org.jscience.mathematics.analysis.chaos.HenonMap
All Implemented Interfaces:
AbstractMapping, PrimitiveMappingND

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

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()
          DOCUMENT ME!
 double[] iterate(int n, double[] x)
          Iterates the map.
 double[] map(double[] x)
          Performs the mapping.
 double[] map(float[] x)
          DOCUMENT ME!
 double[] map(int[] x)
          DOCUMENT ME!
 double[] map(long[] x)
          DOCUMENT ME!
 int numInputDimensions()
          DOCUMENT ME!
 int numOutputDimensions()
          DOCUMENT ME!
 
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 PrimitiveMappingND
Parameters:
x - a 2-D double array
Returns:
a 2-D double array
See Also:
org.jscience.mathematics.analysis.Domain.

map

public double[] map(float[] x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMappingND
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

map

public double[] map(long[] x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMappingND
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

map

public double[] map(int[] x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMappingND
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

numInputDimensions

public int numInputDimensions()
DOCUMENT ME!

Specified by:
numInputDimensions in interface PrimitiveMappingND
Returns:
DOCUMENT ME!

numOutputDimensions

public int numOutputDimensions()
DOCUMENT ME!

Specified by:
numOutputDimensions in interface PrimitiveMappingND
Returns:
DOCUMENT ME!

hausdorffDimension

public double hausdorffDimension()
DOCUMENT ME!

Returns:
DOCUMENT ME!

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