JSci.maths.chaos
Class MandelbrotSet

java.lang.Object
  extended by JSci.maths.chaos.MandelbrotSet

public final class MandelbrotSet
extends java.lang.Object

The MandelbrotSet class provides an object that encapsulates the Mandelbrot set.


Constructor Summary
MandelbrotSet()
          Constructs a Mandelbrot 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
 

Constructor Detail

MandelbrotSet

public MandelbrotSet()
Constructs a Mandelbrot 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)