JuliaApproximation / JuliaApproximation/GenericFFT.jl
generic_fft along only some dimensions? ret undefined.
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 16
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
I notice that generic_fft allows me to fft BigFloat, which is great!
I found however that I couldn't do the usual thing with FFTW, e.g.
generic_fft(X,2)
for only DFTing along the rows:
FastTransforms.generic_fft(BigFloat.(randn(20,20))+im*BigFloat.(randn(20,20)),2)
ERROR: UndefVarError: ret not defined
Stacktrace:
[1] generic_fft(x::Matrix{Complex{BigFloat}}, region::Int64)
@ FastTransforms ~/.julia/packages/FastTransforms/spjz2/src/fftBigFloat.jl:35
[2] top-level scope
@ REPL[19]:1
Is it possible?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/fftBigFloat.jl at the generic_fft method for a matrix and region argument, using the reported generic_fft(X, 2) call to reproduce the UndefVarError. Trace how the regional transform result is assigned and verify that a transform along the requested dimension returns successfully with the expected shape and values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100