From: Szymon Jaroszewicz <sj@cs.umb.edu>
To: gsl-discuss@sources.redhat.com
Subject: ctypes based intefrace to GSL
Date: Fri, 03 Aug 2007 13:39:00 -0000 [thread overview]
Message-ID: <1186148343.6046.34.camel@z6-329> (raw)
Hi All,
I have written Python bindings to GSL which use the ctypes package. It
is probably somewhat slower than pygsl but has other advantages:
1. It is very easy to install, the only dependency (except for GSL
itself) is the ctypes package, standard since Python 2.5. No
compilation is required. The implementation is simpler too as it does
not require SWIG wrappers, C code or shared libraries.
2. ctypes seems to be the preferred future way to do Python bindings,
since it is independent from python implementation used, e.g. it
should work with projects such as PyPy.
It is currently very incomplete but some important functionality like
vectors, ODEs, integration, Chebyshev approximation, one dimensional
root/minimization are there. You can get it at:
http://www.cs.umb.edu/~sj/ctypesGsl-0.1.tgz
Any comments are welcome
Szymon
next reply other threads:[~2007-08-03 13:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 13:39 Szymon Jaroszewicz [this message]
2007-08-15 17:52 ` Brian Gough
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1186148343.6046.34.camel@z6-329 \
--to=sj@cs.umb.edu \
--cc=gsl-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).