public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Python Interface
@ 2000-12-13  4:58 Achim Gaedke
  2000-12-13 11:08 ` Brian Gough
  0 siblings, 1 reply; 4+ messages in thread
From: Achim Gaedke @ 2000-12-13  4:58 UTC (permalink / raw)
  To: gsl-discuss

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

Hi there!

During the last days I was looking for portable math modules for python.
There were some different uncoordinated attempts to wrap functions to
python. I wrapped successfully a lot of special functions to python2.0 .

Who does like to work on a complete interface to python?

I think it is possible to make different submodules with the work already
done. (eg. integration, matrices or special functions)

Please send your suggests!

Yours

Achim

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



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

* Re: Python Interface
  2000-12-13  4:58 Python Interface Achim Gaedke
@ 2000-12-13 11:08 ` Brian Gough
  2000-12-14  1:51   ` Andrew Vick
  2000-12-14  2:14   ` Achim Gaedke
  0 siblings, 2 replies; 4+ messages in thread
From: Brian Gough @ 2000-12-13 11:08 UTC (permalink / raw)
  To: Achim Gaedke; +Cc: gsl-discuss

It should be possible to use SWIG (www.swig.org) to do some wrapping
automatically -- have you looked at that?

regards
Brian Gough

Achim Gaedke writes:
 > During the last days I was looking for portable math modules for python.
 > There were some different uncoordinated attempts to wrap functions to
 > python. I wrapped successfully a lot of special functions to python2.0 .
 > 
 > Who does like to work on a complete interface to python?
 > 
 > I think it is possible to make different submodules with the work already
 > done. (eg. integration, matrices or special functions)
 > 
 > Please send your suggests!

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

* Re: Python Interface
  2000-12-13 11:08 ` Brian Gough
@ 2000-12-14  1:51   ` Andrew Vick
  2000-12-14  2:14   ` Achim Gaedke
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Vick @ 2000-12-14  1:51 UTC (permalink / raw)
  To: gsl-discuss

 SWIG is a good way of producing wrappers quickly, but it isn't hard to 
produce a better OO interface for Python by hand. Also, I'm not sure that 
SWIG understands all of the Numpy structures (like ufuncs). 
 I'm interested in helping produce a Python wrapper for gsl, but I haven't 
paid attention to the Numpy developments for some time so it's likely that 
there are already people working on this(?) 

   Cheers,
        Andy Vick

On Wednesday 13 December, you wrote:
>It should be possible to use SWIG (www.swig.org) to do some wrapping
>automatically -- have you looked at that?
>
>regards
>Brian Gough
>
>Achim Gaedke writes:
> > During the last days I was looking for portable math modules for python.
> > There were some different uncoordinated attempts to wrap functions to
> > python. I wrapped successfully a lot of special functions to python2.0 .
> >
> > Who does like to work on a complete interface to python?
> >
> > I think it is possible to make different submodules with the work already
> > done. (eg. integration, matrices or special functions)
> >
> > Please send your suggests!

-- 
  OBSERVATORY, n. A place where astronomers conjecture away the guesses 
  of their predecessors. (Ambrose Bierce, The Devil's Dictionary)
--------------------------------------------------------------------------- 
Andy Vick, UK Astronomy Technology Centre, Royal Observatory Edinburgh,
                 Blackford Hill, Edinburgh, EH9 3HJ, UK.          
Tel: +44-131-668-8100 Email: see http://www.roe.ac.uk/ajvwww/spamoff.htm

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

* Re: Python Interface
  2000-12-13 11:08 ` Brian Gough
  2000-12-14  1:51   ` Andrew Vick
@ 2000-12-14  2:14   ` Achim Gaedke
  1 sibling, 0 replies; 4+ messages in thread
From: Achim Gaedke @ 2000-12-14  2:14 UTC (permalink / raw)
  To: gsl-discuss

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

I agree with Andrew Vick, my aim is to produce a simple exceptions raising
specfunc interface and for matrices a more elaborated access to
multidimensional arrays using the PySequence_* protocol.

Next week I will publish my wrap of gsl_sf_functions.

I am worried about portability of nan and posinf and neginf.

Yours

Achim

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

On Wed, 13 Dec 2000, Brian Gough wrote:

> It should be possible to use SWIG (www.swig.org) to do some wrapping
> automatically -- have you looked at that?
> 
> regards
> Brian Gough
> 
> Achim Gaedke writes:
>  > During the last days I was looking for portable math modules for python.
>  > There were some different uncoordinated attempts to wrap functions to
>  > python. I wrapped successfully a lot of special functions to python2.0 .
>  > 
>  > Who does like to work on a complete interface to python?
>  > 
>  > I think it is possible to make different submodules with the work already
>  > done. (eg. integration, matrices or special functions)
>  > 
>  > Please send your suggests!
> 

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

end of thread, other threads:[~2000-12-14  2:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-13  4:58 Python Interface Achim Gaedke
2000-12-13 11:08 ` Brian Gough
2000-12-14  1:51   ` Andrew Vick
2000-12-14  2:14   ` Achim Gaedke

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