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

Separate types for rFFT and FFT plans (and issues with ScaledPlans)

Open
#63 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
julia

Research direction

Start by reviewing the merged PR 58 and the existing Plan and ScaledPlan types, then read the linked FFTW issue 182 about the missing region subfield. Clarify the proposed abstract plan types and the region behavior with maintainers, including compatibility implications for libraries relying on AbstractFFTs. Done means an agreed design and implementation scope, rather than an isolated patch.

Written by the indexing model from the issue text.

Description

Since PR https://github.com/JuliaMath/AbstractFFTs.jl/pull/58 is now merged, I would suggest talking about how to extend this to Plans as well.

One way of doing that would be to implement different (abstract) types for a FFT, rFFT and r2r. This of course would have some implications for the libraries relying on AbstractFFTs. That's why I did not directly proceed with a PR, but would want to discuss this first.

Something reasonable could be to have an AbstractFFTPlan, AbstractrFFTPlan, AbstractR2RPlan that are all subtypes of the current Plan type, so that it is not a completely breaking change. (Ideally Plan should be renamed to AbstractPlan, but this would break a lot, I guess)

Aside from this, there is also https://github.com/JuliaMath/FFTW.jl/issues/182 , so that ScaledPlans miss the region subfield, which could be mitigated by a function like

region(p::Plan) = p.region
region(p::ScaledPlan) = region(p.p)
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.