setArray

fun setArray(index: Int, inp: DoubleArray, offset: Int = 0, size: Int = inp.size - offset)