|Re: [eigen] FFT for Eigen|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] FFT for Eigen
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 19 May 2009 14:49:44 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=V1BKxIeFphVeMmzo2fcK1TeEeNMcMFrItoXZb7tf7wM=; b=xO8eRkU4su0IItlaTSW9KnJb4iwk5hKWefVfJiRi4p21A+ZVfpNRPAyvm7+X71eJ6Y e5SbfzQjY1wFg1WdLyUF+k1TalVduw0yNbm1ZE/IinZPaEMSy7ofdL9fLdUsRdn/FOdj q3ZdraO/hIv0Q1aPsqSOZhKOhoR6VhkY3/IPE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=mDCBQ9KlilSTpSViKpXblmbN1NZqVIQUYAbOQH8ETkBFT3HyTms2U8IObRsIaKZMLj ce1bFzrpmGAphVzgJCwvqDXrd7U9tfSrOOxh17ClfmzJfRF34G5Ns5caECp7IEQG6s74 Om0aA1uEFfB/zD/Vcl7NrdsHr6UfVmXwkRm5c=
I can believe that this is probably a very efficient storage scheme.
We could offer this as an option if really it's not too hard to
implement (i didn't start thinking about this).
The default should remain the current for many reasons, but as an
option why not.
2009/5/19 Márton Danóczy <marton78@xxxxxxxxx>:
>> I concur: I don't think that it would be very useful to have complex
>> matrices with the real and imaginary parts stored separately. Most
>> operations -- and the more costly ones -- would run slower in such a
>> scheme. The basic issue here is memory locality.
> What about storing them packet by packet? That is, in case of floats,
> four real parts followed by four imaginary parts. That would not be
> too hard to implement and vectorization of component-wise operations
> would be trivial. And I think even FFTW can handle that using the guru
> interface, by setting up a split fft plan with a stride of