Factorial

This page contains an applet that should appear as a separate window.

This model computes factorial using a very inefficient recursive algorithm (to demonstrate the use of ActorRecursion). Each iteration outputs one number. Configure the parameter iterations in DDF Director to specify desired iteration number. Because factorial rises very fast, it is recommended to keep it small to prevent from overflowing.

\ \ MoML specification for this model. \