Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Science and Engineering > Mathematics

    PyGSL 0.9.1

    Download button

    No screenshots available
    Downloads: 935  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.9/5)
    16 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Achim Gaedke and Pierre Schnizer | More programs
    GPL / FREE
    February 21st, 2008, 13:57 GMT
    ROOT / Science and Engineering / Mathematics

     Read user reviews (0)  Refer to a friend  Subscribe

    PyGSL description

    PyGSL provides a Python interface for the GNU scientific library (gsl).

    PyGSL provides a Python interface for the GNU scientific library (gsl).

    Requirements:

    · Python
    · GNUsl
    · NumPy
    · a ANSI C compiler (i.e. gcc)

    Installation:

    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....

    Usage:

    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.

    Uninstall:

    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



    Product's homepage

      


    TAGS:

    scientific library | Python interface | gsl GUI | gsl | scientific | library

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM