jsci.maths.chaos
Class MandelbrotSet
- java.lang.Object
-
- jsci.maths.chaos.MandelbrotSet
-
public final class MandelbrotSet extends java.lang.ObjectThe MandelbrotSet class provides an object that encapsulates the Mandelbrot set.
-
-
Constructor Summary
Constructors Constructor and Description MandelbrotSet()Constructs a Mandelbrot set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intisMember(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.intisMember(double zRe, double zIm, int maxIter)
-
-
-
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)
-
-
DMelt 3.0 © DataMelt by jWork.ORG