mapArray

inline fun IntArray.mapArray(transform: (Int) -> Int): IntArray(source)

Returns a IntArray containing the results of applying the given transform function to each element in the original array.


inline fun LongArray.mapArray(transform: (Long) -> Long): LongArray(source)

Returns a LongArray containing the results of applying the given transform function to each element in the original array.


inline fun FloatArray.mapArray(transform: (Float) -> Float): FloatArray(source)

Returns a FloatArray containing the results of applying the given transform function to each element in the original array.


inline fun DoubleArray.mapArray(transform: (Double) -> Double): DoubleArray(source)

Returns a DoubleArray containing the results of applying the given transform function to each element in the original array.


inline fun IntArray.mapArray(transform: (Int) -> Long): LongArray(source)

Returns a LongArray containing the results of applying the given transform function to each element in the original IntArray.


inline fun IntArray.mapArray(transform: (Int) -> Float): FloatArray(source)

Returns a FloatArray containing the results of applying the given transform function to each element in the original IntArray.


inline fun IntArray.mapArray(transform: (Int) -> Double): DoubleArray(source)

Returns a DoubleArray containing the results of applying the given transform function to each element in the original IntArray.


inline fun LongArray.mapArray(transform: (Long) -> Int): IntArray(source)

Returns a IntArray containing the results of applying the given transform function to each element in the original LongArray.


inline fun LongArray.mapArray(transform: (Long) -> Float): FloatArray(source)

Returns a FloatArray containing the results of applying the given transform function to each element in the original LongArray.


inline fun LongArray.mapArray(transform: (Long) -> Double): DoubleArray(source)

Returns a DoubleArray containing the results of applying the given transform function to each element in the original LongArray.


inline fun FloatArray.mapArray(transform: (Float) -> Int): IntArray(source)

Returns a IntArray containing the results of applying the given transform function to each element in the original FloatArray.


inline fun FloatArray.mapArray(transform: (Float) -> Long): LongArray(source)

Returns a LongArray containing the results of applying the given transform function to each element in the original FloatArray.


inline fun FloatArray.mapArray(transform: (Float) -> Double): DoubleArray(source)

Returns a DoubleArray containing the results of applying the given transform function to each element in the original FloatArray.


inline fun DoubleArray.mapArray(transform: (Double) -> Int): IntArray(source)

Returns a IntArray containing the results of applying the given transform function to each element in the original DoubleArray.


inline fun DoubleArray.mapArray(transform: (Double) -> Long): LongArray(source)

Returns a LongArray containing the results of applying the given transform function to each element in the original DoubleArray.


inline fun DoubleArray.mapArray(transform: (Double) -> Float): FloatArray(source)

Returns a FloatArray containing the results of applying the given transform function to each element in the original DoubleArray.


inline fun <T> Array<T>.mapArray(transform: (T) -> Int): IntArray(source)

Returns a IntArray containing the results of applying the given transform function to each element in the original Array.


inline fun <T> Array<T>.mapArray(transform: (T) -> Long): LongArray(source)

Returns a LongArray containing the results of applying the given transform function to each element in the original Array.


inline fun <T> Array<T>.mapArray(transform: (T) -> Float): FloatArray(source)

Returns a FloatArray containing the results of applying the given transform function to each element in the original Array.


inline fun <T> Array<T>.mapArray(transform: (T) -> Double): DoubleArray(source)

Returns a DoubleArray containing the results of applying the given transform function to each element in the original Array.