L {spectralGraphTopology} | R Documentation |
Computes the Laplacian linear operator which maps a vector of weights into a valid Laplacian matrix.
L(w)
w |
weight vector of the graph |
Lw the Laplacian matrix
library(spectralGraphTopology)
Lw <- L(c(1, 0, 1))
Lw