1
Borland C++ Builder Contest / graphical iteration
« on: July 11, 2006, 09:51 PM »
My entry to the contest is Iterlab, a program for doing
graphical iteration of functions. I hope this type of program
is appropriate for the contest. It's one is for the math
enthusiasts, it probably goes in the educational/academic
category.
Graphical iteration is a simple way of
visualizing the process of function iteration.
It helps you to see if the sequence of the iterates
converges or diverges.
With this program one can iterate on any function of the
type y=f(x).
The executable is here.
The actual graphs are drawn on a bitmap to display them.
The reason for the bitmap is that when the image needs to be redrawn
it has to go thru all the iterations again, naturally this slows everything
down, by using the bitmap this problem is overcome.
The program uses Aidaim Software's (www.Aidaim.com) parser component to
evaluate the function expression. Many thanks to them for making this
component available free of charge.
There is still an issue regarding re-sizing the graph, if you re-size the
graph while there are iterations being displayed they will be erased.
This is because right now the program doesn't save the iterate values, this
will be fixed in a future version.
There are still many improvements and features that could be added to
the program. The most obvious is to graph the iterates as a time series,
but but I think the program is useful for now. I hope to add these other
features later.
Regards,
Marc
graphical iteration of functions. I hope this type of program
is appropriate for the contest. It's one is for the math
enthusiasts, it probably goes in the educational/academic
category.
Graphical iteration is a simple way of
visualizing the process of function iteration.
It helps you to see if the sequence of the iterates
converges or diverges.
With this program one can iterate on any function of the
type y=f(x).
The executable is here.
The actual graphs are drawn on a bitmap to display them.
The reason for the bitmap is that when the image needs to be redrawn
it has to go thru all the iterations again, naturally this slows everything
down, by using the bitmap this problem is overcome.
The program uses Aidaim Software's (www.Aidaim.com) parser component to
evaluate the function expression. Many thanks to them for making this
component available free of charge.
There is still an issue regarding re-sizing the graph, if you re-size the
graph while there are iterations being displayed they will be erased.
This is because right now the program doesn't save the iterate values, this
will be fixed in a future version.
There are still many improvements and features that could be added to
the program. The most obvious is to graph the iterates as a time series,
but but I think the program is useful for now. I hope to add these other
features later.
Regards,
Marc