#include "Complex.cc" #include #include "TH2F.h" #include "TBenchmark.h" #include "TStyle.h" using namespace std; int mandel(Complex point){ Complex temp = point; int iter=0; const int max_iter=200; const double soglia=100; while ((iter++)Start("mandel"); int nbinx=1000; int nbiny=1000; /// Zoom cuspide //int nbinx=1000; minx= -1.05; maxx= -0.66; // int nbiny=1000; miny= -0.29; maxy= -0.03; // // / Zoom interessante // // int nbinx=1000; // minx= -0.19; // maxx= -0.13; // //int nbiny=1000; // miny= -1.09; // maxy= -0.98; /// Zoom ancora piu' profondo // int nbinx=1000; // minx= -0.1753; // maxx= -0.1739; // int nbiny=1000; // miny= -1.0725; // maxy= -1.0705; TH2F hMan("mandel","Mandelbrot",nbinx,minx,maxx,nbiny,miny,maxy); for (int ix=0; ixSetOptStat(0); hMan.DrawCopy("col"); gBenchmark->Stop("mandel"); gBenchmark->Print("mandel"); }