Revision as of 01:46, 27 January 2016 by Bbecane (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Average(X, I)

Returns the mean value of all the elements of array «X», averaged over index «I». The full declaration of the function is

Average(X: Numeric[I]; I: Index)

The array «X» is evaluated in context. Thus, if you use Average to sum over the Run index, you may encounter a potential confusion, since Average(A, I) will be summing the Mid-value across «I», not the sample. To sum over the Run index, use the Mean function, unless your intention really is to Sum the mid-value.

See Also


You are not allowed to post comments.