Re: [eigen] FFT for Eigen |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] FFT for Eigen
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Mon, 18 May 2009 16:34:47 +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=2nRtt3YleMrGr6LLZp+bO4IL5ZnwyXVmYes9FTmrmFM=; b=WcidcFXLxEYxCUxaE2RYcNPBAfxmtpyI7kbVLrFAIN2CSwCtf2Yl/vL31XpElv1GPT jy992g+L5WbxBvQ5U+l4M/6Soww1brJLt68sWIb1t9jtdKRCFmj1/alRV41H9DP1e404 PcgJNlipHn2TgOl3flrrIskzlg+ChK57/AVlc=
- 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=XaCv2KlQORG7FlhRBtBK2mrWKLIKe/tLjwc23SaJhAMTt14FF0heqB58hI9SyqUQh4 lw7v4bhCJMrd+Z9f9MBaLiy2adsatjTah8/z+dZIjUYsl5+obPMRqz79SxspypLUiizH k5vJ9zMg2Y+LWRezxvQYv+iO1lBLxLNcxbkBk=
Many people who need a linear algebra library, also need a FFT
library. In that case, if both libraries use the same data types
(read: if they both talk in terms of Eigen:: objects like vectors)
then it's extra convenient. They can also share infrastructure for
handling various numeric types, for handling fixed-size/dynamic-size
with a consistent API... Eigen has all that and so it makes sense to
add a small FFT module that integrates well with that. Then, I think
that Mark was very clear that FFTW is "much faster", and that's why I
think we all agree that a must-have feature is that such optimized
libraries may be used as optional backends. The idea is to enjoy their
performance while using a uniform Eigen API. Also Mark notes that
kissFFT provides more flexibility wrt custom datatypes (like
fixed-point).
Cheers,
Benoit
2009/5/18 Robert Lupton the Good <rhl@xxxxxxxxxxxxxxxxxxx>:
> I'm not quite sure why eigen needs an FFT library,
> especially when there's a standard (C) library
> that everyone uses, FFTW?
>
> Now, I can see the advantages of a pure-template
> C++ library if it's competitive computationally,
> so the question that I'd ask is, how do the
> kissfft benchmarks look relative to FFTW?
>
>
> R
>
>
>
>
>