Merge candidates in the row, column or block.
carray = sudoku_candidatesmerge ( X , C , L , kind , i , j , len )
a 9-by-9 matrix, with 0 for unknown entries
a 9 x 9 cell of candidates
the 9 x 9 matrix of number candidates
set kind=1 for row, kind=2 for column and kind=3 for block
the row of the value. If kind = 1, i in 1:9. If kind = 3, i in [1 4 7].
the column of the value. If kind = 2, j in 1:9. If kind = 3, j in [1 4 7].
an array of two reals
minimum number of candidates in the cell.
maximum number of candidates in the cell.
a row vector containing all the unique candidates in the row, column or block.
Merge all candidates in a row, column or block and returns them. Only cells which number of candidates is between lenmin and lenmax are taken into account. Returns only unique candidates: duplicate candidates are removed. If there is no candidate in this row, column or block, returns an empty matrix. The merged candidates are returned as a row matrix.