utils_normalized_adjacency: Normalize Adjacency Matrix

Description Usage Arguments Value

View source: R/utils.R

Description

\loadmathjax

Normalizes the given adjacency matrix using the degree matrix as either \mjeqnD^-1AD^(-1)A or \mjeqnD^-1/2AD^-1/2D^(-1/2)AD^(-1/2) (symmetric normalization).

Usage

1

Arguments

A

rank 2 array or sparse matrix

symmetric

boolean, compute symmetric normalization

Value

the normalized adjacency matrix.


rdinnager/rspektral documentation built on June 12, 2021, 1:26 a.m.