Description Usage Arguments Details Value Author(s) See Also Examples
The Laplacian of a hypergraph is D-A, where A is the (weighted) adjacency matrix, and D is the row-sums.
1 | hypergraph_laplacian_matrix(h,normalize=FALSE)
|
h |
a hypergraph. |
normalize |
logical. Whether to normalize the Laplacian matrix. |
The Laplacian is D-A, where D is the row sums of the adjacency matrix A.
If normalize
is TRUE, then the normalized version is returned.
a (sparse) matrix.
David J. Marchette dmarchette@gmail.com
1 2 3 | h <- hypergraph_from_edgelist(list(1:4,2:5,c(3,5,7,8,10),c(2,9),c(2:3,6,10)))
L <- hypergraph_laplacian_matrix(h)
Ln <- hypergraph_laplacian_matrix(h,normalize=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.