Learn R Programming

diffusr (version 0.1.4)

normalize.laplacian: Calculate the Laplacian of a matrix

Description

Calculate the Laplacian of a matrix

Usage

normalize.laplacian(obj, ...)

Arguments

obj

matrix for which the Laplacian is calculated

...

additional params

Value

returns the Laplacian

Examples

Run this code
# NOT RUN {
 W <- matrix(abs(rnorm(10000)), 100, 100)
 lapl.W <- normalize.laplacian(W)
# }

Run the code above in your browser using DataLab