[Numpy-discussion] swig numpy2carray converters

David.Goldsmith David.L.Goldsmith@noaa....
Tue Nov 20 14:28:08 CST 2007


Bill Spotz wrote:
>> Again, see above for my use case.
>> But the fortran ordering should not be that hard (only setting the  
>> flags
>> and strides right, as in FARRAY2_OUT in numpy2carray.i) - but of  
>> course
>> someone has to do it ... ;)
>>     
>
> Yes, it shouldn't be too hard.  And I like your FARRAY notation for  
> the interface.  So your experience is that the flags and strides are  
> all that have to be set differently?
>   
In my experience, so does the "zero-offset," (or is this controlled by 
flags in this context?)

DG
> ** Bill Spotz                                              **
> ** Sandia National Laboratories  Voice: (505)845-0170      **
> ** P.O. Box 5800                 Fax:   (505)284-0154      **
> ** Albuquerque, NM 87185-0370    Email: wfspotz@sandia.gov **
>
>
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>   



More information about the Numpy-discussion mailing list