fft

fun Flow<Buffer<Complex>>.fft(normalization: DftNormalization = DftNormalization.STANDARD, direction: TransformType = TransformType.FORWARD): Flow<Buffer<Complex>>(source)

Process given Flow with commons-math fft transformation


@JvmName(name = "realFFT")
fun Flow<Buffer<Double>>.fft(normalization: DftNormalization = DftNormalization.STANDARD, direction: TransformType = TransformType.FORWARD): Flow<Buffer<Complex>>(source)


@JvmName(name = "realFFT")
fun Flow<Double>.fft(bufferSize: Int = Int.MAX_VALUE, normalization: DftNormalization = DftNormalization.STANDARD, direction: TransformType = TransformType.FORWARD): Flow<Complex>(source)

Process a continuous flow of real numbers in FFT splitting it in chunks of bufferSize.