calculate a non-edge list from an adjacency matrix
从邻接矩阵计算的非边缘列表
译者:生物统计家园网 机器人LoveR
描述----------Description----------
uses C code to quickly calculate all non-edges as a two column matrix given an adjacency matrix. i.e. all zeros in the adjacency matrix will correspond to a row in the non-edgelist nonE
使用C代码来快速计算出所有非边缘一个两列的矩阵邻接矩阵。也就是说,所有的邻接矩阵中对应于零一排在非EdgeList都没有
用法----------Usage----------
参数----------Arguments----------
参数:N
number of nodes
的节点数量
参数:directed
logical indicator of directedness; TRUE=>directed FALSE=>undirected
TRUE =>定向FALSE =>无向逻辑指标directedness;
参数:Y
input adjacency matrix
输入邻接矩阵
值----------Value----------
A matrix of the non-edges with N^2-NE rows and 2 columns where NE is the number of edges.
用N ^ 2-NE的行和2列,其中,NE是的边的数目的非边缘A矩阵。