|
Re: [f2py] f2py with C multidimensional array: msg#00001python.f2py.user
On Thu, 2007-03-08 at 11:04, Richard Shaw wrote: > My question is what exactly does f2py pass in? Is it just a flat double > array (eg. [x00, x01, x03, .... x10, x11, x12,....]) or does it have all > the pointers set for proper multidimensional access, such that the above > is valid. At the moment the segfaults I'm getting would seem to indicate > the former. But this isn't entirely clear to me. I think I've answered my own question. After some experimentation it seems that it does indeed just pass in a flattened 1d array. Anyway, cheers for f2py. It's just got me a 200x speedup on a critical piece of code! Thanks, Richard |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [f2py] f2py with C multidimensional array: 00001, Richard Shaw |
|---|---|
| Next by Date: | [f2py] OS X 10.4.9 Mac intel and gfortran - has anyone gotten this to work?: 00001, James Boyle |
| Previous by Thread: | [f2py] f2py with C multidimensional arrayi: 00001, Richard Shaw |
| Next by Thread: | [f2py] OS X 10.4.9 Mac intel and gfortran - has anyone gotten this to work?: 00001, James Boyle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |