Hi Dana!

On 5 Okt., 19:17, "D.C. Ernst" <[email protected]> wrote:
> I have a student that is interested in generating fractals (like the
> Mandelbrot set).  Is this something Sage can do (or help with)?

Ist s/he interested in the fractals mathematically, as pictures, or as
a nice example for practicing programming skills?

If it is about programming skills, it is certainly instructive to
write a Sage-Python program generating Mandelbrot sets, using the
Sage's plotting facilities. Such program will be very slow. And then,
cythonize it! It is amazing how much Cython speeds the whole
computation up, when you cdefine your complex coordinates as pair of
doubles, and cdefine the indices of any tight loop as int.

Cheers,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.

Reply via email to