
Last chance! 50% off unlimited learning
Sale ends in
Mandelbrot convergence counts
mandelbrot(...)
A complex matrix for which convergence counts should be calculated.
Alternative specification of
the complex plane Z
, where
mean(Re(Z)) == xmid
,
mean(Im(Z)) == ymid
,
diff(range(Re(Z))) == side
,
diff(range(Im(Z))) == side
, and
dim(Z) == c(resolution, resolution)
.
Maximum number of iterations per bin.
A threshold; the radius when calling divergence (Mod(z) > tau).
Returns an integer matrix (of class Mandelbrot) with non-negative counts.
# NOT RUN {
counts <- mandelbrot(xmid = -0.75, ymid = 0, side = 3)
str(counts)
# }
# NOT RUN {
plot(counts)
# }
# NOT RUN {
# }
# NOT RUN {
demo("mandelbrot", package = "future", ask = FALSE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab