R/FunctionsTree.R
Laplacian.Rd
Compute a matrix Laplacian
Laplacian(W)
Squared weight matrix
The matrix Laplacian of W
uniformeW=matrix(1,3,3) Laplacian(uniformeW) #> [,1] [,2] [,3] #> [1,] 2 -1 -1 #> [2,] -1 2 -1 #> [3,] -1 -1 2