graph.laplacian {igraph} | R Documentation |
Graph Laplacian
Description
graph.laplacian()
was renamed to laplacian_matrix()
to create a more
consistent API.
Usage
graph.laplacian(
graph,
normalized = FALSE,
weights = NULL,
sparse = igraph_opt("sparsematrices")
)
Arguments
graph |
The input graph. |
normalized |
Whether to calculate the normalized Laplacian. See definitions below. |
weights |
An optional vector giving edge weights for weighted Laplacian
matrix. If this is |
sparse |
Logical scalar, whether to return the result as a sparse
matrix. The |
[Package igraph version 2.0.3 Index]