JSci.maths.chaos
Class JuliaSet

java.lang.Object
  extended byJSci.maths.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
           
static Complex SAN_MARCO
           
static Complex SIEGEL_DISK
           
 
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)
           
 
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

SAN_MARCO

public static final Complex SAN_MARCO

SIEGEL_DISK

public static final Complex SIEGEL_DISK
Constructor Detail

JuliaSet

public JuliaSet(Complex c)
Constructs a Julia set.

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.


isMember

public int isMember(double zRe,
                    double zIm,
                    int maxIter)