On Fri, 19 Jan 2001, Jason Greene wrote:
> I was just looking at php4/TODO.
> 
> What is the desired capability for array_mean? Is this refering to the mean of all 
>numerical elements in the 
> list? Is the desired functionality to count non numerical data as 0's or to 
>completly ignore them from the alg?

That can be removed from TODO. The desired functionality can be achieved
by array_sum($array)/count($array).

-Andrei

"The only true currency in this bankrupt world is what we share with each
other when we're uncool." -- Lester Bangs, from the film 'Almost Famous'

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to