Re: Mean
| From: | Jason Greene | Date: | Fri, 19 Jan 2001 17:55:04 +0000 |
| Subject: | Re: Mean | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-44610@lists.php.net to get a copy of this message | ||
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'