Thursday, 24 January 2008

Factoring numerical methods using combinators and functors

The OCaml Journal just published an article demonstrating how functional constructs can be invaluable when implementing numerical methods:

"The same concepts that make functional programming a powerful paradigm for symbolic manipulation can also be applied to numerical methods. This article describes the basic concepts of factoring using higher-order functions and functors in the context of numerical algorithms such as function minimization..."

To read this article and more, subscribe to The OCaml Journal today!


Friday, 11 January 2008

Implementing a simple Ray Tracer

The OCaml Journal just published an article describing the design and implementation of a simple ray tracer with real-time incremental visualization in a GUI using OpenGL and GTK+:

"Ray tracing is a simple but powerful approach to photorealistic rendering and implementing a ray tracer is an excellent way to learn a programming language and, in particular, to learn about graphics and optimization in the context of numerical algorithms. This article walks through the design and implementation of a basic ray tracer that provides real-time visualization a scene using OpenGL in a GUI application that provides the user with rendering options using a GTK+ menu..."

To read this article and more, subscribe to The OCaml Journal today!