## package gonum

`import "gonum.org/v1/gonum"`

Gonum is a set of packages designed to make writing numerical and scientific algorithms productive, performant, and scalable.

Gonum contains libraries for matrices and linear algebra; statistics, probability distributions, and sampling; tools for function differentiation, integration, and optimization; network creation and analysis; and more.

### Index ¶

### Functions ¶

#### func Version ¶

func Version() (version, sum string)

Version returns the version of Gonum and its checksum. The returned values are only valid in binaries built with module support.

If a replace directive exists in the Gonum go.mod, the replace will be reported in the version in the following format:

"version=>[replace-path] [replace-version]"

and the replace sum will be returned in place of the original sum.

The exact version format returned by Version may change in future.

### Source Files ¶

doc.go version.go

### Directories ¶

Path | Synopsis |
---|---|

blas | Package blas provides interfaces for the BLAS linear algebra standard. |

blas/blas32 | Package blas32 provides a simple interface to the float32 BLAS API. |

blas/blas64 | Package blas64 provides a simple interface to the float64 BLAS API. |

blas/cblas128 | Package cblas128 provides a simple interface to the complex128 BLAS API. |

blas/cblas64 | Package cblas64 provides a simple interface to the complex64 BLAS API. |

blas/gonum | Package gonum is a Go implementation of the BLAS API. |

blas/testblas | Package testblas provides tests for blas implementations. |

blas/testblas/benchautogen | Script for automatic code generation of the benchmark routines. |

cmplxs | Package cmplxs provides a set of helper routines for dealing with slices of complex128. |

cmplxs/cscalar | Package cscalar provides a set of helper routines for dealing with complex128 values. |

diff | |

diff/fd | Package fd provides functions to approximate derivatives using finite differences. |

dsp | |

dsp/fourier | Package fourier provides functions to perform Discrete Fourier Transforms. |

dsp/fourier/internal | |

dsp/window | Package window provides a set of functions to perform the transformation of sequence by different window functions. |

dsp/window/cmd | |

dsp/window/cmd/leakage | The leakage program provides summary characteristics and a plot of spectral response for window functions or csv input. |

floats | Package floats provides a set of helper routines for dealing with slices of float64. |

floats/scalar | Package scalar provides a set of helper routines for dealing with float64 values. |

graph | Package graph defines graph interfaces. |

graph/coloring | Package coloring provides graph coloring functions. |

graph/community | Package community provides graph community detection functions. |

graph/encoding | Package encoding provides a common graph encoding API. |

graph/encoding/digraph6 | Package digraph6 implements graphs specified by digraph6 strings. |

graph/encoding/dot | Package dot implements GraphViz DOT marshaling and unmarshaling of graphs. |

graph/encoding/graph6 | Package graph6 implements graphs specified by graph6 strings. |

graph/encoding/graphql | Package graphql implements JSON marshaling and unmarshaling of graph as used by GraphQL |

graph/flow | Package flow provides control flow analysis functions. |

graph/formats | |

graph/formats/cytoscapejs | Package cytoscapejs implements marshaling and unmarshaling of Cytoscape.js JSON documents. |

graph/formats/dot | Package dot implements a parser for Graphviz DOT files. |

graph/formats/dot/ast | Package ast declares the types used to represent abstract syntax trees of Graphviz DOT graphs. |

graph/formats/dot/internal | |

graph/formats/gexf12 | Package gexf12 implements marshaling and unmarshaling of GEXF1.2 documents. |

graph/formats/rdf | Package rdf implements decoding the RDF 1.1 N-Quads line-based plain text format for encoding an RDF dataset. |

graph/formats/sigmajs | Package sigmajs implements marshaling and unmarshaling of Sigma.js JSON documents. |

graph/graphs | |

graph/graphs/gen | Package gen provides random graph generation functions. |

graph/internal | |

graph/iterator | Package iterator provides node, edge and line iterators. |

graph/layout | Package layout defines functions for performing graph layout. |

