Find distinct elements common to all rows of a matrix.
Using this website, you can find the distinct elements common to all rows of a matrix. You can select the size of the matrix and enter the elements of the matrix. The distinct elements common to all rows of the matrix will be displayed.
Matrix is a two-dimensional array of numbers. Given a matrix, find all distinct elements common to all rows of the matrix. For example, consider the following matrix:
1 2 1 4 8
3 7 8 5 1
8 7 7 3 1
8 1 2 7 9
The output should be 1 and 8.