This code shown below works well for n<=10, if n>11, Mathematica gives the message
CompiledFunction::cfne: Numerical error encountered; proceeding with uncompiled evaluation. >>.
So compilation failed, my questions is: How can I make it compilable?
cf = Compile[{{n, _Integer}},
With[{c = Table[j + i*I, {i, -1.2, 1.2, .006015}, {j, -1.8, 0.6, .006015}]},
Exp[-Abs@Nest[#^2 + c &, c, n]]]];
Compile
). $\endgroup$Exp
to zero. I assume that you are studying something about Julia sets so the divergence area is not the one that you are mainly interested at. $\endgroup$