.TH PGAMean 5 "05/01/95" " " "PGAPack" .SH NAME PGAMean \- calculates the mean value of an array of elements .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 0 .TP a - array to take the mean of .PD 0 .TP n - number of elements in array a .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP none .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" double PGAMean(ctx, a, n) PGAContext *ctx double *a int n .fi .SH LOCATION utility.c .SH EXAMPLE .nf Example: PGAContext *ctx; double a[100], mean; : mean = PGAMean(ctx, a, 100); .fi