PGAMean(4)

NAME
PGAMean - calculates the mean value of an array of elements

INPUT PARAMETERS
ctx - context variable
a   - array to take the mean of
n   - number of elements in array a

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
double  PGAMean(ctx, a, n)
PGAContext *ctx
double *a
int n

LOCATION
fitness.c

EXAMPLE
Example:
PGAContext *ctx;
double a[n],mean;
:
mean = PGAMean(ctx,a,n);