Say we have a matrix:
A = [1.0 2.0 3.0; 4.0 5.0 6.0] #2×3 Matrix{Float64}
and a record:
b = [1.0 2.0 3.0] #1×3 Matrix{Float64}
what is the most efficient way to check if record b exists in matrix A in Julia?
Doing b in A returns false.
And writing a nested for-loop when we may have a large matrix (many dimensions and many rows) to check seems inefficient.