[Numpy-discussion] compile fortran from python

2010-10-25 Thread Ioan Ferencik
t is ignoring them. Any hints? Cheers Ioan Ferencik PhD student Aalto University School of Science and Technology Faculty Of Civil and Env. Engineering Lahti Center Tel: +358505122707 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http

[Numpy-discussion] PyArg_ParseTuple

2010-10-11 Thread Ioan Ferencik
arch. Cheers Ioan Ferencik PhD student Aalto University School of Science and Technology Faculty Of Civil and Env. Engineering Lahti Center Tel: +358505122707 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/

[Numpy-discussion] compile fortran from python

2010-10-09 Thread Ioan Ferencik
what is the easiest method to achieve this? I suspect I could create a custom extension and customise the unixccompiler object or could I just use the compiler object defined by f2py(fcompiler). Cheers Ioan Ferencik PhD student Aalto University School of Science and Technology Faculty Of

Re: [Numpy-discussion] ndarray of object dtype

2010-10-08 Thread Ioan Ferencik
thanks, it was actually obvious and I figured it out minutes later I sent the message. Thanks anyway. Quoting Robert Kern : > On Thu, Oct 7, 2010 at 10:09, Ioan Ferencik wrote: >> Hello Robert, >> >> I dare to bother you again with some  questions. >> >> th

Re: [Numpy-discussion] ndarray of object dtype

2010-10-07 Thread Ioan Ferencik
for each member of the struct and for each elem of the array and cast those pointers to the float, float respectively int, int values but that failed too. Can you see what am I doing wrong? Quoting Robert Kern : > On Mon, Oct 4, 2010 at 00:41, Ioan Ferencik wrote: >> Hello list,

Re: [Numpy-discussion] ndarray of object dtype

2010-10-05 Thread Ioan Ferencik
mention I have little experience in C/Fortran. All thoughts are welcome. Quoting Robert Kern : > On Mon, Oct 4, 2010 at 00:41, Ioan Ferencik wrote: >> Hello list, >> >> I am trying to pass elements of a custom defined with C API. >> I have successfully wrapp

[Numpy-discussion] ndarray of object dtype

2010-10-04 Thread Ioan Ferencik
. also using strides it should be possible to traverse the array and get the individual objects. Regards. Ioan Ferencik PhD student Aalto University School of Science and Technology Faculty Of Civil and Env. Engineering Lahti Center Tel: +358505122707