GraphMine

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

Extensions for kotlin.FloatArray

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