valid_colum_or_row Function

public pure function valid_colum_or_row(vector)


Validation routines


Validation of either a row or a column.

Returns true if each digit in the 1D array appears only once

Arguments

Type IntentOptional Attributes Name
integer, intent(in), dimension(1:9) :: vector

A row or a column

Return Value logical


Called by

proc~~valid_colum_or_row~~CalledByGraph proc~valid_colum_or_row valid_colum_or_row proc~valid_digit valid_digit proc~valid_digit->proc~valid_colum_or_row proc~valid_grid valid_grid proc~valid_grid->proc~valid_colum_or_row proc~cli_solver cli_solver proc~cli_solver->proc~valid_grid proc~create_filled_grid create_filled_grid proc~create_filled_grid->proc~valid_digit

Variables

Type Visibility Attributes Name Initial
integer, public, dimension(1:9) :: counters
integer, public :: i