sumOf
@JvmName("sumOfDouble") inline fun BooleanArray.sumOf(
selector: (Boolean) -> Double
): Double
(source)
@JvmName("sumOfDouble") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf(
selector: (ULong) -> Double
): Double
(source)
@JvmName("sumOfDouble") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf(
selector: (UByte) -> Double
): Double
(source)
@JvmName("sumOfDouble") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf(
selector: (UShort) -> Double
): Double
(source)
@JvmName("sumOfInt") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf(
selector: (ULong) -> Int
): Int
(source)
@JvmName("sumOfInt") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf(
selector: (UByte) -> Int
): Int
(source)
@JvmName("sumOfInt") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf(
selector: (UShort) -> Int
): Int
(source)
@JvmName("sumOfLong") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf(
selector: (ULong) -> Long
): Long
(source)
@JvmName("sumOfLong") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf(
selector: (UByte) -> Long
): Long
(source)
@JvmName("sumOfLong") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf(
selector: (UShort) -> Long
): Long
(source)
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf(
selector: (ULong) -> UInt
): UInt
(source)
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf(
selector: (UByte) -> UInt
): UInt
(source)
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf(
selector: (UShort) -> UInt
): UInt
(source)
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf(
selector: (ULong) -> ULong
): ULong
(source)
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf(
selector: (UByte) -> ULong
): ULong
(source)
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf(
selector: (UShort) -> ULong
): ULong
(source)
@JvmName("sumOfBigDecimal") inline fun <T> Array<out T>.sumOf(
selector: (T) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") inline fun ByteArray.sumOf(
selector: (Byte) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") inline fun ShortArray.sumOf(
selector: (Short) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") inline fun IntArray.sumOf(
selector: (Int) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") inline fun LongArray.sumOf(
selector: (Long) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") inline fun FloatArray.sumOf(
selector: (Float) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") inline fun DoubleArray.sumOf(
selector: (Double) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") inline fun BooleanArray.sumOf(
selector: (Boolean) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") inline fun CharArray.sumOf(
selector: (Char) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigInteger") inline fun <T> Array<out T>.sumOf(
selector: (T) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") inline fun ByteArray.sumOf(
selector: (Byte) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") inline fun ShortArray.sumOf(
selector: (Short) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") inline fun IntArray.sumOf(
selector: (Int) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") inline fun LongArray.sumOf(
selector: (Long) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") inline fun FloatArray.sumOf(
selector: (Float) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") inline fun DoubleArray.sumOf(
selector: (Double) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") inline fun BooleanArray.sumOf(
selector: (Boolean) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") inline fun CharArray.sumOf(
selector: (Char) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigDecimal") @ExperimentalUnsignedTypes inline fun UIntArray.sumOf(
selector: (UInt) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf(
selector: (ULong) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf(
selector: (UByte) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigDecimal") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf(
selector: (UShort) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigInteger") @ExperimentalUnsignedTypes inline fun UIntArray.sumOf(
selector: (UInt) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf(
selector: (ULong) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf(
selector: (UByte) -> BigInteger
): BigInteger
(source)
@JvmName("sumOfBigInteger") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf(
selector: (UShort) -> BigInteger
): BigInteger
(source)
Returns the sum of all values produced by selector function applied to each element in the array.
@JvmName("sumOfBigDecimal") inline fun <T> Iterable<T>.sumOf(
selector: (T) -> BigDecimal
): BigDecimal
(source)
@JvmName("sumOfBigInteger") inline fun <T> Iterable<T>.sumOf(
selector: (T) -> BigInteger
): BigInteger
(source)
Returns the sum of all values produced by selector function applied to each element in the collection.