[Numpy-discussion] C to Fortran Conversion

Thomas Hrabe thrabe@gmail....
Thu Sep 11 18:21:41 CDT 2008

Hi all,

this post might not really belong into this forum, but as the functions I am
looking for are member of numpy, I thought I might drop a message at this
I am looking for some functions/ a library converting C aligned arrays to
Fortran, due to the flags problem I mentioned recently in this forum. Do you
know the C function that is used for the conversion by numpy.asfortranarray,
for instance?
Is it callable from C code,too? Is it based on some external library?
What I have in mind is a function header like:

void CToFortran(void* cArray /*source*/,void* fArray /*target*/,int
dimensions,int* sizes)

where the source array cArray would be copied in fortran order to fArray
according to dimensions and sizes.

Anybody having an idea?
View this message in context: http://www.nabble.com/C-to-Fortran-Conversion-tp19446690p19446690.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.

More information about the Numpy-discussion mailing list