public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Python Interface: first results
@ 2000-12-19 13:32 Achim Gaedke
  2000-12-21  5:16 ` Brian Gough
  0 siblings, 1 reply; 2+ messages in thread
From: Achim Gaedke @ 2000-12-19 13:32 UTC (permalink / raw)
  To: gsl discussion list

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1396 bytes --]

You can find my first results under:

http://www.zaik.uni-koeln.de/~achim/gsl

about 200 special functions are available....
Exceptions are supported...

Example:

>>> from gsl.sf import *     
this is a pre-alpha-version, no guarantee for anything!
>>> print erf(1)
(0.84270079294971489, 4.7994624969578439e-16)
>>> print exp(2000000)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
gsl.errors.gsl_Error: overflow in gsl_sf_exp_e
>>>

For a full function contents enter:
>>> import gsl.sf
>>> dir(gsl.sf)
['Chi', 'Ci', 'Shi', 'Si', '__doc__', '__file__', '__name__', 'airy_Ai',
'airy_Ai_deriv', 'airy_Ai_deriv_scaled', 'airy_Ai_scaled', 'airy_Bi',
'airy_Bi_deriv', 'airy_Bi_deriv_scaled', 'airy_Bi_scaled', 'airy_zero_Ai',
'airy_zero_Ai_deriv', 'airy_zero_Bi', 'airy_zero_Bi_deriv', 'atanint',
'bessel_I0', 'bessel_I0_scaled'

and so on...

Requirements:
=============

gsl-0.7 or better
python2.0 or better

Retriving the Interface:
========================

http://www.zpr.uni-koeln.de/~achim/gsl/gsl-0.0.1.tar.gz

Installing GSL interface:
=========================

gsl-config must be on your path:

gzip -d -c gsl-x.y.z.tar.gz|tar xvf-
cd gsl-x.y.z
#do this with your prefered python version
python setup.py build
# change to a id, that is allowed to do installation
python setup.py install

Ready....


Achim Gaedke, ZPR
Weyertal 80, 50931 Köln
Tel: +49 221 470 6021


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Python Interface: first results
  2000-12-19 13:32 Python Interface: first results Achim Gaedke
@ 2000-12-21  5:16 ` Brian Gough
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2000-12-21  5:16 UTC (permalink / raw)
  To: Achim Gaedke; +Cc: gsl discussion list

Looks useful. I will have to install python 2.0 and try it.

Achim Gaedke writes:
 > You can find my first results under:
 > 
 > http://www.zaik.uni-koeln.de/~achim/gsl
 > 
 > about 200 special functions are available....
 > Exceptions are supported...

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-21  5:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-19 13:32 Python Interface: first results Achim Gaedke
2000-12-21  5:16 ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).