Check which rows of a matrix match a whole vector

columns_match_vector(X, Y)

Arguments

X

first matrix

Y

vector to match