GraphMine

graphmine-util / io.github.sof3.graphmine.util / kotlin.DoubleArray

Extensions for kotlin.DoubleArray

mapArray fun <R> DoubleArray.mapArray(transform: (Double) -> R): Array<R>
Returns an array containing the results of applying the given transform function to each element in the original array
mapBooleanArray fun DoubleArray.mapBooleanArray(transform: (Double) -> Boolean): BooleanArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapByteArray fun DoubleArray.mapByteArray(transform: (Double) -> Byte): ByteArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapCharArray fun DoubleArray.mapCharArray(transform: (Double) -> Char): CharArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapDoubleArray fun DoubleArray.mapDoubleArray(transform: (Double) -> Double): DoubleArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapFloatArray fun DoubleArray.mapFloatArray(transform: (Double) -> Float): FloatArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapIntArray fun DoubleArray.mapIntArray(transform: (Double) -> Int): IntArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapLongArray fun DoubleArray.mapLongArray(transform: (Double) -> Long): LongArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapShortArray fun DoubleArray.mapShortArray(transform: (Double) -> Short): ShortArray
Returns an array containing the results of applying the given transform function to each element in the original array