Post Reply 
Recursive functions and Advanced Graphing
09-11-2018, 04:44 PM
Post: #2
RE: Recursive functions and Advanced Graphing
(09-11-2018 12:34 PM)Sven44 Wrote:  (Motivation: what I really want to do is define mandelbrot(N, Z, C)= when(N<2, |Z|<2, mandelbrot(N-1, Z^2+C),C), and plot mandelbrot(20, 0, X+Yi)=1 ! :-) )

Since it's tail recursive, can't you do it by iteration instead of by recursion?

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Recursive functions and Advanced Graphing - ijabbott - 09-11-2018 04:44 PM



User(s) browsing this thread: 1 Guest(s)