Package space.kscience.kmath.chains
Types
Link copied to clipboard
interface BlockingBufferChain<out T> : BlockingChain<T> , BufferChain<T>
Content copied to clipboard
Link copied to clipboard
A chain with blocking generator that could be used without suspension
Link copied to clipboard
Chunked, specialized chain for double values, which supports blocking nextBlocking operation
Link copied to clipboard
Performance optimized chain for integer values
Link copied to clipboard
Link copied to clipboard
A chain that repeats the same value
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun BlockingDoubleChain.map(transform: (Double) -> Double): BlockingDoubleChain
Content copied to clipboard
Map the chain result using suspended transformation. Initial chain result can no longer be safely consumed since mapped chain consumes tokens. Accepts regular transformation function.
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any> BlockingChain<T>.nextBufferBlocking(size: Int): Buffer<T>
Content copied to clipboard