hmatrix-gsl-0.18.0.1: Numerical computation

Copyright(c) Alberto Ruiz 2006
LicenseGPL
MaintainerAlberto Ruiz
Stabilityprovisional
Safe HaskellNone
LanguageHaskell98

Numeric.GSL.Fourier

Description

Synopsis

Documentation

fft :: Vector (Complex Double) -> Vector (Complex Double) Source #

Fast 1D Fourier transform of a Vector (Complex Double) using gsl_fft_complex_forward. It uses the same scaling conventions as GNU Octave.

>>> fft (fromList [1,2,3,4])
fromList [10.0 :+ 0.0,(-2.0) :+ 2.0,(-2.0) :+ 0.0,(-2.0) :+ (-2.0)]

ifft :: Vector (Complex Double) -> Vector (Complex Double) Source #

The inverse of fft, using gsl_fft_complex_inverse.