fft

package module
v0.0.0-...-45ff6f1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 2 Imported by: 0

README

fft

Fast Fourier Transform in Golang.

高速フーリエ変換/逆変換のライブラリです。

Install

$ go get github.com/takatoh/fft

Usage

フーリエ変換には fft.FFT 関数を使います。

y := fft.FFT(x, n)

x がデータ(複素数)、n がデータ数。n は 2 のべき乗である必要があります。

逆変換には fft.IFFT 関数を使います。

z := fft.IFFT(y, n)

License

MIT License

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FFT

func FFT(x []complex128, n int) []complex128

func IFFT

func IFFT(x []complex128, n int) []complex128

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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