i have array [ [1,1], [1,2] ] and [ [ 0,2 ] ] is it possible to subtract array 1 to array 2? that way the results will return [ [ 1, -1], [1, 0] ]
i have array [ [1,1], [1,2] ] and [ [ 0,2 ] ] is it possible to subtract array 1 to array 2? that way the results will return [ [ 1, -1], [1, 0] ]
For a more general approach
In the case that you have 2 labels to subtract?
list 1
5\n8\n7
list 2
4\n6\n4
result should be:
1\n2\n3