1 Star 1 Fork 7

连享会/nwcommands

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nwtomatafast.sthlp 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
ThomasGrund 提交于 2015-06-17 10:50 . v1.4.2
{smcl}
{marker topic}
{helpb nw_topical##utilities:[NW-2.7] Utilities}
{title:Title}
{p2colset 9 18 22 2}{...}
{p2col :nwtomatafast {hline 2} Return link to adjacency matrix of network}
{p2colreset}{...}
{title:Syntax}
{p 8 17 2}
{cmdab: nwtomatafast}
[{it:{help netname}}]
{title:Description}
{pstd}
Internally, networks are saved as adjacency matrices in Mata. This command returns the name of the Mata matrix where a network is stored in the return vector. It
differs from {help nwtomata} in the following way. It only returns a link to the adjacency matrix and does not produce a copy of the adjacency matrix.
This can be useful, when you want to directly interact with the underlying adjacency matrix. But I only recommend this for advanced programmers.
Caution is advised because the relevant meta-information is not updated when changing the adjacency matrix of a network.
{title:Example}
{cmd:. nwrandom 5, density(.2) name(net)}
{cmd:. nwtomatafast net}
{cmd:. return list}
{title:See also}
{help nwtomata}, {help nwload}, {help nwsummarize}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/arlionn/nwcommands.git
git@gitee.com:arlionn/nwcommands.git
arlionn
nwcommands
nwcommands
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385