I am looking for a way to generate a matrix with integers values within an interval, where each row of the matrix will be unique (i.e. the set of the elements a row consists of will not be exactly the set of the elements of any other row) Basically, I am looking for the row-wise matrix equivalent of:
random.sample(range(0, 35), i+1
Edit:
The matrix size changes after every iteration. The interval is 0-35. At the moment i have this implemented
for j in range (5):
comb_elms_list.append(random.sample(range(0, 35), i+1))
where basically I create a unique row and append it. But this has the danger that two rows will have the same elements (even in different order).