math

package
v0.0.0-...-6d3268d Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DCT

func DCT(data []float64, width *int) error

Discrete Cosine Transform

  • Arguments - data : pointer to the real vector width : only the first "width" elements will be computed, if width <= 0, all elements will be computed and returned

func FFT

func FFT(ar, ai []float64, length int) error

------------------- Fast Fourier Transformation ------------------ routine of fft

  • Arguments - ar : pointer to the sequence of the real part ai : pointer to the sequence of the imaginary part length : length of the vector, it must be 2^N, otherwise the vector must be padded with zero.

Types

This section is empty.

Jump to

Keyboard shortcuts

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