I'm using the FFT in various dimensions, however I have boilerplate code that is copied over for each dimension because the FFT classes (*_1D, *_2D, *_3D) don't have a common interface.
Could it be possible to add an interface (called, perhaps "FFT") that all FFT classes could implement, so as to give generic access to the 1D versions of the methods, i.e.
{real|complex}{Forward|Inverse}({type}[] out) ?
If pull request needed, sure can do.
Cheers
I'm using the FFT in various dimensions, however I have boilerplate code that is copied over for each dimension because the FFT classes (
*_1D,*_2D,*_3D) don't have a common interface.Could it be possible to add an interface (called, perhaps "FFT") that all FFT classes could implement, so as to give generic access to the 1D versions of the methods, i.e.
{real|complex}{Forward|Inverse}({type}[] out) ?If pull request needed, sure can do.
Cheers