Skip to content

knagaitsev/haskell-fft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HaskellFFT

A simple library to do Fourier Transforms in Haskell

To run tests simply run:

cabal run test

The interface is below. Note: fft and ifft expect power of 2 length input. Utils includes padPow2 in case this is needed

dftNaive :: RealFloat a => [Complex a] -> [Complex a]
idftNaive :: RealFloat a => [Complex a] -> [Complex a]
fft :: RealFloat a => [Complex a] -> [Complex a]
ifft :: RealFloat a => [Complex a] -> [Complex a]

Other useful utility functions can be found in Util.hs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published