mandelbrot

    3

    1答えて

    私はこのalgorithmをクロージャに移植しようとしています。 私のコードは (defn calc-iterations [x y] (let [c (struct complex x y)] (loop [z (struct complex 0 0) iterations 0] (if (and (< 2.0 (abs z)) (>