[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: geometric mean?



I have no response so I assume the answer is to
roll your own.

I did:

 FUNCTION GEOMEAN, arr
     RETURN, EXP(TOTAL(ALOG(arr))/N_ELEMENTS(arr))
 END

- Andrew


Sent via Deja.com http://www.deja.com/
Before you buy.