https://github.com/osch/lua-lfft
Fast Fourier Transform library for Lua
https://github.com/osch/lua-lfft
dft fft fft-library lua-binding lua-library lua-math
Last synced: 3 months ago
JSON representation
Fast Fourier Transform library for Lua
- Host: GitHub
- URL: https://github.com/osch/lua-lfft
- Owner: osch
- License: mit
- Created: 2023-01-28T17:23:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-18T12:19:03.000Z (over 2 years ago)
- Last Synced: 2025-01-17T20:13:18.214Z (4 months ago)
- Topics: dft, fft, fft-library, lua-binding, lua-library, lua-math
- Language: C
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lua-lfft
[](LICENSE)
[](https://github.com/osch/lua-lfft/actions/workflows/test.yml)
[](https://ci.appveyor.com/project/osch/lua-lfft/branch/master)
[](https://luarocks.org/modules/osch/lfft)This [Lua] module provides a binding to [stb_fft], a fast fourier transform library
suitable for power of 2 and non-power of 2 written by ZhiHan Gao.All functions in this module are operating on [carray] arrays of *double* or *float*
element data type.Examples:
* [`example01.lua`](./examples/example01.lua) - demonstrates complex fourier transform
* [`example02.lua`](./examples/example02.lua) - demonstrates real fourier transform[Lua]: https://www.lua.org
[stb_fft]: https://github.com/cpuimage/stb_fft
[carray]: https://github.com/osch/lua-carray