ring_lattice_cpp {SeqNet}R Documentation

C++ implementation for creating a ring lattice

Description

C++ implementation for creating a ring lattice

Usage

ring_lattice_cpp(p, neig_size)

Arguments

p

The number of nodes in the lattice.

neig_size

The neighborhood side within which nodes are connected.

Value

Returns the adjacency matrix for the ring lattice.


[Package SeqNet version 1.1.3 Index]