org.jscience.mathematics.analysis.chaos
Class JuliaSet

java.lang.Object
  extended by org.jscience.mathematics.analysis.chaos.JuliaSet

public final class JuliaSet
extends java.lang.Object

The JuliaSet class provides an object that encapsulates Julia sets.


Field Summary
static Complex RABBIT
          DOCUMENT ME!
static Complex SAN_MARCO
          DOCUMENT ME!
static Complex SIEGEL_DISK
          DOCUMENT ME!
 
Constructor Summary
JuliaSet(Complex c)
          Constructs a Julia set.
 
Method Summary
 int isMember(Complex z, int maxIter)
          Returns 0 if z is a member of this set, else the number of iterations it took for z to diverge to infinity.
 int isMember(double zRe, double zIm, int maxIter)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RABBIT

public static final Complex RABBIT
DOCUMENT ME!


SAN_MARCO

public static final Complex SAN_MARCO
DOCUMENT ME!


SIEGEL_DISK

public static final Complex SIEGEL_DISK
DOCUMENT ME!

Constructor Detail

JuliaSet

public JuliaSet(Complex c)
Constructs a Julia set.

Parameters:
c - DOCUMENT ME!
Method Detail

isMember

public int isMember(Complex z,
                    int maxIter)
Returns 0 if z is a member of this set, else the number of iterations it took for z to diverge to infinity.

Parameters:
z - DOCUMENT ME!
maxIter - DOCUMENT ME!
Returns:
DOCUMENT ME!

isMember

public int isMember(double zRe,
                    double zIm,
                    int maxIter)
DOCUMENT ME!

Parameters:
zRe - DOCUMENT ME!
zIm - DOCUMENT ME!
maxIter - DOCUMENT ME!
Returns:
DOCUMENT ME!