|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJSci.maths.chaos.StandardMap
The StandardMap class provides an object that encapsulates the Standard map.
xn+1 = (xn + yn+1) mod 2
yn+1 = (yn + k sin(xn)) mod 2
(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 |
public StandardMap(double kval)
kval
- the value of the k parameterMethod Detail |
public double[] map(double[] x)
map
in interface MappingND
x
- a 2-D double array
public double[] iterate(int n, double[] x)
n
- the number of iterationsx
- the initial values (2-D)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |