Gnu Scientic Library

Dear Madam, Sir, I recently started to use the GSLibrary from http://soureware.cygnus.com/gsl/ The have a interesting collection of special functions. And a started to wrap several of them into my python programs. Does anybody has experiences with GSL?? Would n't it be beautiful to produce a python module based on the GSL special functions. Did somebody already do it??? Wim Vanroose

A very complete set of special functions is already wrapped by Travis Oliphant. But there are numerous other functions in GSL which would be worthwhile to connect to NumPy. Look for the cephes module. One benefit of using such a general library covering different areas is, that with one form of interface a whole slew of functions can be wrapped which also make the packaging a lot easier. Also I think the library is desinged with wrapping to other languages. Just to mention another library with a similar scope, but which is older, perhaps more mature there is also SLATEC from netlib. __Janko

Vanroose Wim wrote:
Wim, Have a look at http://gestalt-system.sourceforge.net/gestalt_manifesto_exp_097.html and search for the string "GSL". As you will see, we originally proposed to wrap at least the statistical functions of GSL as User-Defined Functions and/or User-Defined Procedures for MySQL. (Note that the GNU Goose library which we mention is no longer under separate, active development, having been rolled back into the GNOME Guppy project, it seems). We still hope to wrap GSL for use directly in MySQL, but this now has a lower priority after experiencing how fast and memory-efficient NumPy is for basic exploratory statistics when used in conjunction with Gary Strangman's stats.py package. Nevertheless, it would be useful to have the GSL library available in Python - is it feasible to make it work with NumPy arrays as well as other Python sequences? We are most interested in the statistical aspects of the library but all the functions are potentially useful. My C skills are not up to the task but perhaps someone else on the GS-discuss mailing list might be able to assist? Regards, Tim Churches

A very complete set of special functions is already wrapped by Travis Oliphant. But there are numerous other functions in GSL which would be worthwhile to connect to NumPy. Look for the cephes module. One benefit of using such a general library covering different areas is, that with one form of interface a whole slew of functions can be wrapped which also make the packaging a lot easier. Also I think the library is desinged with wrapping to other languages. Just to mention another library with a similar scope, but which is older, perhaps more mature there is also SLATEC from netlib. __Janko

Vanroose Wim wrote:
Wim, Have a look at http://gestalt-system.sourceforge.net/gestalt_manifesto_exp_097.html and search for the string "GSL". As you will see, we originally proposed to wrap at least the statistical functions of GSL as User-Defined Functions and/or User-Defined Procedures for MySQL. (Note that the GNU Goose library which we mention is no longer under separate, active development, having been rolled back into the GNOME Guppy project, it seems). We still hope to wrap GSL for use directly in MySQL, but this now has a lower priority after experiencing how fast and memory-efficient NumPy is for basic exploratory statistics when used in conjunction with Gary Strangman's stats.py package. Nevertheless, it would be useful to have the GSL library available in Python - is it feasible to make it work with NumPy arrays as well as other Python sequences? We are most interested in the statistical aspects of the library but all the functions are potentially useful. My C skills are not up to the task but perhaps someone else on the GS-discuss mailing list might be able to assist? Regards, Tim Churches
participants (3)
-
Janko Hauser
-
Tim Churches
-
Vanroose Wim