mapIndexed

@JvmName(name = "mapD1Indexed")
inline fun <T, R : Any> MultiArray<T, D1>.mapIndexed(transform: (index: Int, T) -> R): D1Array<R>

Return a new array contains elements after applying transform.