JuliaMath / JuliaMath/FFTW.jl

FFT of Complex CircShiftVector Error

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

Description

These all work:
```
using FFTW, ShiftedArrays

realVec = rand(16)
fft(realVec)
fft(CircShiftedArray(realVec, 16))
fft(view(CircShiftedArray(realVec, 16), 1:4))

cplxVec = rand(ComplexF64, 16)
fft(cplxVec)
```

These do not:
```
fft(CircShiftedArray(cplxVec, 16))
fft(view(CircShiftedArray(cplxVec, 16), 1:4))
```

Naively, the problem seems to be a general method for `plan_fft(x::AbstractArray{T, N}) where T<:Complex` not being defined. A method exists for `fft(x::AbstractArray)` exists, which makes this all a little confusing.

I think #85 and #115 are related to the same core issue.

Does anyone with more of a working knowledge of FFTW understand what the issue is here?

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.