Creates random points
and sorts them (ascendingly). This is a template.
Draws the random points and their
sorted values.
Computation structure — A PHP file
(this page: 'Fx-randSort.php')
calls (via 'action=') an intermediate PHP file
('RandSort.php'), which (through $_POST) sends the problem data
as command line arguments to a Fortran 90 executable.
This last does the computing, and makes 'system' call(s)
to 'gnuplot', for the final (temporary) webpage.
Keywords: PHP, command line arguments,
Fortran executable, gnuplot. |