Blitz logo

Blitz Support :

From: Andrius Kurtinaitis (andrius.kurtinaitis_at_[hidden])
Date: 2004-01-02 00:27:56


Hello,

> you should just create three separate objects of type
> Array<std::complex<double>,2>, one for each component.

I was doing just that until now. I think, it would be much more
convenient to use the multicomponent arrays. The only problem I have now
with the multicomponent arrays is the efficient FFT implementation which
would work with multicomponent arrays. Has anybody here one?
Thanks,

Andrius

> Andrius Kurtinaitis wrote:
>
>> Hello,
>> is it possible to create multicomponent interlaced arrays in blitz?
>> My data point consists of three complex values. It would look like this:
>> TinyVector<std::complex<double>, 3>
>> The array would be then
>> Array<TinyVector<std::complex<double>, 3>, 2>
>> - I need two-dimensional arrays.
>> But I would like to store the components separately by component, so
>> that first I have complex data arrays of the first component, then the
>> second and the third one. I need continuous component data for other
>> algorithms, such as fft and spline interpolation.
>> Any help will be highly appreciated.
>>
>> Andrius Kurtinaitis
>>
>> _______________________________________________
>> Blitz-support mailing list
>> Blitz-support_at_[hidden]
>> http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
>
>
>