Skip to content

mansourmoufid/lua-libfftw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibFFTW is a LuaJIT FFI wrapper for the FFTW library.

LibFFTW supports single- and double-precision, one-dimensional, real input DFTs.

Requirements

LibFFTW requires LuaJIT and the FFTW library.

Usage

local ffi = require('ffi')
local fft = require('libfftw.fftwf')

local x = ffi.new('float[3]', {1, 2, 3})
local X = ffi.new('complex float[?]', 3)
fft.rfft(x, n, X)
fft.irfft(X, n, x)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors