Thanks Robert,
that worked just great.
I was wandering whether anyone has experience with calling Fortran 90
functions that return derived types and cast them to C/Python objects.
I have found excellent reference in a couple of websites, however all
examples deal with returning at best 2D a
Hi, everyone:
I am new to the python numpy and f2py. I really need help on
compiling FORTRAN module using f2py. I have been searched internet
without any success. Here is my setup: I have a Ubuntu 10.04 LTS with
python 2.6, numpy 1.3.0 and f2py 2 (installed from ubuntu) and gfortran
compil
On Tue, Oct 5, 2010 at 5:49 PM, Pauli Virtanen wrote:
> Hi,
>
> Should we set a date for a bugfix 1.5.1 release? There are some bugs that
> would be nice to sort out in the 1.5.x series:
>
> Any Python versions:
>
> - #1605 (Cython vs. PEP-3118 issue: raising exceptions with active
> cyth
Hi,
Should we set a date for a bugfix 1.5.1 release? There are some bugs that
would be nice to sort out in the 1.5.x series:
Any Python versions:
- #1605 (Cython vs. PEP-3118 issue: raising exceptions with active
cython buffers caused undefined behavior. Breaks Sage.)
- #1617 (Ensure c
There are two Python 2.7 installers available at python.org a 32 bit
version for MacOS X 10.3.9 and later and a 64 bit version for Mac OS X
10.5 and later.
There is one numpy 1.5.0 binary installer for Mac Python 2.7. Which Mac
python was it built for? (Or if it is compatible with both, how did
Hi All,
I can't find any docs on this behavior.
So, I have a python function. To keep it simple, lets just do addition:
def add(x,y):
print x,y
retun x+y
So, I can turn this into a ufunc as follows:
uadd = np.frompyfunc(add,2,1)
Now, I can apply it to an array:
>>> uadd.accumulate(np.