JSci.maths.chaos
Class StandardMap

java.lang.Object
  extended by JSci.maths.chaos.StandardMap
All Implemented Interfaces:
MappingND

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

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.
 
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 MappingND
Parameters:
x - a 2-D double array
Returns:
a 2-D double array

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