Go语言 科学计算库 Gonum 学习1
Gonum
Installation 安裝
The core packages of the gonum suite are written in pure Go with some assembly.
gonum套件的核心軟件包是用純Go語言編寫的,并帶有一些程序集。
Installation is done using go get.
使用go get完成安裝。
Supported Go versions 受支持的Go版本
Gonum supports and tests on the three most recent minor versions of Go on Linux and Windows.
Gonum在Linux和Windows上對Go的三個最新版本支持并對其進行測試。
Build tags 構建標簽
The gonum packages use a variety of build tags to set non-standard build conditions.
gonum軟件包使用各種構建標記來設置非標準構建條件。
Building gonum applications will work without knowing how to use these tags, but they can be used during testing and to control the use of assembly and CGO code.
構建gonum應用程序可以在不知道如何使用這些標簽的情況下工作,但是可以在測試期間使用它們并控制匯編和CGO代碼的使用。
The current list of non-internal tags is as follows:
當前的非內部標簽列表如下:
- appengine — do not use assembly or unsafe
- appengine-請勿使用匯編程序或不安全的程序
- safe — synonym for appengine
- safe -Appengine的同義詞
- bounds — use bounds checks even in internal calls
- bounds -即使在內部調用中也要使用邊界檢查
- cblas — use CGO gonum.org/v1/netlib/blas/netlib BLAS implementation in tests (only in mat package)
- cblas —在測試中使用CGO gonum.org/v1/netlib/blas/netlib BLAS實現
- noasm — do not use assembly implementations
- noasm-不使用匯編實現
- tomita — use Tomita, Tanaka, Takahashi pivot choice for maximimal clique calculation, otherwise use random pivot (only in topo package)
- tomita-使用Tomita,Tanaka,Takahashi樞軸選擇進行最大的集團計算,否則使用隨機樞軸(僅在topo軟件包中)
Issues 問題
If you find any bugs, feel free to file an issue on the github issue tracker.
如果發現任何錯誤,請隨時在github問題跟蹤器上提交問題。
Discussions on API changes, added features, code review, or similar requests are preferred on the gonum-dev Google Group.
在gonum-dev Google小組中,最好是有關API更改,附加功能,代碼審查或類似要求的討論。
https://groups.google.com/forum/#!forum/gonum-dev
License 許可
Original code is licensed under the Gonum License found in the LICENSE file.
原始代碼是根據LICENSE文件中的Gonum許可證獲得許可的。
Portions of the code are subject to the additional licenses found in THIRD_PARTY_LICENSES.
部分代碼受THIRD_PARTY_LICENSES中的其他許可證約束。
All third party code is licensed either under a BSD or MIT license.
所有第三方代碼均已獲得BSD或MIT許可。
Code in graph/formats/dot is dual licensed Public Domain Dedication and Gonum License, and users are free to choose the license which suits their needs for this code.
圖形/格式/點中的代碼是雙重許可的“公共領域專用”和“ Gonum許可”,用戶可以自由選擇適合其對此代碼需求的許可。
總結
以上是生活随笔為你收集整理的Go语言 科学计算库 Gonum 学习1的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: AI Studio 学习 Go 豆瓣电影
- 下一篇: 为什么Go没有三元运算符