transform1DInplace

inline fun transform1DInplace(    oldLen: Double,     newLen: Double,     count: Int,     get: (index: Int) -> Double,     set: (index: Int, value: Double) -> Unit,     iscale: Double = 1.0)
fun transform1DInplace(positions: DoubleArrayList, oldLen: Double, newLen: Double)