JTransforms
JTransforms copied to clipboard
[RQ] general FFT interface?
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
To be consistent you would have to create such interfaces for all transforms. Please go ahead and create a pull request.