galois:伽罗华域数学的Golang实现

时间:2021-06-01 06:40:11
【文件属性】:
文件名称:galois:伽罗华域数学的Golang实现
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-01 06:40:11
Go 伽罗瓦 伽罗瓦域数学的 Golang 实现。 计算 GF(2) 到 GF(24)。 安装 go get github.com/cmehay/galois 伽罗瓦域如何? 获取您想要的 GF(x) 的实例 import "github.com/cmehay/galois" func main() { gf, err := galois.GF(8) ... 并计算 mul, err := gf.Mul(3, 4) div, err := gf.Div(6, 43) expon, err := gf.Expon(34, 9001) 我有超过 9000 TB 的内存,我想计算 GF(31) 增加MaxGF const,将primPoly类型更改为uint64并将所需的原始多项式添加到切片。 这里有一个很棒的多项式列表 Degree Octal Representatio
【文件预览】:
galois-master
----galois_test.go(4KB)
----README.md(4KB)
----galois.go(3KB)

网友评论