drop0_killdiag | R Documentation |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.