From e4911b40db265876be7eeab208ee98ace36359f9 Mon Sep 17 00:00:00 2001
From: "W. Trevor King" gnuplot
. We seek the average and
standard deviation of the y column.
The code average.c solves this
-problem using a serial algorithm. Note the use of malloc
-and free
to reserve and release memory space. This allows
-for flexible and general code.
The code average.c solves
+this problem using a serial algorithm. Note the use
+of malloc
and free
to reserve and release
+memory space. This allows for flexible and general code.
A parallel implementation of the solution could use an algorithm in which the data is divided among all the processes. This illustrates @@ -351,8 +351,8 @@ parallel computer is tipically much larger than the memory of a single computer, allowing larger problems to be solved.
The algorithm of a parallel implementation is illustrated in a -simplified flowchart. Note the -following:
+simplified flowchart. Note +the following: