Lap: Graph Laplacian calculator

View source: R/EffRSparse.R

LapR Documentation

Graph Laplacian calculator

Description

Find the graph Laplacian from a weighted adjacency matrix.

Usage

Lap(A)

Arguments

A

Weighted adjacency matrix.

Details

Intended as internal function.

Value

Graph Laplacian, L, of the class dgCMatrix.

Author(s)

Alexander Mercier

Examples

A = matrix(c(0,1,1,1,0,1,1,1,0), 3 ,3)
L = Lap(A)

simplifyNet documentation built on Nov. 15, 2022, 5:05 p.m.