Doesn’t this work? ``` fun map(f: (Double) -> D...
# announcements
o
Doesn’t this work?
Copy code
fun map(f: (Double) -> Double): DoubleArray = DoubleArray(length()) { f(data[it]) }