Difference between revisions of "Average"
(→Notes) |
m (adding doc status category) |
||
Line 1: | Line 1: | ||
[[Category:Array-reducing functions]] | [[Category:Array-reducing functions]] | ||
+ | [[Category:Doc Status C]] <!-- For Lumina use, do not change --> | ||
Returns the mean value of all the elements of array X, averaged over index I. | Returns the mean value of all the elements of array X, averaged over index I. |
Revision as of 06:24, 24 April 2007
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
Enable comment auto-refresher