Documentation
¶
Overview ¶
Package fft provides a swappable FFT abstraction. The default backend wraps gonum's fourier.CmplxFFT; future backends (FFTW, hand-rolled SIMD) can implement the Plan interface without disturbing call sites.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmplx64ToCmplx128 ¶
func Cmplx64ToCmplx128(dst []complex128, src []complex64) []complex128
Cmplx64ToCmplx128 / Cmplx128ToCmplx64 are convenience converters for the IQ pipeline (which is complex64) at FFT boundaries (gonum is complex128).
func Cmplx128ToCmplx64 ¶
func Cmplx128ToCmplx64(dst []complex64, src []complex128) []complex64
Types ¶
type Plan ¶
type Plan interface {
Size() int
Forward(out, in []complex128) []complex128
Inverse(out, in []complex128) []complex128
}
Click to show internal directories.
Click to hide internal directories.