1 Star 1 Fork 7

连享会/nwcommands

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nwsimmelian.ado 463 Bytes
一键复制 编辑 原始数据 按行查看 历史
ThomasGrund 提交于 2015-12-09 00:41 . v1.6.1
capture program drop nwsimmelian
program nwsimmelian
syntax [anything(name=netname)] [, name(string)]
_nwsyntax `netname'
if "`name'" == "" {
local name "_simmelian"
}
nwtomata `netname', mat(onenet)
mata: dich = (onenet :!= 0)
mata: mutual = ((dich :!= 0) :* (dich' :!= 0))
mata: simmel = (mutual) :* (mutual * mutual)
mata: simmel = (simmel :!= 0)
nwset, mat(simmel) name(`name') undirected xvars
capture mata: mata drop dich mutual simmel
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/arlionn/nwcommands.git
git@gitee.com:arlionn/nwcommands.git
arlionn
nwcommands
nwcommands
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385