|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.chaos.CatMap
public final class CatMap
The CatMap class provides an object that encapsulates the cat map. xn+1 = (xn + yn) mod 1 yn+1 = (xn + 2yn) mod 1 (Arnol'd).
Constructor Summary | |
---|---|
CatMap()
Constructs a cat 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 CatMap()
Method 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 |