fft

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

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
}

func New

func New(n int) Plan

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL