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