org.jscience.mathematics.analysis.chaos
Class StandardMap

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

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

The StandardMap class provides an object that encapsulates the Standard map. xn+1 = (xn + yn+1) mod 2pi yn+1 = (yn + k sin(xn)) mod 2pi (Chirikov, Taylor).


Constructor Summary
StandardMap(double kval)
          Constructs a Standard map.
 
Method Summary
 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
 

Constructor Detail

StandardMap

public StandardMap(double kval)
Constructs a Standard map.

Parameters:
kval - the value of the k 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!

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