components_in_adjacency: C++ implementation to obtain connected components in a graph.

View source: R/RcppExports.R

components_in_adjacencyR Documentation

C++ implementation to obtain connected components in a graph.

Description

C++ implementation to obtain connected components in a graph.

Usage

components_in_adjacency(adj)

Arguments

adj

An adjacency matrix.

Value

Returns a matrix with 2 columns containing the indicies in the lower-triangle of the matrix that are nonzero.


SeqNet documentation built on Oct. 10, 2026, 5:06 p.m.