int Mean (double inputArray[], int numberOfElements, double *mean);
Calculates the mean, or average, value of the input array. Mean calculates the mean using the following formula:
| Input | ||
| Name | Type | Description |
| inputArray | double-precision array | Input array whose mean, or average, value is determined. |
| numberOfElements | integer | Number of elements used to find the mean. |
| Output | ||
| Name | Type | Description |
| mean | double-precision | Mean value of the input array. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |