JTransforms icon indicating copy to clipboard operation
JTransforms copied to clipboard

[RQ] general FFT interface?

Open DrDaleks opened this issue 8 years ago • 1 comments

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

DrDaleks avatar Sep 22 '17 07:09 DrDaleks

To be consistent you would have to create such interfaces for all transforms. Please go ahead and create a pull request.

wendykierp avatar Sep 22 '17 07:09 wendykierp