Gonum

Installation 安装

The core packages of the gonum suite are written in pure Go with some assembly.
gonum套件的核心软件包是用纯Go语言编写的,并带有一些程序集。

go getgo get
go get -u gonum.org/v1/gonum/...

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许可”,用户可以自由选择适合其对此代码需求的许可。