A: Computes the Adjacency linear operator which maps a vector of...

View source: R/RcppExports.R

AR Documentation

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

Description

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

Usage

A(w)

Arguments

w

weight vector of the graph

Value

Aw the Adjacency matrix

Examples

library(spectralGraphTopology)
Aw <- A(c(1, 0, 1))
Aw

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