L: Laplacian Matrix

Description Usage Arguments Value See Also

Description

Compute the Laplacian matrix from a weighted adjacency matrix.

Usage

1
L(w, symmetric = FALSE)

Arguments

w

A symmetric weighted adjacency matrix.

symmetric

A logical. If FALSE, then w is checked for symmetry. If it is known beforehand that w is symmetric, then it is faster to call with symmetric = TRUE.

Value

A symmetric matrix, whose values on the main diagonal represent the degree of the vertices and whose values off the main diagonal represent the negative weights in the adjacency matrix.

See Also

D


patrickreidy/phoneigen documentation built on May 20, 2019, 10:22 p.m.