diff --git a/blas/blas.go b/blas/blas.go index 6c14aac4..29ff851c 100644 --- a/blas/blas.go +++ b/blas/blas.go @@ -105,7 +105,7 @@ For real matrices, Trans and ConjTrans have the same meaning. For Hermitian matrices, trans = Trans is not allowed. For complex symmetric matrices, trans = ConjTrans is not allowed. */ -package blas +package blas // import "gonum.org/v1/gonum/blas" // Flag constants indicate Givens transformation H matrix state. type Flag int diff --git a/blas/blas32/blas32.go b/blas/blas32/blas32.go index 980dd888..e920fdba 100644 --- a/blas/blas32/blas32.go +++ b/blas/blas32/blas32.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package blas32 provides a simple interface to the float32 BLAS API. -package blas32 +package blas32 // import "gonum.org/v1/gonum/blas/blas32" import ( "gonum.org/v1/gonum/blas" diff --git a/blas/blas64/blas64.go b/blas/blas64/blas64.go index da49fecc..87990d8b 100644 --- a/blas/blas64/blas64.go +++ b/blas/blas64/blas64.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package blas64 provides a simple interface to the float64 BLAS API. -package blas64 +package blas64 // import "gonum.org/v1/gonum/blas/blas64" import ( "gonum.org/v1/gonum/blas" diff --git a/blas/cblas128/cblas128.go b/blas/cblas128/cblas128.go index 46343912..53d3449b 100644 --- a/blas/cblas128/cblas128.go +++ b/blas/cblas128/cblas128.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package cblas128 provides a simple interface to the complex128 BLAS API. -package cblas128 +package cblas128 // import "gonum.org/v1/gonum/blas/cblas128" import ( "gonum.org/v1/gonum/blas" diff --git a/blas/cblas64/cblas64.go b/blas/cblas64/cblas64.go index f494a050..b72f9bfa 100644 --- a/blas/cblas64/cblas64.go +++ b/blas/cblas64/cblas64.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package cblas64 provides a simple interface to the complex64 BLAS API. -package cblas64 +package cblas64 // import "gonum.org/v1/gonum/blas/cblas64" import ( "gonum.org/v1/gonum/blas" diff --git a/blas/cgo/doc.go b/blas/cgo/doc.go index 4e3efcf2..8b3b24ea 100644 --- a/blas/cgo/doc.go +++ b/blas/cgo/doc.go @@ -85,7 +85,7 @@ See http://www.crest.iu.edu/research/mtl/reference/html/banded.html for more information */ -package cgo +package cgo // import "gonum.org/v1/gonum/blas/cgo" // BUG(btracey): The cgo package is intrinsically dependent on the underlying C // implementation. The BLAS standard is silent on a number of behaviors, including diff --git a/blas/native/doc.go b/blas/native/doc.go index cb63fe77..c4f6b0a7 100644 --- a/blas/native/doc.go +++ b/blas/native/doc.go @@ -85,4 +85,4 @@ which is given to the BLAS routine as [∗ 1 2 3 4 ...]. See http://www.crest.iu.edu/research/mtl/reference/html/banded.html for more information */ -package native +package native // import "gonum.org/v1/gonum/blas/native" diff --git a/blas/native/internal/math32/math.go b/blas/native/internal/math32/math.go index b33401b9..10a49a1c 100644 --- a/blas/native/internal/math32/math.go +++ b/blas/native/internal/math32/math.go @@ -8,7 +8,7 @@ // Package math32 provides float32 versions of standard library math package // routines used by gonum/blas/native. -package math32 +package math32 // import "gonum.org/v1/gonum/blas/native/internal/math32" import ( "math" diff --git a/blas/testblas/level1double.go b/blas/testblas/level1double.go index b4acd85a..4a47542b 100644 --- a/blas/testblas/level1double.go +++ b/blas/testblas/level1double.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package testblas provides tests for blas implementations. -package testblas +package testblas // import "gonum.org/v1/gonum/blas/testblas" import ( "fmt" diff --git a/diff/fd/diff.go b/diff/fd/diff.go index 518d2a94..b42145ea 100644 --- a/diff/fd/diff.go +++ b/diff/fd/diff.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package fd provides functions to approximate derivatives using finite differences. -package fd +package fd // import "gonum.org/v1/gonum/diff/fd" import ( "math" diff --git a/floats/floats.go b/floats/floats.go index 7707e371..7f1cadce 100644 --- a/floats/floats.go +++ b/floats/floats.go @@ -8,7 +8,7 @@ // // The convention used is that when a slice is being modified in place, it has // the name dst. -package floats +package floats // import "gonum.org/v1/gonum/floats" import ( "errors" diff --git a/graph/community/louvain_common.go b/graph/community/louvain_common.go index a24897af..320b7564 100644 --- a/graph/community/louvain_common.go +++ b/graph/community/louvain_common.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package community provides graph community detection functions. -package community +package community // import "gonum.org/v1/gonum/graph/community" import ( "fmt" diff --git a/graph/doc.go b/graph/doc.go index 7b7b3cc8..74477274 100644 --- a/graph/doc.go +++ b/graph/doc.go @@ -35,4 +35,4 @@ list or node list. It also guarantees that any nodes passed back to the user wi nodes returned to it -- that is, it will never take a Node's ID and then wrap the ID in a new struct and return that. You'll always get back your original data. */ -package graph +package graph // import "gonum.org/v1/gonum/graph" diff --git a/graph/encoding/dot/dot.go b/graph/encoding/dot/dot.go index da7d2d0a..ff2855b4 100644 --- a/graph/encoding/dot/dot.go +++ b/graph/encoding/dot/dot.go @@ -11,7 +11,7 @@ // // DOT grammar: http://www.graphviz.org/doc/info/lang.html // -package dot +package dot // import "gonum.org/v1/gonum/graph/encoding/dot" import ( "bytes" diff --git a/graph/formats/dot/ast/ast.go b/graph/formats/dot/ast/ast.go index a8ac7bf8..4134714c 100644 --- a/graph/formats/dot/ast/ast.go +++ b/graph/formats/dot/ast/ast.go @@ -10,7 +10,7 @@ // Package ast declares the types used to represent abstract syntax trees of // Graphviz DOT graphs. -package ast +package ast // import "gonum.org/v1/gonum/graph/formats/dot/ast" import ( "bytes" diff --git a/graph/formats/dot/dot.go b/graph/formats/dot/dot.go index 6fbbe3b2..984515e1 100644 --- a/graph/formats/dot/dot.go +++ b/graph/formats/dot/dot.go @@ -9,7 +9,7 @@ // Universal Public Domain Dedication. // Package dot implements a parser for Graphviz DOT files. -package dot +package dot // import "gonum.org/v1/gonum/graph/formats/dot" import ( "fmt" diff --git a/graph/formats/dot/internal/astx/astx.go b/graph/formats/dot/internal/astx/astx.go index e52a5e7c..925171fd 100644 --- a/graph/formats/dot/internal/astx/astx.go +++ b/graph/formats/dot/internal/astx/astx.go @@ -10,7 +10,7 @@ // Package astx implements utility functions for generating abstract syntax // trees of Graphviz DOT graphs. -package astx +package astx // import "gonum.org/v1/gonum/graph/formats/dot/internal/astx" import ( "fmt" diff --git a/graph/graphs/gen/gen.go b/graph/graphs/gen/gen.go index 993d6c75..6834ac6c 100644 --- a/graph/graphs/gen/gen.go +++ b/graph/graphs/gen/gen.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package gen provides random graph generation functions. -package gen +package gen // import "gonum.org/v1/gonum/graph/graphs/gen" import "gonum.org/v1/gonum/graph" diff --git a/graph/internal/linear/linear.go b/graph/internal/linear/linear.go index cd3f4bda..191012ee 100644 --- a/graph/internal/linear/linear.go +++ b/graph/internal/linear/linear.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package linear provides common linear data structures. -package linear +package linear // import "gonum.org/v1/gonum/graph/internal/linear" import ( "gonum.org/v1/gonum/graph" diff --git a/graph/internal/ordered/sort.go b/graph/internal/ordered/sort.go index 787be17e..742d67ec 100644 --- a/graph/internal/ordered/sort.go +++ b/graph/internal/ordered/sort.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package ordered provides common sort ordering types. -package ordered +package ordered // import "gonum.org/v1/gonum/graph/internal/ordered" import "gonum.org/v1/gonum/graph" diff --git a/graph/internal/set/set.go b/graph/internal/set/set.go index 3166f14d..8febc8d2 100644 --- a/graph/internal/set/set.go +++ b/graph/internal/set/set.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package set provides integer and graph.Node sets. -package set +package set // import "gonum.org/v1/gonum/graph/internal/set" import "gonum.org/v1/gonum/graph" diff --git a/graph/network/network.go b/graph/network/network.go index f0ead5bc..13726c03 100644 --- a/graph/network/network.go +++ b/graph/network/network.go @@ -11,4 +11,4 @@ // * other centrality measures // Package network provides network analysis functions. -package network +package network // import "gonum.org/v1/gonum/graph/network" diff --git a/graph/path/doc.go b/graph/path/doc.go index 2a86fed0..f9e7b1dd 100644 --- a/graph/path/doc.go +++ b/graph/path/doc.go @@ -3,4 +3,4 @@ // license that can be found in the LICENSE file. // Package path provides graph path finding functions. -package path +package path // import "gonum.org/v1/gonum/graph/path" diff --git a/graph/path/dynamic/doc.go b/graph/path/dynamic/doc.go index 597bd956..a0e9458f 100644 --- a/graph/path/dynamic/doc.go +++ b/graph/path/dynamic/doc.go @@ -3,4 +3,4 @@ // license that can be found in the LICENSE file. // Package dynamic provides incremental heuristic graph path finding functions. -package dynamic +package dynamic // import "gonum.org/v1/gonum/graph/path/dynamic" diff --git a/graph/simple/simple.go b/graph/simple/simple.go index d081d75e..e30f9e76 100644 --- a/graph/simple/simple.go +++ b/graph/simple/simple.go @@ -4,7 +4,7 @@ // Package simple provides a suite of simple graph implementations satisfying // the gonum/graph interfaces. -package simple +package simple // import "gonum.org/v1/gonum/graph/simple" import ( "math" diff --git a/graph/topo/topo.go b/graph/topo/topo.go index 4f1d4eed..ec2fb087 100644 --- a/graph/topo/topo.go +++ b/graph/topo/topo.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package topo provides graph topology analysis functions. -package topo +package topo // import "gonum.org/v1/gonum/graph/topo" import ( "gonum.org/v1/gonum/graph" diff --git a/graph/traverse/traverse.go b/graph/traverse/traverse.go index 715d881e..19c881a9 100644 --- a/graph/traverse/traverse.go +++ b/graph/traverse/traverse.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package traverse provides basic graph traversal primitives. -package traverse +package traverse // import "gonum.org/v1/gonum/graph/traverse" import ( "golang.org/x/tools/container/intsets" diff --git a/integrate/doc.go b/integrate/doc.go index cd65327e..81bddb3b 100644 --- a/integrate/doc.go +++ b/integrate/doc.go @@ -4,4 +4,4 @@ // Package integrate provides functions to compute an integral given a // specific list of evaluations. -package integrate // "github.com/gonum/integrate" +package integrate // import "gonum.org/v1/gonum/integrate" diff --git a/integrate/quad/quad.go b/integrate/quad/quad.go index 0927254e..2f58358e 100644 --- a/integrate/quad/quad.go +++ b/integrate/quad/quad.go @@ -4,7 +4,7 @@ // Package quad provides numerical evaluation of definite integrals of single-variable functions. // -package quad +package quad // import "gonum.org/v1/gonum/integrate/quad" import ( "math" diff --git a/internal/asm/c128/doc.go b/internal/asm/c128/doc.go index 1a03f2b8..3a77db39 100644 --- a/internal/asm/c128/doc.go +++ b/internal/asm/c128/doc.go @@ -3,4 +3,4 @@ // license that can be found in the LICENSE file. // Package c128 provides complex128 vector primitives. -package c128 +package c128 // import "gonum.org/v1/gonum/internal/asm/c128" diff --git a/internal/asm/c64/doc.go b/internal/asm/c64/doc.go index 9e524a89..a0b8862b 100644 --- a/internal/asm/c64/doc.go +++ b/internal/asm/c64/doc.go @@ -3,4 +3,4 @@ // license that can be found in the LICENSE file. // Package c64 provides complex64 vector primitives. -package c64 +package c64 // import "gonum.org/v1/gonum/internal/asm/c64" diff --git a/internal/asm/f32/doc.go b/internal/asm/f32/doc.go index e7e1d9f8..89e9c224 100644 --- a/internal/asm/f32/doc.go +++ b/internal/asm/f32/doc.go @@ -3,4 +3,4 @@ // license that can be found in the LICENSE file. // Package f32 provides float32 vector primitives. -package f32 +package f32 // import "gonum.org/v1/gonum/internal/asm/f32" diff --git a/internal/asm/f64/doc.go b/internal/asm/f64/doc.go index 7f1cc87c..5b562b57 100644 --- a/internal/asm/f64/doc.go +++ b/internal/asm/f64/doc.go @@ -3,4 +3,4 @@ // license that can be found in the LICENSE file. // Package f64 provides float64 vector primitives. -package f64 +package f64 // import "gonum.org/v1/gonum/internal/asm/f64" diff --git a/internal/binding/binding.go b/internal/binding/binding.go index 1b02a4bb..70f76dca 100644 --- a/internal/binding/binding.go +++ b/internal/binding/binding.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package binding provides helpers for building autogenerated cgo bindings. -package binding +package binding // import "gonum.org/v1/gonum/internal/binding" import ( "bytes" diff --git a/lapack/cgo/lapack.go b/lapack/cgo/lapack.go index 803bc517..0ba3969f 100644 --- a/lapack/cgo/lapack.go +++ b/lapack/cgo/lapack.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package cgo provides an interface to bindings for a C LAPACK library. -package cgo +package cgo // import "gonum.org/v1/gonum/lapack/cgo" import ( "math" diff --git a/lapack/cgo/lapacke/lapacke.go b/lapack/cgo/lapacke/lapacke.go index bd5953d6..47bda36f 100644 --- a/lapack/cgo/lapacke/lapacke.go +++ b/lapack/cgo/lapacke/lapacke.go @@ -7,7 +7,7 @@ // Package lapacke provides bindings to the LAPACKE C Interface to LAPACK. // // Links are provided to the NETLIB fortran implementation/dependencies for each function. -package lapacke +package lapacke // import "gonum.org/v1/gonum/lapack/cgo/lapacke" /* #cgo CFLAGS: -g -O2 diff --git a/lapack/lapack64/lapack64.go b/lapack/lapack64/lapack64.go index 095de163..eca7d6d0 100644 --- a/lapack/lapack64/lapack64.go +++ b/lapack/lapack64/lapack64.go @@ -17,7 +17,7 @@ // The full set of Lapack functions is very large, and it is not clear that a // full implementation is desirable, let alone feasible. Please open up an issue // if there is a specific function you need and/or are willing to implement. -package lapack64 +package lapack64 // import "gonum.org/v1/gonum/lapack/lapack64" import ( "gonum.org/v1/gonum/blas" diff --git a/lapack/native/doc.go b/lapack/native/doc.go index d622dc50..0984d11b 100644 --- a/lapack/native/doc.go +++ b/lapack/native/doc.go @@ -25,4 +25,4 @@ // alone. Future additions will be focused on supporting the gonum matrix // package (https://godoc.org/github.com/gonum/matrix/mat64), though pull requests // with implementations and tests for LAPACK function are encouraged. -package native +package native // import "gonum.org/v1/gonum/lapack/native" diff --git a/mathext/internal/cephes/cephes.go b/mathext/internal/cephes/cephes.go index 3dfab9d0..e61f3465 100644 --- a/mathext/internal/cephes/cephes.go +++ b/mathext/internal/cephes/cephes.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package cephes implements functions originally in the Netlib code by Stephen Mosher. -package cephes +package cephes // import "gonum.org/v1/gonum/mathext/internal/cephes" import "math" diff --git a/matrix/cmat128/doc.go b/matrix/cmat128/doc.go index c47b8ffd..f780d6cd 100644 --- a/matrix/cmat128/doc.go +++ b/matrix/cmat128/doc.go @@ -92,4 +92,4 @@ // conversion has occurred through a cmat128 API function. Method behavior is undefined // if there is undetected overlap. // -package cmat128 +package cmat128 // import "gonum.org/v1/gonum/matrix/cmat128" diff --git a/matrix/conv/conv.go b/matrix/conv/conv.go index 4b691123..d0f42609 100644 --- a/matrix/conv/conv.go +++ b/matrix/conv/conv.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package conv provides matrix type interconversion utilities. -package conv +package conv // import "gonum.org/v1/gonum/matrix/conv" import ( "gonum.org/v1/gonum/matrix" diff --git a/matrix/doc.go b/matrix/doc.go index c94f8df1..382a8b9b 100644 --- a/matrix/doc.go +++ b/matrix/doc.go @@ -100,4 +100,4 @@ // conversion has occurred through a matrix API function. Method behavior is undefined // if there is undetected overlap. // -package matrix +package matrix // import "gonum.org/v1/gonum/matrix" diff --git a/matrix/mat64/doc.go b/matrix/mat64/doc.go index 61335708..833339a0 100644 --- a/matrix/mat64/doc.go +++ b/matrix/mat64/doc.go @@ -155,4 +155,4 @@ // conversion has occurred through a mat64 API function. Method behavior is undefined // if there is undetected overlap. // -package mat64 +package mat64 // import "gonum.org/v1/gonum/matrix/mat64" diff --git a/optimize/doc.go b/optimize/doc.go index c1ad2820..1b05a639 100644 --- a/optimize/doc.go +++ b/optimize/doc.go @@ -3,4 +3,4 @@ // license that can be found in the LICENSE file. // Package optimize implements algorithms for finding the optimum value of functions. -package optimize +package optimize // import "gonum.org/v1/gonum/optimize" diff --git a/optimize/functions/validate.go b/optimize/functions/validate.go index 1182d431..4444b045 100644 --- a/optimize/functions/validate.go +++ b/optimize/functions/validate.go @@ -8,7 +8,7 @@ // We encourage outside contributions of additional test functions that exhibit // properties not already covered in the testing suite or that have // significance due to prior use as benchmark cases. -package functions +package functions // import "gonum.org/v1/gonum/optimize/functions" import ( "math" diff --git a/stat/combin/combin.go b/stat/combin/combin.go index 4dba68f2..4bd75a34 100644 --- a/stat/combin/combin.go +++ b/stat/combin/combin.go @@ -4,7 +4,7 @@ // Package combin implements routines involving combinatorics (permutations, // combinations, etc.). -package combin +package combin // import "gonum.org/v1/gonum/stat/combin" import "math" diff --git a/stat/distmat/general.go b/stat/distmat/general.go index 9e778ef6..7a834e66 100644 --- a/stat/distmat/general.go +++ b/stat/distmat/general.go @@ -3,6 +3,6 @@ // license that can be found in the LICENSE file. // Package distmat provides probability distributions over matrices. -package distmat +package distmat // import "gonum.org/v1/gonum/stat/distmat" var badDim = "distmat: dimension mismatch" diff --git a/stat/distmv/general.go b/stat/distmv/general.go index a7734a1f..9cb47eea 100644 --- a/stat/distmv/general.go +++ b/stat/distmv/general.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package distmv provides multivariate random distribution types. -package distmv +package distmv // import "gonum.org/v1/gonum/stat/distmv" var ( badQuantile = "distmv: quantile not between 0 and 1" diff --git a/stat/distuv/general.go b/stat/distuv/general.go index 8411c85e..d6717700 100644 --- a/stat/distuv/general.go +++ b/stat/distuv/general.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package distuv provides univariate random distribution types. -package distuv +package distuv // import "gonum.org/v1/gonum/stat/distuv" import "math" diff --git a/stat/samplemv/samplemv.go b/stat/samplemv/samplemv.go index 3181e3d7..0d253ee9 100644 --- a/stat/samplemv/samplemv.go +++ b/stat/samplemv/samplemv.go @@ -8,7 +8,7 @@ // Each sampling routine is implemented as a stateless function with a // complementary wrapper type. The wrapper types allow the sampling routines // to implement interfaces. -package samplemv +package samplemv // import "gonum.org/v1/gonum/stat/samplemv" import ( "errors" diff --git a/stat/sampleuv/sample.go b/stat/sampleuv/sample.go index e6137b95..5e870d3c 100644 --- a/stat/sampleuv/sample.go +++ b/stat/sampleuv/sample.go @@ -8,7 +8,7 @@ // Each sampling routine is implemented as a stateless function with a // complementary wrapper type. The wrapper types allow the sampling routines // to implement interfaces. -package sampleuv +package sampleuv // import "gonum.org/v1/gonum/stat/sampleuv" import ( "errors" diff --git a/stat/stat.go b/stat/stat.go index e02778b0..9b62f1ec 100644 --- a/stat/stat.go +++ b/stat/stat.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package stat provides generalized statistical functions. -package stat +package stat // import "gonum.org/v1/gonum/stat" import ( "math" diff --git a/unit/doc.go b/unit/doc.go index a559e29a..ed374a2a 100644 --- a/unit/doc.go +++ b/unit/doc.go @@ -90,4 +90,4 @@ // torque are both expressed as force times distance (Newton-meters in SI), // but it is wrong to say that a torque of 10 N-m is the same as 10 J, even // though the dimensions agree. -package unit +package unit // import "gonum.org/v1/gonum/unit"