Re: [Numpy-discussion] arrays : c aligmen to fortran and back

2008-08-04 Thread Thomas Hrabe
: Discussion of Numerical Python; [EMAIL PROTECTED] Subject: RE: [Numpy-discussion] arrays : c aligmen to fortran and back Yeah, this function does the job. Thank you very much! -Original Message- From: [EMAIL PROTECTED] on behalf of Stéfan van der Walt Sent: Mon 8/4/2008 1:41 AM To

Re: [Numpy-discussion] arrays : c aligmen to fortran and back

2008-08-04 Thread Thomas Hrabe
Yeah, this function does the job. Thank you very much! -Original Message- From: [EMAIL PROTECTED] on behalf of Stéfan van der Walt Sent: Mon 8/4/2008 1:41 AM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] arrays : c aligmen to fortran and back Hi Thomas 2008/8/4

Re: [Numpy-discussion] arrays : c aligmen to fortran and back

2008-08-04 Thread Stéfan van der Walt
Hi Thomas 2008/8/4 Thomas Hrabe <[EMAIL PROTECTED]>: > I need to convert a 3d array from c alingment to fortran and was wandering > for the simplest code available. > Its all about python and an interfaced C++ program, which, however, > processes fortran aligned arrays. > > Is there a simple code

[Numpy-discussion] arrays : c aligmen to fortran and back

2008-08-03 Thread Thomas Hrabe
Hi all, I need to convert a 3d array from c alingment to fortran and was wandering for the simplest code available. Its all about python and an interfaced C++ program, which, however, processes fortran aligned arrays. Is there a simple code from converting an array arr = numpy.array((30,20,10)