entropy:文件熵计算工具

时间:2021-06-30 13:08:38
【文件属性】:
文件名称:entropy:文件熵计算工具
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-30 13:08:38
Go 熵 熵计算包和命令行工具 安装 $go get github.com/ianberinger/entropy 或从下载二进制文件。 用法 熵采用相对或绝对文件路径作为输入,例如, $entropy ../foo.txt 并输出该文件的熵(介于 0 和 1 之间)。 还有一个prettyprint标志: $entropy -pretty ../foo.txt 您可以在自己的 go 包中使用熵: import "github.com/ianberinger/entropy/entropy" 有关文档,请参阅 。
【文件预览】:
entropy-master
----main.go(638B)
----.travis.yml(34B)
----LICENSE(1KB)
----README.md(848B)
----entropy()
--------entropy.go(814B)

网友评论