[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python to Octave bridge
From: |
Søren Hauberg |
Subject: |
Re: Python to Octave bridge |
Date: |
Fri, 17 Oct 2008 13:09:21 +0200 |
fre, 17 10 2008 kl. 12:56 +0200, skrev David Grundberg:
> Announcing Pytave - Python to Octave extension
>
> Embeds the Octave language interpreter as an extension to Python,
> enabling existing m-files to be used from Python.
Interesting! This is a feature request that comes up every once in a
while.
> Features:
> * Implicit type conversions between Python and Octave. Supports all
> Numeric integer, real double (and possibly real float) matrices
> * Architecture independent - no assumption on endianess or integer sizes
>
> Call Octave code in Python:
> >>> import pytave
> >>> pytave.feval(1, "cos", 0)
> (1.0,)
What does the '1' argument to 'feval' mean?
> Project homepage:
> https://launchpad.net/pytave
I noticed on this page that the code is GPLv2. Since Octave is GPLv3 (or
later) then I'm guessing that would be the best license choice for your
code as well.
Søren