Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

plan_fft should be more generic

Open
#147 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
documentation

Research direction

Start by reading the plan_fft and related planning-function documentation and signatures in AbstractFFTs.jl. Compare them with the corresponding FFTW.jl documentation, then update both projects so the abstract API is backend-neutral and FFTW-specific defaults remain documented in FFTW.jl. Done means the two documentation sets no longer present FFTW options as universal.

Written by the indexing model from the issue text.

Description

The planning functions (plan_fft, plan_fft!, plan_ifft, etc) are currently derived from FFTW. The docs and method signature refer to library-specific options: the planning modes (e.g., FFTW.MEASURE) and timelimit. As I understand it, these are not universal standards: MKL can preallocate output and has other options (DFTI_ORDERING) and other back-ends may do something different---or even nothing at all.

Consequently, it might be clearer to describe the planning functions here as plan_fft(A, [dims]; kwargs...) and have FFTW.jl provide plan_fft(A, [dims]; flags=FFTW.ESTIMATE, timelimit=Inf).

This would not require any changes to the code but would require a concurrent change to the FFTW.jl docs. It already includes docs for some functions not represented in AbstractFFTs, so this seems feasible.

Dominant language
Julia
Stars
135
Forks
40
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaMath/AbstractFFTs.jl

All issues in JuliaMath/AbstractFFTs.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.