laplacian_matrix: Find the Laplacian Matrix of a Hypergraph

View source: R/create_matrices.R

laplacian_matrixR Documentation

Find the Laplacian Matrix of a Hypergraph

Description

Find the Laplacian Matrix of a Hypergraph

Usage

laplacian_matrix(hype, as_matrix = TRUE)

Arguments

hype

A hypergraph object

as_matrix

Whether to coerce the result to a simple matrix

Value

The laplacian matrix of the hypergraph

Examples

h1 <- example_hype()
laplacian_matrix(h1)

hwarden162/hyper documentation built on Sept. 15, 2022, 5:21 a.m.