R/Laplacian.R

Defines functions Laplacian

Documented in Laplacian

Laplacian<- function(A){
  d<- apply(A,2,FUN="sum")
  L <- diag(1/sqrt(d))%*%A%*%diag(1/sqrt(d))
  return(L)
}

Try the LPGraph package in your browser

Any scripts or data that you put into this service are public.

LPGraph documentation built on Jan. 31, 2020, 1:06 a.m.