Package space.kscience.kmath.structures

Types

Link copied to clipboard
class LazyStructureND<out T>(scope: CoroutineScope, shape: IntArray, function: suspend (IntArray) -> T) : StructureND<T>

Functions

Link copied to clipboard
suspend fun <T> StructureND<T>.await(index: IntArray): T
Link copied to clipboard
fun <T> StructureND<T>.deferred(index: IntArray): Deferred<T>
Link copied to clipboard
inline fun <T, R> StructureND<T>.mapAsync(scope: CoroutineScope, crossinline function: suspend (T) -> R): LazyStructureND<R>
Link copied to clipboard
inline fun <T, R> StructureND<T>.mapAsyncIndexed(scope: CoroutineScope, crossinline function: suspend (T, index: IntArray) -> R): LazyStructureND<R>

PENDING would benefit from KEEP-176