Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

motifcluster (version 0.2.3)

drop0_killdiag: Set diagonal entries to zero and sparsify

Description

Set the diagonal entries of a matrix to zero and convert it to sparse form.

Usage

drop0_killdiag(some_mat)

Value

A sparse-form copy of some_mat with its diagonal entries set to zero.

Arguments

some_mat

A square matrix.