Julia equivalent for MatLab ismembertol
I have two different datasets, say A of dimension (N1,3) and B(N2,3).
I want to identify the rows in A which are approximately equal to some rows in B with tolerances tol = [tol1, tol2, tol3].
In MatLab, a very efficient function does so: ismembertol which returns the row indices of B in idx (in the form of cells) for which a full row in A approximately equals a full row in B within tol
ismatch, idx = ismembertol(A,B, ‘DataScale’, 1, ‘ByRow’, true, ‘OutputAllIndices’, true)