1 Star 0 Fork 7

夏汉林/nwcommands

forked from 连享会/nwcommands 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nwissymmetric.sthlp 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
ThomasGrund 提交于 2015-02-18 23:41 . v1.1.6D
{smcl}
{* *! version 1.0.4 23aug2014 author: Thomas Grund}{...}
{marker topic}
{helpb nw_topical##information:[NW-2.4] Information}
{title:Title}
{p2colset 9 20 22 2}{...}
{p2col :nwissyemmtric {hline 2} Check if network is symmetric}
{p2colreset}{...}
{title:Syntax}
{p 8 17 2}
{cmdab: nwissymmetric}
[{it:{help netname}}]
{title:Description}
{pstd}
{cmd:nwissymmetric} simply checks if the underlying adjacency matrix of network {help netname} is symmetric, regardless
of whether the network is assigned to be directed or undirected (see {help nwname}). An adjacency matrix
{it:M} is symmetric when {it:M_ij == M_ji}. Returns
{it:r(issymmetric)} in the return vector.
{pstd}
This command can be useful for programming, when one wants to detect if a network should be undirected.
{pstd}
For example, {help nwimport} automatically checks if a network (e.g. Ucinet fullmatrix) is symmetric and if yes,
imports the network as undirected.
{title:Examples}
{cmd:. webnwuse florentine}
{cmd:. nwissymmetric flomarrige}
{cmd:. return list}
{txt}scalars:
r(issymmetric) = {res}1{txt}
{title:See also}
{help nwsym}, {help nwname}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiahanlin/nwcommands.git
git@gitee.com:xiahanlin/nwcommands.git
xiahanlin
nwcommands
nwcommands
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385