Package space.kscience.kmath.commons.transform

Types

Transformations
Link copied to clipboard
object Transformations
Streaming and buffer transformations

Functions

FFT
Link copied to clipboard
@JvmName(name = realFFT)
fun Flow<Buffer<Double>>.FFT(normalization: DftNormalization = DftNormalization.STANDARD, direction: TransformType = TransformType.FORWARD): Flow<Buffer<Complex>>
fun Flow<Buffer<Complex>>.FFT(normalization: DftNormalization = DftNormalization.STANDARD, direction: TransformType = TransformType.FORWARD): Flow<Buffer<Complex>>
Process given Flow with commons-math fft transformation
@JvmName(name = realFFT)
fun Flow<Double>.FFT(bufferSize: Int = Int.MAX_VALUE, normalization: DftNormalization = DftNormalization.STANDARD, direction: TransformType = TransformType.FORWARD): Flow<Complex>
Process a continuous flow of real numbers in FFT splitting it in chunks of bufferSize.
real
Link copied to clipboard
fun Flow<Complex>.real(): Flow<Double>
Map a complex flow into real flow by taking real part of each number