subtract

fun subtract(bytesPerDim: Int, dim: Int, a: ByteArray, b: ByteArray, result: ByteArray)

Result = a - b, where a >= b, else IllegalArgumentException is thrown.