copy Without
fun copyWithout(index: Int, fromA: DoubleArray, toB: DoubleArray = DoubleArray(fromA.size - 1)): DoubleArray
Copies all but element index of array fromA into array toB If fromA has 1 element, toB will be empty
Return
a reference to the array toB
Parameters
index
index of element to leave out, must be 0 to fromA.length-1
from A
array to copy from, must not be null
to B
array to copy to, must be length fromA.length - 1