没有合适的资源?快使用搜索试试~ 我知道了~
mathfmt:精美地记录数学Go代码
共21个文件
go:7个
golden:3个
in:3个
需积分: 5 0 下载量 32 浏览量
2021-03-21
10:46:57
上传
评论
收藏 109KB ZIP 举报
温馨提示
数学函数 精美地记录数学Go代码。 用 -ish语法编写数学公式 使用Unicode字符格式化的上标/下标: 2^32变为2³² , x_{i+1}变为xᵢ₊₁ 全面的: \zeta(s) = \sum 1/n^{s}变为ζ(s) = ∑ 1/nˢ 受到的启发,可以进行。 用法 使用以下命令安装mathfmt : go get -u github.com/mmcloughlin/mathfmt 像使用gofmt一样,将其应用于文件。 mathfmt -w file.go 例子 这是Go语言中的方差函数,在注释中记录了LaTeX-ish方程。 // Variance computes the population variance of the population x_{i} of size N. // Specifically, it computes \sigma^2 where
资源推荐
资源详情
资源评论
收起资源包目录
mathfmt-master.zip (21个子文件)
mathfmt-master
testdata
poly1305.golden 9KB
p256.in 40KB
p256.golden 40KB
poly1305.in 9KB
stats.in 771B
stats.golden 746B
tables.go 2KB
symbols.md 238KB
make_symbols.go 12KB
.github
workflows
ci.yml 1KB
LICENSE 1KB
format_test.go 6KB
main.go 597B
.golangci.yml 171B
Makefile 739B
go.sum 3KB
README.md 4KB
format.go 3KB
golden_test.go 3KB
zsymbols.go 100KB
go.mod 110B
共 21 条
- 1
资源评论
KawaiiLabsSol
- 粉丝: 31
- 资源: 4712
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功