PyGSL provides a Python interface for the GNU scientific library (gsl).. #Scientific library #Python interface #Gsl GUI #Gsl #Scientific #Library
PyGSL provides a Python interface for the GNU scientific library (gsl).
Requirements:
· Python · GNUsl · NumPy · a ANSI C compiler (i.e. gcc)
Uninstall the old version of pygsl gsl-config must be on your path
gzip -d -c pygsl-x.y.z.tar.gz|tar xvf- cd pygsl-x.y.z #do this with your prefered python version #to set the gsl location explicitly use setup.py --gsl-prefix=/path/to/gsl #If your are using cvs, remove your build directory. python setup.py build # Running only python setup.py # can result in an error. So if you see an error runing setup.py please run python setup.py build # change to a id, that is allowed to do installation python setup.py install
Ready....
Do NOT test the interface in the distribution root directory! -- please install it first and then change to the tests directory and execute python run_test.py If you want to execute it in the distribution root directory, please run python setup.py build_ext -i first! It will put the requried binary files into the pygsl directory.
Just write in python
import pygsl.sf print "%g+/-%g"%pygsl.sf.erf(1)
or
import pygsl.rng rng=pygsl.rng.rng() print rng.gaussian(1.0)
You may set the environment variable LD_LIBRARY_PATH to find the gsl shared object.
rm -r "python install path"/lib/python"version"/site-packages/pygsl
What's New in This Release:
· Header solver.h fixed, which stopped compilation on the MAC. · Improved the detection of the array module to use
PyGSL 0.9.1
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- filename:
- pygsl-0.9.1.tar.gz
- main category:
- Science and Engineering
- developer:
- visit homepage
Context Menu Manager 3.3.3.1
Zoom Client 6.0.3.37634
Windows Sandbox Launcher 1.0.0
ShareX 16.0.1
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
IrfanView 4.67
7-Zip 23.01 / 24.04 Beta
Bitdefender Antivirus Free 27.0.35.146
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
calibre 7.9.0
- Bitdefender Antivirus Free
- Microsoft Teams
- calibre
- Context Menu Manager
- Zoom Client
- Windows Sandbox Launcher
- ShareX
- 4k Video Downloader
- IrfanView
- 7-Zip