utils

package
v0.0.0-...-d1f57cd Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComplexAbsSquared128

func ComplexAbsSquared128(x complex128) float64

func ConvertByte

func ConvertByte[F float32 | float64](u byte) F

func CreateFolder

func CreateFolder(path string) error

func CreateWindow32

func CreateWindow32(fftSize int) []float32

func CreateWindow64

func CreateWindow64(fftSize int) []float64

func FFTComplex128

func FFTComplex128(input, output []complex128, midPoint int)

func GetFlag

func GetFlag(flag *uint32) bool

func GetPower128

func GetPower128(sample complex128) float64

func GetPower64

func GetPower64(sample complex64) float64

func MaxInt

func MaxInt(a, b int) int

func MinInt

func MinInt(a, b int) int

func SetFlag

func SetFlag(flag *uint32) bool

func UnsetFlag

func UnsetFlag(flag *uint32) bool

func Wait

func Wait()

Types

This section is empty.

Jump to

Keyboard shortcuts

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