Re: [PHP-DEV] Mean

2001-01-19 Thread Jason Greene

Thanks,
I Removed it from cvs.

-Jason

Andrei Zmievski wrote:
> 
> 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 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Mean

2001-01-19 Thread Andrei Zmievski

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 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Mean

2001-01-19 Thread Jason Greene



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?
 
-Jason