L: Computes the Laplacian linear operator which maps a vector of...

View source: R/RcppExports.R

LR Documentation

Computes the Laplacian linear operator which maps a vector of weights into a valid Laplacian matrix.

Description

Computes the Laplacian linear operator which maps a vector of weights into a valid Laplacian matrix.

Usage

L(w)

Arguments

w

weight vector of the graph

Value

Lw the Laplacian matrix

Examples

library(spectralGraphTopology)
Lw <- L(c(1, 0, 1))
Lw

spectralGraphTopology documentation built on March 18, 2022, 7:35 p.m.