JuliaMath / JuliaMath/FFTW.jl

Provide `rfft!` and `irfft!` through a submodule

Open
#52 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
300
Forks
61
PR merge metrics
No merged PRs in 30d

Description

Is it desirable to have a submodule living in FFTW.jl to provide the inplace real-to-complex and complex-to-real transformations?

The functionality is already coded in [InpalceRealFFT.jl](https://github.com/favba/InplaceRealFFT.jl) and could remain living as a separate package. Some people [expressed the desire](https://discourse.julialang.org/t/ann-inplacerealfft-jl-inplace-real-to-complex-and-complex-to-real-fft/8116/2) to have it in FFTW.jl
Basically, a `PaddedArray` type is created to deal with proper padding of the real data, and methods `rfft!`,`irff!`,`brfft!`,`plan_rfft!`,`plan_irfft!` and `plan_brfft!` are created to work with `AbstractPaddedArray`s, an interface to provide custom PaddedArray types.

I could make a PR if this is desirable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.