Description Usage Arguments Value Author(s) References Examples
View source: R/laplacianEnergy.R
This method calculates the Laplacian energy of a graph.
1 |
g |
a graph as a graphNEL object. |
This method returns the Laplacian energy of a graph as a double-precision floating point value.
Lavanya Sivakumar, Michael Schutte
I. Gutman and B. Zhou: Laplacian energy of a graph. Linear Algebra and its Applications, 414:29-37, 2006.
1 2 3 4 5 | library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:8), 0.6)
laplacianEnergy(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.