This is the mail archive of the
gsl-discuss@sourceware.org
mailing list for the GSL project.
Re: [Help-gsl] 2d FFTs, DCTs, etc.
- From: "Brian Gough" <bjg at network-theory dot co dot uk>
- To: James Bergstra <james dot bergstra at umontreal dot ca>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Mon, 15 May 2006 20:31:55 +0100
- Subject: Re: [Help-gsl] 2d FFTs, DCTs, etc.
- References: <446361AC.4060209@csd.auth.gr><20060511170142.GA7258@aphex.iro.umontreal.ca><4464B0E0.6020305@csd.auth.gr><20060512170126.GE22798@aphex.iro.umontreal.ca>
James Bergstra writes:
> Admittedly, what I had in mind was in fact a third interface, that adds
> considerable code, and no new functionality. I don't believe that it should
> replace the gsl fft api. I like the extension system, and I think this is the
> sort of thing that would make a good extension.
>
> My goal was an API that is as easy to call as gsl's, and that admits an FFTW
> implementation, but doesn't require it ( gsl has a priority of being
> self-contained).
I am pretty sure it should be possible to create a wrapper that allows
FFTW to be substituted for GSL calls with no changes to the user code
(by using suitable #defines or dynamic linking to substitute the
alternative functions). For single-threaded code at least the FFTW
plan can be created in the GSL wavetable setup.
--
Brian Gough