Calculates the mean value of an array of elements
ctx
- context variable
a
- array to take the mean of
n
- number of elements in array a
none
#include "pgapack.h" double PGAMean(ctx, a, n) PGAContext *ctx double *a int n
utility.c
Example: PGAContext *ctx; double a[100], mean; : mean = PGAMean(ctx, a, 100);