Skip to contents

Calculate Normalized graph laplacian of the input adjacency matrix, the graph laplacian L = I-D^(-1/2)AD^(-1/2), where D is a diagonal matrix with row sums of A as entries.

Usage

NormLaplacian(adj)

Arguments

adj

The adjacency matix of type 'matrix/array'.

Value

A sparsed normalized graph laplacian matrix of type "dgCmatrix".