Versions in this module Expand all Collapse all v0 v0.9.2 May 11, 2021 Changes in this version + func CoefficientsRadix2(seq []complex128) []complex128 + func CoefficientsRadix4(seq []complex128) []complex128 + func PadRadix2(x []complex128) []complex128 + func PadRadix4(x []complex128) []complex128 + func SequenceRadix2(coeff []complex128) []complex128 + func SequenceRadix4(coeff []complex128) []complex128 + func TrimRadix2(x []complex128) (even, remains []complex128) + func TrimRadix4(x []complex128) (even, remains []complex128) + type CmplxFFT struct + func NewCmplxFFT(n int) *CmplxFFT + func (t *CmplxFFT) Coefficients(dst, seq []complex128) []complex128 + func (t *CmplxFFT) Freq(i int) float64 + func (t *CmplxFFT) Len() int + func (t *CmplxFFT) Reset(n int) + func (t *CmplxFFT) Sequence(dst, coeff []complex128) []complex128 + func (t *CmplxFFT) ShiftIdx(i int) int + func (t *CmplxFFT) UnshiftIdx(i int) int + type DCT struct + func NewDCT(n int) *DCT + func (t *DCT) Len() int + func (t *DCT) Reset(n int) + func (t *DCT) Transform(dst, src []float64) []float64 + type DST struct + func NewDST(n int) *DST + func (t *DST) Len() int + func (t *DST) Reset(n int) + func (t *DST) Transform(dst, src []float64) []float64 + type FFT struct + func NewFFT(n int) *FFT + func (t *FFT) Coefficients(dst []complex128, seq []float64) []complex128 + func (t *FFT) Freq(i int) float64 + func (t *FFT) Len() int + func (t *FFT) Reset(n int) + func (t *FFT) Sequence(dst []float64, coeff []complex128) []float64 + type QuarterWaveFFT struct + func NewQuarterWaveFFT(n int) *QuarterWaveFFT + func (t *QuarterWaveFFT) CosCoefficients(dst, seq []float64) []float64 + func (t *QuarterWaveFFT) CosSequence(dst, coeff []float64) []float64 + func (t *QuarterWaveFFT) Len() int + func (t *QuarterWaveFFT) Reset(n int) + func (t *QuarterWaveFFT) SinCoefficients(dst, seq []float64) []float64 + func (t *QuarterWaveFFT) SinSequence(dst, coeff []float64) []float64