equal
deleted
inserted
replaced
163 |
163 |
164 // some more computations with example 3 |
164 // some more computations with example 3 |
165 |
165 |
166 val delta = (exc2 - exc1) * 0.0333 |
166 val delta = (exc2 - exc1) * 0.0333 |
167 |
167 |
168 //println(s"${time_needed( |
168 println(s"${time_needed( |
169 // for (n <- (0 to 12)) |
169 for (n <- (0 to 25)) |
170 // mandelbrot(exc1 + delta * n, |
170 mandelbrot(exc1 + delta * n, |
171 // exc2 - delta * n, 100))} secs") |
171 exc2 - delta * n, 1000))} secs") |
172 |
172 |
173 |
173 |
174 |
174 |
175 // Larry Paulson's example |
175 // Larry Paulson's example |
176 val exl1 = -0.74364990 + 0.13188170 * i |
176 val exl1 = -0.74364990 + 0.13188170 * i |