Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 397 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 397 Bytes

RFFT.jl

In-place real FFTs for Julia

For example

import RFFT

a = rand(Float64, 100, 150)

# initialize a buffer 'RCpair' that contains a real and complex space
buf = RFFT.RCpair{Float64}(undef, size(a))

# create the plan
plan = RFFT.plan_rfft!(buf; flags=FFTW.MEASURE)

# use the plan and buffer on a new array
new = rand(Float64, 100, 150)
copy!(buf, new)
new_fft = plan(buf)