Description Usage Arguments Value Examples
View source: R/combinatorial_laplacian.R
Given a nerve or a clique complex, it computes the Combinatorial Laplacians for 0- and 1-forms and the weights of 0- and 1-simplices.
1 | combinatorial_laplacian(g2, one_forms = TRUE, weights = FALSE)
|
g2 |
an object of the class |
one_forms |
when set FALSE only the Combinatorial Laplacian for 0-forms is computed. By default is set to TRUE. |
weights |
when set to TRUE it takes 2-simplices into account when computing weights. By default is set to FALSE. |
Returns a list with the Combinatorial Laplacians for 0- and 1-forms and the weights for 0- and 1-simplices.
1 2 3 | library(RayleighSelection)
gy <- nerve_complex(list(c(1,4,6,10), c(1,2,7), c(2,3,8), c(3,4,9,10), c(4,5)))
combinatorial_laplacian(gy)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.