R/utils.R
is_idx_possible.Rd
Is idx possible in given matrix?
is_idx_possible(mat, idx)
matrix
two-element vector
is_idx_possible(matrix(0, 3, 3), c(4, 5))#> [1] FALSEis_idx_possible(matrix(0, 3, 3), c(3, 2))#> [1] TRUE