Skip to contents

Check if the sparse matrix valid

Usage

assert_dgCMatrix(adj_matrix, non_negative = TRUE)

Arguments

adj_matrix

The sparse matrix to check

non_negative

Check if any non negative vlues