Re: [Numpy-discussion] numpy, swig and TNT-Arrays

2008-11-11 Thread Rolf Wester
Charles R Harris wrote: > On Tue, Nov 11, 2008 at 2:19 AM, Rolf Wester > <[EMAIL PROTECTED]>wrote: > >> Charles R Harris wrote: >>> On Tue, Nov 11, 2008 at 1:24 AM, Rolf Wester >>> <[EMAIL PROTECTED]>wrote: >>> >>>> Hi all, >&

Re: [Numpy-discussion] numpy, swig and TNT-Arrays

2008-11-11 Thread Rolf Wester
Charles R Harris wrote: > On Tue, Nov 11, 2008 at 1:24 AM, Rolf Wester > <[EMAIL PROTECTED]>wrote: > >> Hi all, >> >> I would like to wrap some C++ classes that use TNT-Arrays. Is it >> possible to pass numpy arrays to C++ functions that expect TNT-Arrays

[Numpy-discussion] numpy, swig and TNT-Arrays

2008-11-11 Thread Rolf Wester
Hi all, I would like to wrap some C++ classes that use TNT-Arrays. Is it possible to pass numpy arrays to C++ functions that expect TNT-Arrays as function parameter? Does anybody know how the wrappers could be generated using swig? I would be very appreciative for any help. With kind regards Rol

[Numpy-discussion] fft inplace?

2007-12-07 Thread Rolf Wester
Hi, I have huge complex arrays that have to be Fourier transformed. Is it possible to to that inplace with numpy. As far as I can remember this was possible with either Numeric or older versions of numpy, but I couldn't find any hint concerning this in the numpy manual or in the python sources