SeedRandom[1];
m = RandomInteger[1, {10, 2}]
Position[m, u_ /; u != {0, 0}]
{{1, 1}, {0, 1}, {0, 0}, {0, 1}, {0, 1}, {0, 0}, {0, 0}, {0, 0},
{0, 1}, {1, 1}}
{{1}, {2}, {4}, {5}, {9}, {10}, {}}
I want to find where the pairs are different from {0,0}
. What is the last emtpy bracket?
Position
$\endgroup$