fourier

package
v0.0.0-...-cc02973 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DFT

func DFT(in, out []complex128)

DFT computes the discrete fourier transform of the given input. It's computation time is O(n^2) and thus should only be used for small inputs.

Note: the input & output arrays must be of the same size.

Formula: Xₖ = ∑ⁿ⁻¹ⱼ₌₀ inᵢ·e^(-2iπ·jk/n)

func FFT

func FFT(in, out []complex128)

Types

This section is empty.

Jump to

Keyboard shortcuts

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