ispossible {RSDK} | R Documentation |
ispossible()
Description
This function checks if it is possible to put a given number in a given empty cell
Usage
ispossible(x, i, j, n)
Arguments
x |
A sudoku grid |
i |
The index of the row of the given cell |
j |
The index of the column of the given cell |
n |
The number that we want to check if is possible to put it in the cell of the index (i,j) |
Value
True if it is possible to put n
in the cell (i,j)
Examples
ispossible(x=grid_gen_cplt(),4,5,6)
ispossible(x=grid_gen_cplt(),4,5,6)
[Package RSDK version 1.0.1 Index]