Average

Revision as of 22:02, 22 February 2007 by Lchrisman (talk | contribs) (→‎Notes)


Returns the mean value of all the elements of array X, averaged over index I.

Declaration

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

Notes

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.

Comments


You are not allowed to post comments.