On this page
scanReduceIndexed
Platform and version requirements: JVM (1.3), JS (1.3), Native (1.3)
@ExperimentalStdlibApi inline fun <S, T : S> Array<out T>.scanReduceIndexed(
operation: (index: Int, acc: S, T) -> S
): List<S> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi inline fun ByteArray.scanReduceIndexed(
operation: (index: Int, acc: Byte, Byte) -> Byte
): List<Byte> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi inline fun ShortArray.scanReduceIndexed(
operation: (index: Int, acc: Short, Short) -> Short
): List<Short> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi inline fun IntArray.scanReduceIndexed(
operation: (index: Int, acc: Int, Int) -> Int
): List<Int> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi inline fun LongArray.scanReduceIndexed(
operation: (index: Int, acc: Long, Long) -> Long
): List<Long> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi inline fun FloatArray.scanReduceIndexed(
operation: (index: Int, acc: Float, Float) -> Float
): List<Float> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi inline fun DoubleArray.scanReduceIndexed(
operation: (index: Int, acc: Double, Double) -> Double
): List<Double> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi inline fun BooleanArray.scanReduceIndexed(
operation: (index: Int, acc: Boolean, Boolean) -> Boolean
): List<Boolean> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi inline fun CharArray.scanReduceIndexed(
operation: (index: Int, acc: Char, Char) -> Char
): List<Char> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi inline fun <S, T : S> Iterable<T>.scanReduceIndexed(
operation: (index: Int, acc: S, T) -> S
): List<S> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi @ExperimentalUnsignedTypes inline fun UIntArray.scanReduceIndexed(
operation: (index: Int, acc: UInt, UInt) -> UInt
): List<UInt> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi @ExperimentalUnsignedTypes inline fun ULongArray.scanReduceIndexed(
operation: (index: Int, acc: ULong, ULong) -> ULong
): List<ULong> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi @ExperimentalUnsignedTypes inline fun UByteArray.scanReduceIndexed(
operation: (index: Int, acc: UByte, UByte) -> UByte
): List<UByte> Deprecated: Use runningReduceIndexed instead.
@ExperimentalStdlibApi @ExperimentalUnsignedTypes inline fun UShortArray.scanReduceIndexed(
operation: (index: Int, acc: UShort, UShort) -> UShort
): List<UShort> Deprecated: Use runningReduceIndexed instead.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/scan-reduce-indexed.html