Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3854 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9882 invoked from network); 11 Aug 2003 13:21:43 -0000 Received: from unknown (HELO jedi.webgate.bg) (212.50.2.189) by pb1.pair.com with SMTP; 11 Aug 2003 13:21:43 -0000 Received: (qmail 9938 invoked from network); 11 Aug 2003 13:26:30 -0000 Received: from nik.office.webgate.bg (HELO andreywin) (192.168.1.22) by jedi.webgate.bg with SMTP; 11 Aug 2003 13:26:30 -0000 Message-ID: <012c01c3600b$753bdcb0$1601a8c0@andreywin> To: Date: Mon, 11 Aug 2003 16:21:22 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [PECL-PROPOSAL] stats From: andrey@php.net ("Andrey Hristov") Hi, few months ago I developed a wrapper around 2 scientific libraries. DCDFLIB (Library of C routines for Cumulative Distributions Functions, Inverses, and Other parameters)(by Barry Brown and James Lavato) and RANDLIB (by Barry Brown, James Lavato and Kathy Russell). I was asked to create the wrapper by a Mr. Ed Luschei from University of Wisconsin - Madison WI. He is a weed ecologist. The site of the "Weed ecology" group is : http://weedecology.wisc.edu/ . The wrapper is available here : http://www.hristov.com/andrey/projects/php_stuff/stats/ and can be downloaded from this url : http://www.hristov.com/andrey/projects/php_stuff/stats/stats.tgz There is previous an effort to wrap the library by 2 scientist of UCLA : Arno Ouwehand and Jan de Leeuw . Their implementation however is worse since they do not validate the input parameters. In their code there are available numerous problems that may lead to segmentation fault. Thus I decided to rewrite the wrapper and use different function names according to PHP's coding convention for function naming. The documentation of the 2 UCLA's scientist can be used as reference : http://www.jstatsoft.org/v02/i01/statistics.pdf . I propose this wrapper to be added to PECL. Any comments/suggestions are welcome! Thanks, Andrey Hristov P.S. AFAIK the two wrapped libs are in Public Domain therefore there is not license problem.