Average ofascalar
==yields the scalar
Average ofavector
==yields a scalar which is the average
Average ofamatrix
==yields a vector each number of which is average of a row of the matrix
Average[coordinate] arbritraryarray
==yields the averages of the slices along the specified coordinate

bags of tricks get tricky in a hurry

> Dick wrote:
> > I prefer:
> > 
> >        Average expressionwhichyieldsanarrayofdata
> 
> >From my box of tricks:
> 
> Average: func [
>  "Averages the values in the Block."
>  Block [block!] "Block of values."
>  ] [
>  divide accumulate 0 Block :+ length? Block
>  ]
> 
> :)
> Andrew Martin
> ICQ: 26227169 http://valley.150m.com/
> -><-
> 
> -- 
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the 
> subject, without the quotes.

>** --------- End Original Message ----------- **

> 


Download NeoPlanet at http://www.neoplanet.com

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to