PGAMean

Langue: en

Version: 301073 (debian - 07/07/09)

Section: 5 (Format de fichier)

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

utility.c

EXAMPLE

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