graph/multi | Package multi provides a suite of multigraph implementations satisfying the gonum/graph interfaces. |

graph/network | Package network provides network analysis functions. |

graph/path | Package path provides graph path finding functions. |

graph/path/dynamic | Package dynamic provides incremental heuristic graph path finding functions. |

graph/path/internal | |

graph/product | Package product implements graph product functions. |

graph/set | |

graph/set/uid | Package uid implements unique ID provision for graphs. |

graph/simple | Package simple provides a suite of simple graph implementations satisfying the gonum/graph interfaces. |

graph/spectral | Package spectral provides graph spectral analysis functions. |

graph/testgraph | Package testgraph provides a set of testing helper functions that test Gonum graph interface implementations. |

graph/topo | Package topo provides graph topology analysis functions. |

graph/traverse | Package traverse provides basic graph traversal primitives. |

integrate | Package integrate provides functions to compute an integral given a specific list of evaluations. |

integrate/quad | Package quad provides numerical evaluation of definite integrals of single-variable functions. |

integrate/testquad | Package testquad provides integrals for testing quadrature algorithms. |

internal | |

interp | Package interp implements 1-dimensional algorithms for interpolating values. |

lapack | Package lapack provides interfaces for the LAPACK linear algebra standard. |

lapack/gonum | Package gonum is a pure-go implementation of the LAPACK API. |

lapack/lapack64 | Package lapack64 provides a set of convenient wrapper functions for LAPACK calls, as specified in the netlib standard (www.netlib.org). |

lapack/testlapack | |

mat | Package mat provides implementations of float64 and complex128 matrix structures and linear algebra operations on them. |

mathext | Package mathext implements special math functions not implemented by the Go standard library. |

mathext/internal | |

mathext/prng | Package prng provides random source PRNG implementations. |

num | |

num/dual | Package dual provides the dual numeric type and functions. |

num/dualcmplx | Package dualcmplx provides the anti-commutative dual complex numeric type and functions. |

num/dualquat | Package dualquat provides the dual quaternion numeric type and functions. |

num/hyperdual | Package hyperdual provides the hyperdual numeric type and functions. |

num/quat | Package quat provides the quaternion numeric type and functions. |

optimize | Package optimize implements algorithms for finding the optimum value of functions. |

optimize/convex | |

optimize/convex/lp | Package lp implements routines to solve linear programming problems. |

optimize/functions | Package functions provides objective functions for testing optimization algorithms. |

spatial | |

spatial/barneshut | Package barneshut provides routines for calculating n-body force approximations using the Barnes-Hut algorithm. |

spatial/curve | Package curve defines space filling curves. |

spatial/kdtree | Package kdtree implements a k-d tree. |

spatial/r1 | Package r1 provides 1D vectors and intervals and operations on them. |

spatial/r2 | Package r2 provides 2D vectors and boxes and operations on them. |

spatial/r3 | Package r3 provides 3D vectors and boxes and operations on them. |

spatial/vptree | Package vptree implements a vantage point tree. |

stat | Package stat provides generalized statistical functions. |

stat/card | Package card provides cardinality estimation functions. |

stat/combin | Package combin implements routines involving combinatorics (permutations, combinations, etc.). |

stat/distmat | Package distmat provides probability distributions over matrices. |

stat/distmv | Package distmv provides multivariate random distribution types. |

stat/distuv | Package distuv provides univariate random distribution types. |

stat/mds | Package mds provides multidimensional scaling functions. |

stat/samplemv | Package samplemv implements advanced sampling routines from explicit and implicit probability distributions. |

stat/sampleuv | Package sampleuv implements advanced sampling routines from explicit and implicit probability distributions. |

stat/spatial | Package spatial provides spatial statistical functions. |

unit | Package unit provides a set of types and constants that facilitate the use of the International System of Units (SI). |

unit/constant | Package constant provides fundamental constants satisfying unit.Uniter. |

- Version
- v0.15.0 (latest)
- Published
- Mar 15, 2024
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 day ago –

Tools for package owners.