Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

motifcluster (version 0.2.3)

build_Id: Build identity matrix

Description

Build the sparse identity matrix Id from a graph adjacency matrix.

Usage

build_Id(adj_mat)

Value

An identity matrix Id in sparse form.

Arguments

adj_mat

The original adjacency matrix.