PGAMean3
Calculates the mean value of an array of elements
Part of PGAMean(5).
Usage
#include "pgapack.h" double PGAMean(ctx, a, n) PGAContext *ctx double *a int n
Input parameters
ctx
|
- context variable |
|---|---|
a
|
- array to take the mean of |
n
|
- number of elements in array a |
Output parameters
- none
Location
utility.c
Examples
Example: PGAContext *ctx; double a[100], mean; : mean = PGAMean(ctx, a, 100);
Releases
8 releases since Debian 1.1 (Buzz); the text changed 1 time.