Convert sparse matrix into sparse dgCMatrix

ngme_as_sparse(G)

Arguments

G

matrix

Value

sparse dgCMatrix