[Jnumerical-general] installer; why no statistical functions in JNumeric?
Status: Beta
Brought to you by:
lemire
From: Frank G. <fgi...@hm...> - 2002-08-27 19:48:07
|
Daniel, Thanks a lot for the installer. It will be useful to have something to work from when I need to put one together for my project. Hassan, JNumeric doesn't provide statistical functions. Its main emphasis has been on array arithmetic. However, with sum(), cumsum(), and cumproduct(), it should not be hard to implement the functions you need in a really compact and efficient way (perhaps that's why they were left out of JNumeric in the first place). I believe MLab.py is an attempt to mimic the features of MATLAB in Python. It is a distinct package that sits on top of Numeric. This project intends only to make Numeric available in Jython. Maybe we should think about starting a new one to make MLab availabe too? -Frank At 03:19 PM 8/27/2002, you wrote: >I would like to perform some simple statistical operations in JNumeric (max, >mean, median), >and while these are fairly straightforward to write by oneself, I didn't >want to >re-invent the wheel, and tried to stick with what I had been provided. I >saw in >Chapter 11 of the Numerical Python tutorial that, at least under CPython, >there >are some routines to allow one to do that. From the looks of things, I need to >access scripts such as Numeric.py, MLab.py, etc. Is this the case for >JNumeric? >Or are there equivalents already provided? (Simply typing commands such as >median( a ) failed). > >Many thanks for your help -Hassan. PhD, Computational Biologist, Harvard Medical School BCMP/SGM-322, 250 Longwood Ave, Boston MA 02115, USA. Tel: 617-432-3555 Fax: 617-432-3557 http://llama.med.harvard.edu/~fgibbons |