next up previous 278
Next: KPG1_MEDUx - Derives the unweighted median of a vector
Up: Routine Descriptions
Previous: KPG1_MDETx - Computes the determinant of a matrix


KPG1_MEANx - Finds the mean of the good data values in an array

Description:
Finds the mean of the good data values in an array.

Invocation:
CALL KPG1_MEANx( N, DATA, MEAN, STATUS )

Arguments:

N = INTEGER (Given)
Number of elements in the array.
DATA( N ) = ? (Given)
The data array.
MEAN = ? (Returned)
The mean value. Set to VAL__BAD$<$T$>$ if no good data are found.
STATUS = INTEGER (Given)
The global status.

Notes:



next up previous 278
Next: KPG1_MEDUx - Derives the unweighted median of a vector
Up: Routine Descriptions
Previous: KPG1_MDETx - Computes the determinant of a matrix

KAPLIBS -- Internal subroutines used within the KAPPA package.
Starlink User Note 238
D.S. Berry
Malcolm J. Currie
9th March 2009
E-mail:ussc@star.rl.ac.uk

Copyright © 2010 Science and Technology Facilities Council