Julia (version 1.1)

MandelIterate: MandelIterate

Description

'MandelIterate' returns the number of iteration until a complex value diverges for the Mandelbrot map for a give complex number.

Usage

MandelIterate(z_0)

Arguments

z_0

A complex coordinate (constant coefficient value for the map)

Value

Returns an integer

Details

Iterate function.

References

The Fractal Geometry of Nature, Benoit B. Mandelbrot, W.H.Freeman & Co Ltd (18 Nov 1982)

See Also

JuliaIterate and MandelIterate

Examples

Run this code
# NOT RUN {
  z_0 <- 0-0.5i
  it  <- MandelIterate(z_0)
# }

Run the code above in your browser using DataCamp Workspace