nbrposs: nbrposs()

View source: R/nbrposs.R

nbrpossR Documentation

nbrposs()

Description

This function returns the number of possibilities for a given empty cell

Usage

nbrposs(x, i, j)

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

Value

Number of possibilities for the cell (i,j)

Examples

nbrposs(x=grid_gen_cplt(),5,7)
nbrposs(x=grid_gen_cplt(),6,9)

RSDK documentation built on March 18, 2022, 5:08 p.m.