fft

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FFT

type FFT struct {
	N int // Fft length, power of 2.

	E []complex128 // Precomputed roots table, length N.
	// contains filtered or unexported fields
}

func New

func New(N int) (f FFT, err error)

func (FFT) Inverse

func (f FFT) Inverse(x []complex128) []complex128

Inverse is the backwards transform.

func (FFT) Transform

func (f FFT) Transform(x []complex128) []complex128

Transform Forward transform. The forward transform overwrites the input array.

Jump to

Keyboard shortcuts

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