summaryrefslogtreecommitdiffstats
path: root/src/mandelbrot.jl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mandelbrot.jl')
-rw-r--r--src/mandelbrot.jl14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mandelbrot.jl b/src/mandelbrot.jl
deleted file mode 100644
index 9cddee7..0000000
--- a/src/mandelbrot.jl
+++ /dev/null
@@ -1,14 +0,0 @@
-type Mandelbrot{T <: FloatingPoint}
- c::Array{Complex{T}, 2}
- z::Array{Complex{T}, 2}
-
- Mandelbrot(imgsize) = (
- line = linspace(-2.0, 2.0, imgsize);
- plane = [ x + y*im for x=line, y=line ];
- new(plane, plane)
- )
-end
-
-function step{T <: FloatingPoint}(m::Mandelbrot{T})
- m.z = m.z.^2 + m.c
-end