fill_weight_cpp: Fill edgeweight into the adjacency matrix. Defined for...

View source: R/RcppExports.R

fill_weight_cppR Documentation

Fill edgeweight into the adjacency matrix. Defined for function edgelist_to_adj.

Description

Fill edgeweight into the adjacency matrix. Defined for function edgelist_to_adj.

Usage

fill_weight_cpp(adj, edgelist, edgeweight)

Arguments

adj

An adjacency matrix.

edgelist

A two column matrix represents the edgelist.

edgeweight

A vector represents the weight of edges.

Value

Adjacency matrix with edge weight.


wdnet documentation built on May 29, 2024, 9:32 a.m.