    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.maths.chaos.MandelbrotMap

    java.lang.Object
       |
       +----JSci.maths.chaos.MandelbrotMap

public final class MandelbrotMap
extends Object
implements Mapping

The MandelbrotMap class provides an object that encapsulates the Mandelbrot map.

##

MandelbrotMap(Complex)
  Constructs a Mandelbrot map.
MandelbrotMap(double)
  Constructs a Mandelbrot map.

##

iterate(int, Complex)
  Iterates the map.
iterate(int, double)
  Iterates the map.
map(Complex)
  Performs the mapping.
map(double)
  Performs the mapping.

##

MandelbrotMap

     public MandelbrotMap(double aval)

  Constructs a Mandelbrot map.

  Parameters:
    aval - the value of the a parameter

MandelbrotMap

     public MandelbrotMap(Complex aval)

  Constructs a Mandelbrot map.

  Parameters:
    aval - the value of the a parameter

##

map

     public double map(double x)

  Performs the mapping.

  Parameters:
    x - a double

map

     public Complex map(Complex z)

  Performs the mapping.

  Parameters:
    z - a complex number

iterate

     public double iterate(int n,
                           double x)

  Iterates the map.

  Parameters:
    n - the number of iterations
    x - the initial value

iterate

     public Complex iterate(int n,
                            Complex z)

  Iterates the map.

  Parameters:
    n - the number of iterations
    z - the initial value

    All Packages  Class Hierarchy  This Package  Previous  Next  Index