Set the diagonal entries of a matrix to zero and convert it to sparse form.
drop0_killdiag(some_mat)
some_mat
A square matrix.
A sparse-form copy of some_mat with its diagonal entries set to zero.