Re: [PHP-DEV] Mean From: Andrei Zmievski (andrei <email protected>)
Date: 01/19/01

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: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>