diff --git a/blas/blas32/blas32.go b/blas/blas32/blas32.go index 82971ea1..980dd888 100644 --- a/blas/blas32/blas32.go +++ b/blas/blas32/blas32.go @@ -6,8 +6,8 @@ package blas32 import ( - "github.com/gonum/blas" - "github.com/gonum/blas/native" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/native" ) var blas32 blas.Float32 = native.Implementation{} diff --git a/blas/blas64/blas64.go b/blas/blas64/blas64.go index 088c30e9..da49fecc 100644 --- a/blas/blas64/blas64.go +++ b/blas/blas64/blas64.go @@ -6,8 +6,8 @@ package blas64 import ( - "github.com/gonum/blas" - "github.com/gonum/blas/native" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/native" ) var blas64 blas.Float64 = native.Implementation{} diff --git a/blas/cblas128/cblas128.go b/blas/cblas128/cblas128.go index 60be9dd7..46343912 100644 --- a/blas/cblas128/cblas128.go +++ b/blas/cblas128/cblas128.go @@ -6,8 +6,8 @@ package cblas128 import ( - "github.com/gonum/blas" - "github.com/gonum/blas/cgo" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/cgo" ) // TODO(kortschak): Change this and the comment below to native.Implementation diff --git a/blas/cblas64/cblas64.go b/blas/cblas64/cblas64.go index 08c7738c..f494a050 100644 --- a/blas/cblas64/cblas64.go +++ b/blas/cblas64/cblas64.go @@ -6,8 +6,8 @@ package cblas64 import ( - "github.com/gonum/blas" - "github.com/gonum/blas/cgo" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/cgo" ) // TODO(kortschak): Change this and the comment below to native.Implementation diff --git a/blas/cgo/bench_test.go b/blas/cgo/bench_test.go index 574bfb11..ee19a465 100644 --- a/blas/cgo/bench_test.go +++ b/blas/cgo/bench_test.go @@ -1,8 +1,8 @@ package cgo import ( - "github.com/gonum/blas" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/testblas" ) const ( diff --git a/blas/cgo/blas.go b/blas/cgo/blas.go index 552bc051..c53c4acd 100644 --- a/blas/cgo/blas.go +++ b/blas/cgo/blas.go @@ -15,7 +15,7 @@ import "C" import ( "unsafe" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) // Type check assertions: diff --git a/blas/cgo/dgemmbench_test.go b/blas/cgo/dgemmbench_test.go index e9bb3939..3a9e3397 100644 --- a/blas/cgo/dgemmbench_test.go +++ b/blas/cgo/dgemmbench_test.go @@ -3,7 +3,7 @@ package cgo import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func BenchmarkDgemmSmSmSm(b *testing.B) { diff --git a/blas/cgo/dgemvbench_test.go b/blas/cgo/dgemvbench_test.go index c7617115..63caee79 100644 --- a/blas/cgo/dgemvbench_test.go +++ b/blas/cgo/dgemvbench_test.go @@ -3,7 +3,7 @@ package cgo import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func BenchmarkDgemvSmSmNoTransInc1(b *testing.B) { diff --git a/blas/cgo/dgerbench_test.go b/blas/cgo/dgerbench_test.go index 2656f2e4..06ed2fdd 100644 --- a/blas/cgo/dgerbench_test.go +++ b/blas/cgo/dgerbench_test.go @@ -3,7 +3,7 @@ package cgo import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func BenchmarkDgerSmSmInc1(b *testing.B) { diff --git a/blas/cgo/dtrmvbench_test.go b/blas/cgo/dtrmvbench_test.go index 2b1c54ed..0bd44420 100644 --- a/blas/cgo/dtrmvbench_test.go +++ b/blas/cgo/dtrmvbench_test.go @@ -10,8 +10,8 @@ import ( "strconv" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/testblas" ) func BenchmarkDtrmv(b *testing.B) { diff --git a/blas/cgo/generate_blas.go b/blas/cgo/generate_blas.go index bb3d0366..428a48ed 100644 --- a/blas/cgo/generate_blas.go +++ b/blas/cgo/generate_blas.go @@ -20,7 +20,7 @@ import ( "github.com/cznic/cc" - "github.com/gonum/internal/binding" + "gonum.org/v1/gonum/internal/binding" ) const ( diff --git a/blas/cgo/level1doubleBench_auto_test.go b/blas/cgo/level1doubleBench_auto_test.go index eddd0e85..db44b809 100644 --- a/blas/cgo/level1doubleBench_auto_test.go +++ b/blas/cgo/level1doubleBench_auto_test.go @@ -10,7 +10,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) const ( diff --git a/blas/cgo/level1double_test.go b/blas/cgo/level1double_test.go index 871c6220..b5f40cb8 100644 --- a/blas/cgo/level1double_test.go +++ b/blas/cgo/level1double_test.go @@ -3,7 +3,7 @@ package cgo import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) var impl Implementation diff --git a/blas/cgo/level2double_test.go b/blas/cgo/level2double_test.go index 41d29fb9..f3b66f83 100644 --- a/blas/cgo/level2double_test.go +++ b/blas/cgo/level2double_test.go @@ -3,7 +3,7 @@ package cgo import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func TestDgemv(t *testing.T) { diff --git a/blas/cgo/level3double_test.go b/blas/cgo/level3double_test.go index a35af511..4c815f3c 100644 --- a/blas/cgo/level3double_test.go +++ b/blas/cgo/level3double_test.go @@ -3,7 +3,7 @@ package cgo import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func TestDgemm(t *testing.T) { diff --git a/blas/native/bench_test.go b/blas/native/bench_test.go index 6a3af84b..bcab67cc 100644 --- a/blas/native/bench_test.go +++ b/blas/native/bench_test.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/testblas" ) const ( diff --git a/blas/native/dgemm.go b/blas/native/dgemm.go index 69dfbfb4..91fd7699 100644 --- a/blas/native/dgemm.go +++ b/blas/native/dgemm.go @@ -8,8 +8,8 @@ import ( "runtime" "sync" - "github.com/gonum/blas" - "github.com/gonum/internal/asm/f64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/internal/asm/f64" ) // Dgemm computes diff --git a/blas/native/dgemmbench_test.go b/blas/native/dgemmbench_test.go index 3860fbf8..4717ecc5 100644 --- a/blas/native/dgemmbench_test.go +++ b/blas/native/dgemmbench_test.go @@ -7,7 +7,7 @@ package native import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func BenchmarkDgemmSmSmSm(b *testing.B) { diff --git a/blas/native/dgemvbench_test.go b/blas/native/dgemvbench_test.go index 7d8fabb1..8b6690c6 100644 --- a/blas/native/dgemvbench_test.go +++ b/blas/native/dgemvbench_test.go @@ -7,7 +7,7 @@ package native import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func BenchmarkDgemvSmSmNoTransInc1(b *testing.B) { diff --git a/blas/native/dgerbench_test.go b/blas/native/dgerbench_test.go index a28c7fdc..81aa1147 100644 --- a/blas/native/dgerbench_test.go +++ b/blas/native/dgerbench_test.go @@ -7,7 +7,7 @@ package native import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func BenchmarkDgerSmSmInc1(b *testing.B) { diff --git a/blas/native/dtrmvbench_test.go b/blas/native/dtrmvbench_test.go index cfb81777..c657211d 100644 --- a/blas/native/dtrmvbench_test.go +++ b/blas/native/dtrmvbench_test.go @@ -10,8 +10,8 @@ import ( "strconv" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/testblas" ) func BenchmarkDtrmv(b *testing.B) { diff --git a/blas/native/general_single.go b/blas/native/general_single.go index de1c263f..d3f6582e 100644 --- a/blas/native/general_single.go +++ b/blas/native/general_single.go @@ -9,7 +9,7 @@ package native import ( "errors" "fmt" - math "github.com/gonum/blas/native/internal/math32" + math "gonum.org/v1/gonum/blas/native/internal/math32" ) func newGeneral32(r, c int) general32 { diff --git a/blas/native/internal/math32/math_test.go b/blas/native/internal/math32/math_test.go index f0689274..2a20bb5c 100644 --- a/blas/native/internal/math32/math_test.go +++ b/blas/native/internal/math32/math_test.go @@ -9,7 +9,7 @@ import ( "testing" "testing/quick" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) const tol = 1e-7 diff --git a/blas/native/level1double.go b/blas/native/level1double.go index 6aa46e33..5e327712 100644 --- a/blas/native/level1double.go +++ b/blas/native/level1double.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/internal/asm/f64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/internal/asm/f64" ) var _ blas.Float64Level1 = Implementation{} diff --git a/blas/native/level1doubleBench_auto_test.go b/blas/native/level1doubleBench_auto_test.go index cb46c75b..8ca4071a 100644 --- a/blas/native/level1doubleBench_auto_test.go +++ b/blas/native/level1doubleBench_auto_test.go @@ -10,7 +10,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) const ( diff --git a/blas/native/level1double_ddot.go b/blas/native/level1double_ddot.go index 03e66a0a..21af53f0 100644 --- a/blas/native/level1double_ddot.go +++ b/blas/native/level1double_ddot.go @@ -5,7 +5,7 @@ package native import ( - "github.com/gonum/internal/asm/f64" + "gonum.org/v1/gonum/internal/asm/f64" ) // Ddot computes the dot product of the two vectors diff --git a/blas/native/level1double_test.go b/blas/native/level1double_test.go index 6f222bf6..b9c825ef 100644 --- a/blas/native/level1double_test.go +++ b/blas/native/level1double_test.go @@ -7,7 +7,7 @@ package native import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) var impl Implementation diff --git a/blas/native/level1single.go b/blas/native/level1single.go index 046a4410..a57237d8 100644 --- a/blas/native/level1single.go +++ b/blas/native/level1single.go @@ -7,10 +7,10 @@ package native import ( - math "github.com/gonum/blas/native/internal/math32" + math "gonum.org/v1/gonum/blas/native/internal/math32" - "github.com/gonum/blas" - "github.com/gonum/internal/asm/f32" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/internal/asm/f32" ) var _ blas.Float32Level1 = Implementation{} diff --git a/blas/native/level1single_dsdot.go b/blas/native/level1single_dsdot.go index a60f81b8..e3cef432 100644 --- a/blas/native/level1single_dsdot.go +++ b/blas/native/level1single_dsdot.go @@ -7,7 +7,7 @@ package native import ( - "github.com/gonum/internal/asm/f32" + "gonum.org/v1/gonum/internal/asm/f32" ) // Dsdot computes the dot product of the two vectors diff --git a/blas/native/level1single_sdot.go b/blas/native/level1single_sdot.go index ccce03d5..66c80472 100644 --- a/blas/native/level1single_sdot.go +++ b/blas/native/level1single_sdot.go @@ -7,7 +7,7 @@ package native import ( - "github.com/gonum/internal/asm/f32" + "gonum.org/v1/gonum/internal/asm/f32" ) // Sdot computes the dot product of the two vectors diff --git a/blas/native/level1single_sdsdot.go b/blas/native/level1single_sdsdot.go index b4f04691..af1f984a 100644 --- a/blas/native/level1single_sdsdot.go +++ b/blas/native/level1single_sdsdot.go @@ -7,7 +7,7 @@ package native import ( - "github.com/gonum/internal/asm/f32" + "gonum.org/v1/gonum/internal/asm/f32" ) // Sdsdot computes the dot product of the two vectors plus a constant diff --git a/blas/native/level2double.go b/blas/native/level2double.go index 01c172c8..2868ccc1 100644 --- a/blas/native/level2double.go +++ b/blas/native/level2double.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/internal/asm/f64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/internal/asm/f64" ) var _ blas.Float64Level2 = Implementation{} diff --git a/blas/native/level2double_test.go b/blas/native/level2double_test.go index d5593b0e..591d9810 100644 --- a/blas/native/level2double_test.go +++ b/blas/native/level2double_test.go @@ -7,7 +7,7 @@ package native import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func TestDgemv(t *testing.T) { diff --git a/blas/native/level2single.go b/blas/native/level2single.go index cf66b451..8a367445 100644 --- a/blas/native/level2single.go +++ b/blas/native/level2single.go @@ -7,8 +7,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/internal/asm/f32" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/internal/asm/f32" ) var _ blas.Float32Level2 = Implementation{} diff --git a/blas/native/level3double.go b/blas/native/level3double.go index 3f46d775..8605cdbb 100644 --- a/blas/native/level3double.go +++ b/blas/native/level3double.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/internal/asm/f64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/internal/asm/f64" ) var _ blas.Float64Level3 = Implementation{} diff --git a/blas/native/level3double_test.go b/blas/native/level3double_test.go index 6c94dca4..c2123a7e 100644 --- a/blas/native/level3double_test.go +++ b/blas/native/level3double_test.go @@ -7,7 +7,7 @@ package native import ( "testing" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/testblas" ) func TestDgemm(t *testing.T) { diff --git a/blas/native/level3single.go b/blas/native/level3single.go index 320eaad5..ead11996 100644 --- a/blas/native/level3single.go +++ b/blas/native/level3single.go @@ -7,8 +7,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/internal/asm/f32" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/internal/asm/f32" ) var _ blas.Float32Level3 = Implementation{} diff --git a/blas/native/pardgemm_test.go b/blas/native/pardgemm_test.go index 9c508163..da36590e 100644 --- a/blas/native/pardgemm_test.go +++ b/blas/native/pardgemm_test.go @@ -8,7 +8,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) func TestDgemmParallel(t *testing.T) { diff --git a/blas/native/sgemm.go b/blas/native/sgemm.go index 1eb211fb..2384d1b2 100644 --- a/blas/native/sgemm.go +++ b/blas/native/sgemm.go @@ -10,8 +10,8 @@ import ( "runtime" "sync" - "github.com/gonum/blas" - "github.com/gonum/internal/asm/f32" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/internal/asm/f32" ) // Sgemm computes diff --git a/blas/testblas/common.go b/blas/testblas/common.go index 7e1de805..469a11a5 100644 --- a/blas/testblas/common.go +++ b/blas/testblas/common.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) // throwPanic will throw unexpected panics if true, or will just report them as errors if false diff --git a/blas/testblas/common_test.go b/blas/testblas/common_test.go index 3dcbe517..852a939e 100644 --- a/blas/testblas/common_test.go +++ b/blas/testblas/common_test.go @@ -4,8 +4,8 @@ import ( "math" "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) func TestFlattenBanded(t *testing.T) { diff --git a/blas/testblas/dgbmv.go b/blas/testblas/dgbmv.go index 8729b5b4..985c6e7a 100644 --- a/blas/testblas/dgbmv.go +++ b/blas/testblas/dgbmv.go @@ -3,7 +3,7 @@ package testblas import ( "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dgbmver interface { diff --git a/blas/testblas/dgemm.go b/blas/testblas/dgemm.go index 4519d7ef..f51f0c95 100644 --- a/blas/testblas/dgemm.go +++ b/blas/testblas/dgemm.go @@ -3,7 +3,7 @@ package testblas import ( "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dgemmer interface { diff --git a/blas/testblas/dgemmbench.go b/blas/testblas/dgemmbench.go index d54b747d..512f4eca 100644 --- a/blas/testblas/dgemmbench.go +++ b/blas/testblas/dgemmbench.go @@ -4,7 +4,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) func DgemmBenchmark(b *testing.B, dgemm Dgemmer, m, n, k int, tA, tB blas.Transpose) { diff --git a/blas/testblas/dgemv.go b/blas/testblas/dgemv.go index e756c201..b8dbab7f 100644 --- a/blas/testblas/dgemv.go +++ b/blas/testblas/dgemv.go @@ -3,7 +3,7 @@ package testblas import ( "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type DgemvCase struct { diff --git a/blas/testblas/dsbmv.go b/blas/testblas/dsbmv.go index f4579bf8..1a8c9c35 100644 --- a/blas/testblas/dsbmv.go +++ b/blas/testblas/dsbmv.go @@ -3,7 +3,7 @@ package testblas import ( "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dsbmver interface { diff --git a/blas/testblas/dspmv.go b/blas/testblas/dspmv.go index 7100bbb4..352bc4a9 100644 --- a/blas/testblas/dspmv.go +++ b/blas/testblas/dspmv.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dspmver interface { diff --git a/blas/testblas/dspr.go b/blas/testblas/dspr.go index aa31731d..25e0ee40 100644 --- a/blas/testblas/dspr.go +++ b/blas/testblas/dspr.go @@ -3,7 +3,7 @@ package testblas import ( "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dsprer interface { diff --git a/blas/testblas/dspr2.go b/blas/testblas/dspr2.go index fb657d63..40b0cd32 100644 --- a/blas/testblas/dspr2.go +++ b/blas/testblas/dspr2.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dspr2er interface { diff --git a/blas/testblas/dsymm.go b/blas/testblas/dsymm.go index 728d0522..5e07e07d 100644 --- a/blas/testblas/dsymm.go +++ b/blas/testblas/dsymm.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dsymmer interface { diff --git a/blas/testblas/dsymv.go b/blas/testblas/dsymv.go index f3b9e5d4..b3fd4ec2 100644 --- a/blas/testblas/dsymv.go +++ b/blas/testblas/dsymv.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dsymver interface { diff --git a/blas/testblas/dsyr.go b/blas/testblas/dsyr.go index 4b4959ff..4c404794 100644 --- a/blas/testblas/dsyr.go +++ b/blas/testblas/dsyr.go @@ -3,7 +3,7 @@ package testblas import ( "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dsyrer interface { diff --git a/blas/testblas/dsyr2.go b/blas/testblas/dsyr2.go index 864e8548..e9069592 100644 --- a/blas/testblas/dsyr2.go +++ b/blas/testblas/dsyr2.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dsyr2er interface { diff --git a/blas/testblas/dsyr2k.go b/blas/testblas/dsyr2k.go index f1e7de68..7c8600b5 100644 --- a/blas/testblas/dsyr2k.go +++ b/blas/testblas/dsyr2k.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dsyr2ker interface { diff --git a/blas/testblas/dsyrk.go b/blas/testblas/dsyrk.go index 23e49694..99e18ebb 100644 --- a/blas/testblas/dsyrk.go +++ b/blas/testblas/dsyrk.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dsyker interface { diff --git a/blas/testblas/dtbmv.go b/blas/testblas/dtbmv.go index 497aaa0c..b0dee676 100644 --- a/blas/testblas/dtbmv.go +++ b/blas/testblas/dtbmv.go @@ -3,7 +3,7 @@ package testblas import ( "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dtbmver interface { diff --git a/blas/testblas/dtbsv.go b/blas/testblas/dtbsv.go index 1e08a8d7..b609cbfa 100644 --- a/blas/testblas/dtbsv.go +++ b/blas/testblas/dtbsv.go @@ -3,7 +3,7 @@ package testblas import ( "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dtbsver interface { diff --git a/blas/testblas/dtpmv.go b/blas/testblas/dtpmv.go index a031f319..04af1641 100644 --- a/blas/testblas/dtpmv.go +++ b/blas/testblas/dtpmv.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dtpmver interface { diff --git a/blas/testblas/dtpsv.go b/blas/testblas/dtpsv.go index d29ff965..9fee545e 100644 --- a/blas/testblas/dtpsv.go +++ b/blas/testblas/dtpsv.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dtpsver interface { diff --git a/blas/testblas/dtrmm.go b/blas/testblas/dtrmm.go index 070eca5a..95cccec5 100644 --- a/blas/testblas/dtrmm.go +++ b/blas/testblas/dtrmm.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dtrmmer interface { diff --git a/blas/testblas/dtrmv.go b/blas/testblas/dtrmv.go index bdf82c60..8f3b6d35 100644 --- a/blas/testblas/dtrmv.go +++ b/blas/testblas/dtrmv.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dtrmver interface { diff --git a/blas/testblas/dtrmvbench.go b/blas/testblas/dtrmvbench.go index 9f9f04c1..c6b439e9 100644 --- a/blas/testblas/dtrmvbench.go +++ b/blas/testblas/dtrmvbench.go @@ -8,7 +8,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) func DtrmvBenchmark(b *testing.B, dtrmv Dtrmver, n, lda, incX int, ul blas.Uplo, tA blas.Transpose, d blas.Diag) { diff --git a/blas/testblas/dtrsm.go b/blas/testblas/dtrsm.go index f00b488e..9623397c 100644 --- a/blas/testblas/dtrsm.go +++ b/blas/testblas/dtrsm.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dtrsmer interface { diff --git a/blas/testblas/dtrsv.go b/blas/testblas/dtrsv.go index 003b5b70..1638177c 100644 --- a/blas/testblas/dtrsv.go +++ b/blas/testblas/dtrsv.go @@ -3,8 +3,8 @@ package testblas import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dtrsver interface { diff --git a/blas/testblas/dtxmv.go b/blas/testblas/dtxmv.go index eecc10e9..c55da3bd 100644 --- a/blas/testblas/dtxmv.go +++ b/blas/testblas/dtxmv.go @@ -3,7 +3,7 @@ package testblas import ( "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dtxmver interface { diff --git a/blas/testblas/level1double.go b/blas/testblas/level1double.go index 9e160591..b4acd85a 100644 --- a/blas/testblas/level1double.go +++ b/blas/testblas/level1double.go @@ -9,8 +9,8 @@ import ( "fmt" "log" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" "math" "testing" diff --git a/blas/testblas/level2bench.go b/blas/testblas/level2bench.go index b1d29ccd..387ffcce 100644 --- a/blas/testblas/level2bench.go +++ b/blas/testblas/level2bench.go @@ -4,7 +4,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) func DgemvBenchmark(b *testing.B, blasser Dgemver, tA blas.Transpose, m, n, incX, incY int) { diff --git a/diff/fd/diff.go b/diff/fd/diff.go index 3fb45b0a..518d2a94 100644 --- a/diff/fd/diff.go +++ b/diff/fd/diff.go @@ -10,7 +10,7 @@ import ( "runtime" "sync" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) // A Point is a stencil location in a finite difference formula. diff --git a/diff/fd/example_test.go b/diff/fd/example_test.go index 1856ffa6..13a68fa0 100644 --- a/diff/fd/example_test.go +++ b/diff/fd/example_test.go @@ -8,8 +8,8 @@ import ( "fmt" "math" - "github.com/gonum/diff/fd" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/diff/fd" + "gonum.org/v1/gonum/matrix/mat64" ) func ExampleDerivative() { diff --git a/diff/fd/gradient_test.go b/diff/fd/gradient_test.go index 09a335e8..0774ad73 100644 --- a/diff/fd/gradient_test.go +++ b/diff/fd/gradient_test.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Rosenbrock struct { diff --git a/diff/fd/jacobian.go b/diff/fd/jacobian.go index 1aab264c..ea42f233 100644 --- a/diff/fd/jacobian.go +++ b/diff/fd/jacobian.go @@ -8,8 +8,8 @@ import ( "runtime" "sync" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) type JacobianSettings struct { diff --git a/diff/fd/jacobian_test.go b/diff/fd/jacobian_test.go index 89f1af11..04dc5bfb 100644 --- a/diff/fd/jacobian_test.go +++ b/diff/fd/jacobian_test.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) func vecFunc13(y, x []float64) { diff --git a/floats/floats.go b/floats/floats.go index e1807d2a..7707e371 100644 --- a/floats/floats.go +++ b/floats/floats.go @@ -15,7 +15,7 @@ import ( "math" "sort" - "github.com/gonum/internal/asm/f64" + "gonum.org/v1/gonum/internal/asm/f64" ) // Add adds, element-wise, the elements of s and dst, and stores in dst. diff --git a/graph/community/bisect.go b/graph/community/bisect.go index 7cd1dbd7..ddfdb0a9 100644 --- a/graph/community/bisect.go +++ b/graph/community/bisect.go @@ -10,7 +10,7 @@ import ( "math" "math/rand" - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) // Interval is an interval of resolutions with a common score. diff --git a/graph/community/bisect_test.go b/graph/community/bisect_test.go index 6f12a62a..210ab7f2 100644 --- a/graph/community/bisect_test.go +++ b/graph/community/bisect_test.go @@ -10,9 +10,9 @@ import ( "sort" "testing" - "github.com/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph/simple" ) func ExampleProfile_simple() { diff --git a/graph/community/louvain_common.go b/graph/community/louvain_common.go index e806096a..a24897af 100644 --- a/graph/community/louvain_common.go +++ b/graph/community/louvain_common.go @@ -9,7 +9,7 @@ import ( "fmt" "math/rand" - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) // Q returns the modularity Q score of the graph g subdivided into the diff --git a/graph/community/louvain_directed.go b/graph/community/louvain_directed.go index a5a15f94..efcc6d74 100644 --- a/graph/community/louvain_directed.go +++ b/graph/community/louvain_directed.go @@ -11,8 +11,8 @@ import ( "golang.org/x/tools/container/intsets" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" ) // qDirected returns the modularity Q score of the graph g subdivided into the diff --git a/graph/community/louvain_directed_multiplex.go b/graph/community/louvain_directed_multiplex.go index 6210bd3e..a3d6497f 100644 --- a/graph/community/louvain_directed_multiplex.go +++ b/graph/community/louvain_directed_multiplex.go @@ -12,8 +12,8 @@ import ( "golang.org/x/tools/container/intsets" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" ) // DirectedMultiplex is a directed multiplex graph. diff --git a/graph/community/louvain_directed_multiplex_test.go b/graph/community/louvain_directed_multiplex_test.go index 1e4e4fe5..1ad986ab 100644 --- a/graph/community/louvain_directed_multiplex_test.go +++ b/graph/community/louvain_directed_multiplex_test.go @@ -11,10 +11,10 @@ import ( "sort" "testing" - "github.com/gonum/floats" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) var communityDirectedMultiplexQTests = []struct { diff --git a/graph/community/louvain_directed_test.go b/graph/community/louvain_directed_test.go index 0b54618f..82336106 100644 --- a/graph/community/louvain_directed_test.go +++ b/graph/community/louvain_directed_test.go @@ -11,10 +11,10 @@ import ( "sort" "testing" - "github.com/gonum/floats" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) var communityDirectedQTests = []struct { diff --git a/graph/community/louvain_test.go b/graph/community/louvain_test.go index 6abf3e91..b3630b8a 100644 --- a/graph/community/louvain_test.go +++ b/graph/community/louvain_test.go @@ -8,9 +8,9 @@ import ( "fmt" "math/rand" - "github.com/gonum/graph" - "github.com/gonum/graph/graphs/gen" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/graphs/gen" + "gonum.org/v1/gonum/graph/simple" ) // set is an integer set. diff --git a/graph/community/louvain_undirected.go b/graph/community/louvain_undirected.go index 526cadaf..475756c9 100644 --- a/graph/community/louvain_undirected.go +++ b/graph/community/louvain_undirected.go @@ -11,8 +11,8 @@ import ( "golang.org/x/tools/container/intsets" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" ) // qUndirected returns the modularity Q score of the graph g subdivided into the diff --git a/graph/community/louvain_undirected_multiplex.go b/graph/community/louvain_undirected_multiplex.go index 355635e5..cad5eb4e 100644 --- a/graph/community/louvain_undirected_multiplex.go +++ b/graph/community/louvain_undirected_multiplex.go @@ -12,8 +12,8 @@ import ( "golang.org/x/tools/container/intsets" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" ) // UndirectedMultiplex is an undirected multiplex graph. diff --git a/graph/community/louvain_undirected_multiplex_test.go b/graph/community/louvain_undirected_multiplex_test.go index 2bf28cb5..101726f3 100644 --- a/graph/community/louvain_undirected_multiplex_test.go +++ b/graph/community/louvain_undirected_multiplex_test.go @@ -11,10 +11,10 @@ import ( "sort" "testing" - "github.com/gonum/floats" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) var communityUndirectedMultiplexQTests = []struct { diff --git a/graph/community/louvain_undirected_test.go b/graph/community/louvain_undirected_test.go index b567e839..6315d8da 100644 --- a/graph/community/louvain_undirected_test.go +++ b/graph/community/louvain_undirected_test.go @@ -11,10 +11,10 @@ import ( "sort" "testing" - "github.com/gonum/floats" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) var communityUndirectedQTests = []struct { diff --git a/graph/community/printgraphs.go b/graph/community/printgraphs.go index c434a33b..9d8eb1b7 100644 --- a/graph/community/printgraphs.go +++ b/graph/community/printgraphs.go @@ -15,10 +15,10 @@ import ( "fmt" "sort" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/network" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/network" + "gonum.org/v1/gonum/graph/simple" ) // set is an integer set. diff --git a/graph/encoding/dot/decode.go b/graph/encoding/dot/decode.go index 22065ddc..0140c442 100644 --- a/graph/encoding/dot/decode.go +++ b/graph/encoding/dot/decode.go @@ -7,9 +7,9 @@ package dot import ( "fmt" - "github.com/gonum/graph" - "github.com/gonum/graph/formats/dot" - "github.com/gonum/graph/formats/dot/ast" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/formats/dot" + "gonum.org/v1/gonum/graph/formats/dot/ast" "golang.org/x/tools/container/intsets" ) diff --git a/graph/encoding/dot/decode_test.go b/graph/encoding/dot/decode_test.go index 3be74f52..7860d6c3 100644 --- a/graph/encoding/dot/decode_test.go +++ b/graph/encoding/dot/decode_test.go @@ -8,8 +8,8 @@ import ( "fmt" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) func TestRoundTrip(t *testing.T) { diff --git a/graph/encoding/dot/dot.go b/graph/encoding/dot/dot.go index 7e3dc30c..da7d2d0a 100644 --- a/graph/encoding/dot/dot.go +++ b/graph/encoding/dot/dot.go @@ -20,8 +20,8 @@ import ( "sort" "strings" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" ) // Node is a DOT graph node. diff --git a/graph/encoding/dot/dot_test.go b/graph/encoding/dot/dot_test.go index 17d3c9d8..c2bf7e04 100644 --- a/graph/encoding/dot/dot_test.go +++ b/graph/encoding/dot/dot_test.go @@ -8,8 +8,8 @@ import ( "math" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) // set is an integer set. diff --git a/graph/ex/fdpclust/gn.go b/graph/ex/fdpclust/gn.go index 986fa9d8..f7d1a692 100644 --- a/graph/ex/fdpclust/gn.go +++ b/graph/ex/fdpclust/gn.go @@ -1,8 +1,8 @@ package main import ( - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) type GraphNode struct { diff --git a/graph/ex/fdpclust/main.go b/graph/ex/fdpclust/main.go index 78ad275f..eb14226a 100644 --- a/graph/ex/fdpclust/main.go +++ b/graph/ex/fdpclust/main.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "github.com/gonum/graph" - "github.com/gonum/graph/topo" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/topo" ) func main() { diff --git a/graph/formats/dot/ast/ast_test.go b/graph/formats/dot/ast/ast_test.go index a5473330..2417dce5 100644 --- a/graph/formats/dot/ast/ast_test.go +++ b/graph/formats/dot/ast/ast_test.go @@ -15,8 +15,8 @@ import ( "io/ioutil" "testing" - "github.com/gonum/graph/formats/dot" - "github.com/gonum/graph/formats/dot/ast" + "gonum.org/v1/gonum/graph/formats/dot" + "gonum.org/v1/gonum/graph/formats/dot/ast" ) func TestParseFile(t *testing.T) { diff --git a/graph/formats/dot/dot.go b/graph/formats/dot/dot.go index 890083b2..6fbbe3b2 100644 --- a/graph/formats/dot/dot.go +++ b/graph/formats/dot/dot.go @@ -16,9 +16,9 @@ import ( "io" "io/ioutil" - "github.com/gonum/graph/formats/dot/ast" - "github.com/gonum/graph/formats/dot/internal/lexer" - "github.com/gonum/graph/formats/dot/internal/parser" + "gonum.org/v1/gonum/graph/formats/dot/ast" + "gonum.org/v1/gonum/graph/formats/dot/internal/lexer" + "gonum.org/v1/gonum/graph/formats/dot/internal/parser" ) // ParseFile parses the given Graphviz DOT file into an AST. diff --git a/graph/formats/dot/internal/astx/astx.go b/graph/formats/dot/internal/astx/astx.go index 987124a0..e52a5e7c 100644 --- a/graph/formats/dot/internal/astx/astx.go +++ b/graph/formats/dot/internal/astx/astx.go @@ -16,8 +16,8 @@ import ( "fmt" "strings" - "github.com/gonum/graph/formats/dot/ast" - "github.com/gonum/graph/formats/dot/internal/token" + "gonum.org/v1/gonum/graph/formats/dot/ast" + "gonum.org/v1/gonum/graph/formats/dot/internal/token" ) // === [ File ] ================================================================ diff --git a/graph/formats/dot/internal/astx/astx_test.go b/graph/formats/dot/internal/astx/astx_test.go index 68560dbe..4ec55000 100644 --- a/graph/formats/dot/internal/astx/astx_test.go +++ b/graph/formats/dot/internal/astx/astx_test.go @@ -15,7 +15,7 @@ import ( "io/ioutil" "testing" - "github.com/gonum/graph/formats/dot" + "gonum.org/v1/gonum/graph/formats/dot" ) func TestParseFile(t *testing.T) { diff --git a/graph/formats/dot/internal/errors/errors.go b/graph/formats/dot/internal/errors/errors.go index 81009b0e..1843da8e 100644 --- a/graph/formats/dot/internal/errors/errors.go +++ b/graph/formats/dot/internal/errors/errors.go @@ -16,7 +16,7 @@ import ( "bytes" "fmt" - "github.com/gonum/graph/formats/dot/internal/token" + "gonum.org/v1/gonum/graph/formats/dot/internal/token" ) type ErrorSymbol interface { diff --git a/graph/formats/dot/internal/lexer/acttab.go b/graph/formats/dot/internal/lexer/acttab.go index 4cecfb59..d63702ed 100644 --- a/graph/formats/dot/internal/lexer/acttab.go +++ b/graph/formats/dot/internal/lexer/acttab.go @@ -15,7 +15,7 @@ package lexer import ( "fmt" - "github.com/gonum/graph/formats/dot/internal/token" + "gonum.org/v1/gonum/graph/formats/dot/internal/token" ) type ActionTable [NumStates]ActionRow diff --git a/graph/formats/dot/internal/lexer/lexer.go b/graph/formats/dot/internal/lexer/lexer.go index be647b8b..20807b04 100644 --- a/graph/formats/dot/internal/lexer/lexer.go +++ b/graph/formats/dot/internal/lexer/lexer.go @@ -18,7 +18,7 @@ import ( "unicode/utf8" // "github.com/gonum/graph/formats/dot/internal/util" - "github.com/gonum/graph/formats/dot/internal/token" + "gonum.org/v1/gonum/graph/formats/dot/internal/token" ) const ( diff --git a/graph/formats/dot/internal/lexer/lexer_test.go b/graph/formats/dot/internal/lexer/lexer_test.go index fedf5e8d..f90964fc 100644 --- a/graph/formats/dot/internal/lexer/lexer_test.go +++ b/graph/formats/dot/internal/lexer/lexer_test.go @@ -15,7 +15,7 @@ import ( "io/ioutil" "testing" - "github.com/gonum/graph/formats/dot" + "gonum.org/v1/gonum/graph/formats/dot" ) func TestParseFile(t *testing.T) { diff --git a/graph/formats/dot/internal/parser/parser.go b/graph/formats/dot/internal/parser/parser.go index b63555cf..450abd12 100644 --- a/graph/formats/dot/internal/parser/parser.go +++ b/graph/formats/dot/internal/parser/parser.go @@ -16,8 +16,8 @@ import ( "bytes" "fmt" - parseError "github.com/gonum/graph/formats/dot/internal/errors" - "github.com/gonum/graph/formats/dot/internal/token" + parseError "gonum.org/v1/gonum/graph/formats/dot/internal/errors" + "gonum.org/v1/gonum/graph/formats/dot/internal/token" ) const ( diff --git a/graph/formats/dot/internal/parser/parser_test.go b/graph/formats/dot/internal/parser/parser_test.go index 6b37df76..c48cd6f6 100644 --- a/graph/formats/dot/internal/parser/parser_test.go +++ b/graph/formats/dot/internal/parser/parser_test.go @@ -15,7 +15,7 @@ import ( "io/ioutil" "testing" - "github.com/gonum/graph/formats/dot" + "gonum.org/v1/gonum/graph/formats/dot" ) func TestParseFile(t *testing.T) { diff --git a/graph/formats/dot/internal/parser/productionstable.go b/graph/formats/dot/internal/parser/productionstable.go index 5b05144c..07f11a76 100644 --- a/graph/formats/dot/internal/parser/productionstable.go +++ b/graph/formats/dot/internal/parser/productionstable.go @@ -13,8 +13,8 @@ package parser import ( - "github.com/gonum/graph/formats/dot/ast" - "github.com/gonum/graph/formats/dot/internal/astx" + "gonum.org/v1/gonum/graph/formats/dot/ast" + "gonum.org/v1/gonum/graph/formats/dot/internal/astx" ) type ( diff --git a/graph/formats/dot/sem.go b/graph/formats/dot/sem.go index d4643e03..799e21d3 100644 --- a/graph/formats/dot/sem.go +++ b/graph/formats/dot/sem.go @@ -13,7 +13,7 @@ package dot import ( "fmt" - "github.com/gonum/graph/formats/dot/ast" + "gonum.org/v1/gonum/graph/formats/dot/ast" ) // check validates the semantics of the given DOT file. diff --git a/graph/graphs/gen/batagelj_brandes.go b/graph/graphs/gen/batagelj_brandes.go index 942954de..4565ce32 100644 --- a/graph/graphs/gen/batagelj_brandes.go +++ b/graph/graphs/gen/batagelj_brandes.go @@ -12,8 +12,8 @@ import ( "math" "math/rand" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) // Gnp constructs a Gilbert’s model graph in the destination, dst, of order n. Edges diff --git a/graph/graphs/gen/batagelj_brandes_test.go b/graph/graphs/gen/batagelj_brandes_test.go index 21603b4f..b9993934 100644 --- a/graph/graphs/gen/batagelj_brandes_test.go +++ b/graph/graphs/gen/batagelj_brandes_test.go @@ -8,8 +8,8 @@ import ( "math" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) type gnUndirected struct { diff --git a/graph/graphs/gen/duplication.go b/graph/graphs/gen/duplication.go index d40cbedf..f66721bb 100644 --- a/graph/graphs/gen/duplication.go +++ b/graph/graphs/gen/duplication.go @@ -10,9 +10,9 @@ import ( "math/rand" "sort" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) // UndirectedMutator is an undirected graph builder that can remove edges. diff --git a/graph/graphs/gen/duplication_test.go b/graph/graphs/gen/duplication_test.go index d82a1376..56e7d05a 100644 --- a/graph/graphs/gen/duplication_test.go +++ b/graph/graphs/gen/duplication_test.go @@ -8,8 +8,8 @@ import ( "math" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) type duplication struct { diff --git a/graph/graphs/gen/gen.go b/graph/graphs/gen/gen.go index 33cb03d9..993d6c75 100644 --- a/graph/graphs/gen/gen.go +++ b/graph/graphs/gen/gen.go @@ -5,7 +5,7 @@ // Package gen provides random graph generation functions. package gen -import "github.com/gonum/graph" +import "gonum.org/v1/gonum/graph" // GraphBuilder is a graph that can have nodes and edges added. type GraphBuilder interface { diff --git a/graph/graphs/gen/holme_kim.go b/graph/graphs/gen/holme_kim.go index ded9abe7..924bb235 100644 --- a/graph/graphs/gen/holme_kim.go +++ b/graph/graphs/gen/holme_kim.go @@ -9,9 +9,9 @@ import ( "fmt" "math/rand" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" - "github.com/gonum/stat/sampleuv" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" + "gonum.org/v1/gonum/stat/sampleuv" ) // TunableClusteringScaleFree constructs a graph in the destination, dst, of order n. diff --git a/graph/graphs/gen/holme_kim_test.go b/graph/graphs/gen/holme_kim_test.go index 567ddd52..370c42c7 100644 --- a/graph/graphs/gen/holme_kim_test.go +++ b/graph/graphs/gen/holme_kim_test.go @@ -8,7 +8,7 @@ import ( "math" "testing" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph/simple" ) func TestTunableClusteringScaleFree(t *testing.T) { diff --git a/graph/graphs/gen/small_world.go b/graph/graphs/gen/small_world.go index baacca75..6bf44932 100644 --- a/graph/graphs/gen/small_world.go +++ b/graph/graphs/gen/small_world.go @@ -10,9 +10,9 @@ import ( "math" "math/rand" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" - "github.com/gonum/stat/sampleuv" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" + "gonum.org/v1/gonum/stat/sampleuv" ) // NavigableSmallWorld constructs an N-dimensional grid with guaranteed local connectivity diff --git a/graph/graphs/gen/small_world_test.go b/graph/graphs/gen/small_world_test.go index 4dfcd4d7..8caa1787 100644 --- a/graph/graphs/gen/small_world_test.go +++ b/graph/graphs/gen/small_world_test.go @@ -8,7 +8,7 @@ import ( "math" "testing" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph/simple" ) var smallWorldDimensionParameters = [][]int{ diff --git a/graph/internal/linear/linear.go b/graph/internal/linear/linear.go index 532226bb..cd3f4bda 100644 --- a/graph/internal/linear/linear.go +++ b/graph/internal/linear/linear.go @@ -6,7 +6,7 @@ package linear import ( - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) // NodeStack implements a LIFO stack of graph.Node. diff --git a/graph/internal/ordered/sort.go b/graph/internal/ordered/sort.go index 8cc9657e..787be17e 100644 --- a/graph/internal/ordered/sort.go +++ b/graph/internal/ordered/sort.go @@ -5,7 +5,7 @@ // Package ordered provides common sort ordering types. package ordered -import "github.com/gonum/graph" +import "gonum.org/v1/gonum/graph" // ByID implements the sort.Interface sorting a slice of graph.Node // by ID. diff --git a/graph/internal/set/set.go b/graph/internal/set/set.go index f2a01ea4..3166f14d 100644 --- a/graph/internal/set/set.go +++ b/graph/internal/set/set.go @@ -5,7 +5,7 @@ // Package set provides integer and graph.Node sets. package set -import "github.com/gonum/graph" +import "gonum.org/v1/gonum/graph" // Ints is a set of integer identifiers. type Ints map[int]struct{} diff --git a/graph/network/betweenness.go b/graph/network/betweenness.go index c5154c9c..31f42950 100644 --- a/graph/network/betweenness.go +++ b/graph/network/betweenness.go @@ -7,9 +7,9 @@ package network import ( "math" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/linear" - "github.com/gonum/graph/path" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/linear" + "gonum.org/v1/gonum/graph/path" ) // Betweenness returns the non-zero betweenness centrality for nodes in the unweighted graph g. diff --git a/graph/network/betweenness_test.go b/graph/network/betweenness_test.go index 0c5d6db1..c34cb3bc 100644 --- a/graph/network/betweenness_test.go +++ b/graph/network/betweenness_test.go @@ -10,9 +10,9 @@ import ( "sort" "testing" - "github.com/gonum/floats" - "github.com/gonum/graph/path" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph/path" + "gonum.org/v1/gonum/graph/simple" ) var betweennessTests = []struct { diff --git a/graph/network/distance.go b/graph/network/distance.go index 63551a35..ad8f54da 100644 --- a/graph/network/distance.go +++ b/graph/network/distance.go @@ -7,8 +7,8 @@ package network import ( "math" - "github.com/gonum/graph" - "github.com/gonum/graph/path" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/path" ) // Closeness returns the closeness centrality for nodes in the graph g used to diff --git a/graph/network/distance_test.go b/graph/network/distance_test.go index f06afbbc..6eafb855 100644 --- a/graph/network/distance_test.go +++ b/graph/network/distance_test.go @@ -8,9 +8,9 @@ import ( "math" "testing" - "github.com/gonum/floats" - "github.com/gonum/graph/path" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph/path" + "gonum.org/v1/gonum/graph/simple" ) var undirectedCentralityTests = []struct { diff --git a/graph/network/hits.go b/graph/network/hits.go index b66b1564..32f90418 100644 --- a/graph/network/hits.go +++ b/graph/network/hits.go @@ -7,8 +7,8 @@ package network import ( "math" - "github.com/gonum/floats" - "github.com/gonum/graph" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph" ) // HubAuthority is a Hyperlink-Induced Topic Search hub-authority score pair. diff --git a/graph/network/hits_test.go b/graph/network/hits_test.go index 3c20ff3d..ac6b5102 100644 --- a/graph/network/hits_test.go +++ b/graph/network/hits_test.go @@ -10,8 +10,8 @@ import ( "sort" "testing" - "github.com/gonum/floats" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph/simple" ) var hitsTests = []struct { diff --git a/graph/network/page.go b/graph/network/page.go index ffa8c27f..4036e20e 100644 --- a/graph/network/page.go +++ b/graph/network/page.go @@ -8,9 +8,9 @@ import ( "math" "math/rand" - "github.com/gonum/floats" - "github.com/gonum/graph" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/matrix/mat64" ) // PageRank returns the PageRank weights for nodes of the directed graph g diff --git a/graph/network/page_test.go b/graph/network/page_test.go index 14ad7d15..548bf2d4 100644 --- a/graph/network/page_test.go +++ b/graph/network/page_test.go @@ -10,8 +10,8 @@ import ( "sort" "testing" - "github.com/gonum/floats" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/graph/simple" ) var pageRankTests = []struct { diff --git a/graph/path/a_star.go b/graph/path/a_star.go index 5563c1f4..f914e73c 100644 --- a/graph/path/a_star.go +++ b/graph/path/a_star.go @@ -7,8 +7,8 @@ package path import ( "container/heap" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/set" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/set" ) // AStar finds the A*-shortest path from s to t in g using the heuristic h. The path and diff --git a/graph/path/a_star_test.go b/graph/path/a_star_test.go index 21ad9e3a..085bbb17 100644 --- a/graph/path/a_star_test.go +++ b/graph/path/a_star_test.go @@ -9,11 +9,11 @@ import ( "reflect" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/path/internal" - "github.com/gonum/graph/path/internal/testgraphs" - "github.com/gonum/graph/simple" - "github.com/gonum/graph/topo" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/path/internal" + "gonum.org/v1/gonum/graph/path/internal/testgraphs" + "gonum.org/v1/gonum/graph/simple" + "gonum.org/v1/gonum/graph/topo" ) var aStarTests = []struct { diff --git a/graph/path/bellman_ford_moore.go b/graph/path/bellman_ford_moore.go index 86bcf728..906a57c8 100644 --- a/graph/path/bellman_ford_moore.go +++ b/graph/path/bellman_ford_moore.go @@ -4,7 +4,7 @@ package path -import "github.com/gonum/graph" +import "gonum.org/v1/gonum/graph" // BellmanFordFrom returns a shortest-path tree for a shortest path from u to all nodes in // the graph g, or false indicating that a negative cycle exists in the graph. If the graph diff --git a/graph/path/bellman_ford_moore_test.go b/graph/path/bellman_ford_moore_test.go index 49be58d6..69307d6c 100644 --- a/graph/path/bellman_ford_moore_test.go +++ b/graph/path/bellman_ford_moore_test.go @@ -9,8 +9,8 @@ import ( "reflect" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/path/internal/testgraphs" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/path/internal/testgraphs" ) func TestBellmanFordFrom(t *testing.T) { diff --git a/graph/path/bench_test.go b/graph/path/bench_test.go index 103a4713..8fc7a9dd 100644 --- a/graph/path/bench_test.go +++ b/graph/path/bench_test.go @@ -8,9 +8,9 @@ import ( "math" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/graphs/gen" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/graphs/gen" + "gonum.org/v1/gonum/graph/simple" ) var ( diff --git a/graph/path/control_flow.go b/graph/path/control_flow.go index 81ee33d7..26b732bd 100644 --- a/graph/path/control_flow.go +++ b/graph/path/control_flow.go @@ -5,8 +5,8 @@ package path import ( - "github.com/gonum/graph" - "github.com/gonum/graph/internal/set" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/set" ) // Dominators returns all dominators for all nodes in g. It does not diff --git a/graph/path/dijkstra.go b/graph/path/dijkstra.go index 6eb97a9d..62ec5e29 100644 --- a/graph/path/dijkstra.go +++ b/graph/path/dijkstra.go @@ -7,7 +7,7 @@ package path import ( "container/heap" - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) // DijkstraFrom returns a shortest-path tree for a shortest path from u to all nodes in diff --git a/graph/path/dijkstra_test.go b/graph/path/dijkstra_test.go index 931a1411..12dd417d 100644 --- a/graph/path/dijkstra_test.go +++ b/graph/path/dijkstra_test.go @@ -10,9 +10,9 @@ import ( "sort" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/path/internal/testgraphs" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/path/internal/testgraphs" ) func TestDijkstraFrom(t *testing.T) { diff --git a/graph/path/dynamic/dstarlite.go b/graph/path/dynamic/dstarlite.go index c7d7a9cc..7849f6ed 100644 --- a/graph/path/dynamic/dstarlite.go +++ b/graph/path/dynamic/dstarlite.go @@ -9,9 +9,9 @@ import ( "fmt" "math" - "github.com/gonum/graph" - "github.com/gonum/graph/path" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/path" + "gonum.org/v1/gonum/graph/simple" ) // DStarLite implements the D* Lite dynamic re-planning path search algorithm. diff --git a/graph/path/dynamic/dstarlite_test.go b/graph/path/dynamic/dstarlite_test.go index e6d433ef..4a8f239b 100644 --- a/graph/path/dynamic/dstarlite_test.go +++ b/graph/path/dynamic/dstarlite_test.go @@ -13,11 +13,11 @@ import ( "strings" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/path" - "github.com/gonum/graph/path/internal" - "github.com/gonum/graph/path/internal/testgraphs" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/path" + "gonum.org/v1/gonum/graph/path/internal" + "gonum.org/v1/gonum/graph/path/internal/testgraphs" + "gonum.org/v1/gonum/graph/simple" ) var ( diff --git a/graph/path/dynamic/dumper_test.go b/graph/path/dynamic/dumper_test.go index 7c4c0f87..75e31b36 100644 --- a/graph/path/dynamic/dumper_test.go +++ b/graph/path/dynamic/dumper_test.go @@ -11,8 +11,8 @@ import ( "sort" "text/tabwriter" - "github.com/gonum/graph/path/internal" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph/path/internal" + "gonum.org/v1/gonum/graph/simple" ) // dumper implements a grid D* Lite statistics dump. diff --git a/graph/path/floydwarshall.go b/graph/path/floydwarshall.go index bf5f237a..3f27678f 100644 --- a/graph/path/floydwarshall.go +++ b/graph/path/floydwarshall.go @@ -4,7 +4,7 @@ package path -import "github.com/gonum/graph" +import "gonum.org/v1/gonum/graph" // FloydWarshall returns a shortest-path tree for the graph g or false indicating // that a negative cycle exists in the graph. If the graph does not implement diff --git a/graph/path/floydwarshall_test.go b/graph/path/floydwarshall_test.go index 5cc1851a..1c2b47f6 100644 --- a/graph/path/floydwarshall_test.go +++ b/graph/path/floydwarshall_test.go @@ -10,9 +10,9 @@ import ( "sort" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/path/internal/testgraphs" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/path/internal/testgraphs" ) func TestFloydWarshall(t *testing.T) { diff --git a/graph/path/internal/grid.go b/graph/path/internal/grid.go index 8122ebf3..7f0bbc8f 100644 --- a/graph/path/internal/grid.go +++ b/graph/path/internal/grid.go @@ -9,8 +9,8 @@ import ( "fmt" "math" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) const ( diff --git a/graph/path/internal/grid_test.go b/graph/path/internal/grid_test.go index d046a533..89711e3f 100644 --- a/graph/path/internal/grid_test.go +++ b/graph/path/internal/grid_test.go @@ -11,8 +11,8 @@ import ( "strings" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) var _ graph.Graph = (*Grid)(nil) diff --git a/graph/path/internal/limited.go b/graph/path/internal/limited.go index 7b900fde..7044c079 100644 --- a/graph/path/internal/limited.go +++ b/graph/path/internal/limited.go @@ -8,8 +8,8 @@ import ( "errors" "math" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) // LimitedVisionGrid is a 2D grid planar undirected graph where the capacity diff --git a/graph/path/internal/limited_test.go b/graph/path/internal/limited_test.go index ef20de41..aa1815ee 100644 --- a/graph/path/internal/limited_test.go +++ b/graph/path/internal/limited_test.go @@ -9,8 +9,8 @@ import ( "reflect" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) type changes struct { diff --git a/graph/path/internal/testgraphs/shortest.go b/graph/path/internal/testgraphs/shortest.go index f512e382..ffc5ad57 100644 --- a/graph/path/internal/testgraphs/shortest.go +++ b/graph/path/internal/testgraphs/shortest.go @@ -8,8 +8,8 @@ import ( "fmt" "math" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) func init() { diff --git a/graph/path/johnson_apsp.go b/graph/path/johnson_apsp.go index c69dfb07..9eaea09e 100644 --- a/graph/path/johnson_apsp.go +++ b/graph/path/johnson_apsp.go @@ -8,8 +8,8 @@ import ( "math" "math/rand" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) // JohnsonAllPaths returns a shortest-path tree for shortest paths in the graph g. diff --git a/graph/path/johnson_apsp_test.go b/graph/path/johnson_apsp_test.go index 8fe05d13..2a3bdee1 100644 --- a/graph/path/johnson_apsp_test.go +++ b/graph/path/johnson_apsp_test.go @@ -10,9 +10,9 @@ import ( "sort" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/path/internal/testgraphs" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/path/internal/testgraphs" ) func TestJohnsonAllPaths(t *testing.T) { diff --git a/graph/path/shortest.go b/graph/path/shortest.go index 97f7e49f..8294abf2 100644 --- a/graph/path/shortest.go +++ b/graph/path/shortest.go @@ -8,8 +8,8 @@ import ( "math" "math/rand" - "github.com/gonum/graph" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/matrix/mat64" ) // Shortest is a shortest-path tree created by the BellmanFordFrom or DijkstraFrom diff --git a/graph/path/spanning_tree.go b/graph/path/spanning_tree.go index 57a78eb6..1ee9666f 100644 --- a/graph/path/spanning_tree.go +++ b/graph/path/spanning_tree.go @@ -9,8 +9,8 @@ import ( "math" "sort" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) // UndirectedWeighter is an undirected graph that returns edge weights. diff --git a/graph/path/spanning_tree_test.go b/graph/path/spanning_tree_test.go index 49f4fe3b..7ce542af 100644 --- a/graph/path/spanning_tree_test.go +++ b/graph/path/spanning_tree_test.go @@ -9,8 +9,8 @@ import ( "math" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" ) func init() { diff --git a/graph/path/weight.go b/graph/path/weight.go index cfe1f17f..91b9d321 100644 --- a/graph/path/weight.go +++ b/graph/path/weight.go @@ -7,7 +7,7 @@ package path import ( "math" - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) // Weighting is a mapping between a pair of nodes and a weight. It follows the diff --git a/graph/simple/dense_directed_matrix.go b/graph/simple/dense_directed_matrix.go index 46db6b0f..a6d681d3 100644 --- a/graph/simple/dense_directed_matrix.go +++ b/graph/simple/dense_directed_matrix.go @@ -7,9 +7,9 @@ package simple import ( "sort" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/matrix/mat64" ) // DirectedMatrix represents a directed graph using an adjacency diff --git a/graph/simple/dense_undirected_matrix.go b/graph/simple/dense_undirected_matrix.go index 63f20a48..6ef09ff6 100644 --- a/graph/simple/dense_undirected_matrix.go +++ b/graph/simple/dense_undirected_matrix.go @@ -7,9 +7,9 @@ package simple import ( "sort" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/matrix/mat64" ) // UndirectedMatrix represents an undirected graph using an adjacency diff --git a/graph/simple/densegraph_test.go b/graph/simple/densegraph_test.go index d68fd1d8..dae71387 100644 --- a/graph/simple/densegraph_test.go +++ b/graph/simple/densegraph_test.go @@ -9,8 +9,8 @@ import ( "sort" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" ) var ( diff --git a/graph/simple/directed.go b/graph/simple/directed.go index fd67cade..e5ef4fe3 100644 --- a/graph/simple/directed.go +++ b/graph/simple/directed.go @@ -9,7 +9,7 @@ import ( "golang.org/x/tools/container/intsets" - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) // DirectedGraph implements a generalized directed graph. diff --git a/graph/simple/directed_test.go b/graph/simple/directed_test.go index c685a050..d7c722e2 100644 --- a/graph/simple/directed_test.go +++ b/graph/simple/directed_test.go @@ -8,7 +8,7 @@ import ( "math" "testing" - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) var _ graph.Graph = &DirectedGraph{} diff --git a/graph/simple/simple.go b/graph/simple/simple.go index ab9fff0b..d081d75e 100644 --- a/graph/simple/simple.go +++ b/graph/simple/simple.go @@ -9,7 +9,7 @@ package simple import ( "math" - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) // Node is a simple graph node. diff --git a/graph/simple/undirected.go b/graph/simple/undirected.go index 67154b50..05d44080 100644 --- a/graph/simple/undirected.go +++ b/graph/simple/undirected.go @@ -9,7 +9,7 @@ import ( "golang.org/x/tools/container/intsets" - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) // UndirectedGraph implements a generalized undirected graph. diff --git a/graph/simple/undirected_test.go b/graph/simple/undirected_test.go index 1aee3e28..fa9e4be9 100644 --- a/graph/simple/undirected_test.go +++ b/graph/simple/undirected_test.go @@ -8,7 +8,7 @@ import ( "math" "testing" - "github.com/gonum/graph" + "gonum.org/v1/gonum/graph" ) var _ graph.Graph = (*UndirectedGraph)(nil) diff --git a/graph/topo/bench_test.go b/graph/topo/bench_test.go index 722b13e2..fb23f46f 100644 --- a/graph/topo/bench_test.go +++ b/graph/topo/bench_test.go @@ -8,9 +8,9 @@ import ( "math" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/graphs/gen" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/graphs/gen" + "gonum.org/v1/gonum/graph/simple" ) var ( diff --git a/graph/topo/bron_kerbosch.go b/graph/topo/bron_kerbosch.go index c2ec7f9b..b5491413 100644 --- a/graph/topo/bron_kerbosch.go +++ b/graph/topo/bron_kerbosch.go @@ -5,8 +5,8 @@ package topo import ( - "github.com/gonum/graph" - "github.com/gonum/graph/internal/set" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/set" ) // VertexOrdering returns the vertex ordering and the k-cores of diff --git a/graph/topo/bron_kerbosch_test.go b/graph/topo/bron_kerbosch_test.go index 39fb98fe..a83b8db8 100644 --- a/graph/topo/bron_kerbosch_test.go +++ b/graph/topo/bron_kerbosch_test.go @@ -10,8 +10,8 @@ import ( "sort" "testing" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) var vOrderTests = []struct { diff --git a/graph/topo/johnson_cycles.go b/graph/topo/johnson_cycles.go index b62d110e..e84e203e 100644 --- a/graph/topo/johnson_cycles.go +++ b/graph/topo/johnson_cycles.go @@ -7,9 +7,9 @@ package topo import ( "sort" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/internal/set" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/internal/set" ) // johnson implements Johnson's "Finding all the elementary diff --git a/graph/topo/johnson_cycles_test.go b/graph/topo/johnson_cycles_test.go index 4c686b35..533926c7 100644 --- a/graph/topo/johnson_cycles_test.go +++ b/graph/topo/johnson_cycles_test.go @@ -10,8 +10,8 @@ import ( "sort" "testing" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) var cyclesInTests = []struct { diff --git a/graph/topo/tarjan.go b/graph/topo/tarjan.go index 0c7d9681..e5b4d953 100644 --- a/graph/topo/tarjan.go +++ b/graph/topo/tarjan.go @@ -10,8 +10,8 @@ import ( "golang.org/x/tools/container/intsets" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" ) // Unorderable is an error containing sets of unorderable graph.Nodes. diff --git a/graph/topo/tarjan_test.go b/graph/topo/tarjan_test.go index 3c854a43..086dcdfc 100644 --- a/graph/topo/tarjan_test.go +++ b/graph/topo/tarjan_test.go @@ -10,9 +10,9 @@ import ( "sort" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) type interval struct{ start, end int } diff --git a/graph/topo/topo.go b/graph/topo/topo.go index 23568bb7..4f1d4eed 100644 --- a/graph/topo/topo.go +++ b/graph/topo/topo.go @@ -6,8 +6,8 @@ package topo import ( - "github.com/gonum/graph" - "github.com/gonum/graph/traverse" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/traverse" ) // IsPathIn returns whether path is a path in g. diff --git a/graph/topo/topo_test.go b/graph/topo/topo_test.go index 1cd086a4..f4707ce7 100644 --- a/graph/topo/topo_test.go +++ b/graph/topo/topo_test.go @@ -10,9 +10,9 @@ import ( "sort" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) func TestIsPath(t *testing.T) { diff --git a/graph/traverse/traverse.go b/graph/traverse/traverse.go index 6a351b07..715d881e 100644 --- a/graph/traverse/traverse.go +++ b/graph/traverse/traverse.go @@ -8,8 +8,8 @@ package traverse import ( "golang.org/x/tools/container/intsets" - "github.com/gonum/graph" - "github.com/gonum/graph/internal/linear" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/internal/linear" ) // BreadthFirst implements stateful breadth-first graph traversal. diff --git a/graph/traverse/traverse_test.go b/graph/traverse/traverse_test.go index 8c33d10e..b611c463 100644 --- a/graph/traverse/traverse_test.go +++ b/graph/traverse/traverse_test.go @@ -11,10 +11,10 @@ import ( "sort" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/graphs/gen" - "github.com/gonum/graph/internal/ordered" - "github.com/gonum/graph/simple" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/graphs/gen" + "gonum.org/v1/gonum/graph/internal/ordered" + "gonum.org/v1/gonum/graph/simple" ) var ( diff --git a/graph/undirect_test.go b/graph/undirect_test.go index d811e954..56acfa65 100644 --- a/graph/undirect_test.go +++ b/graph/undirect_test.go @@ -8,9 +8,9 @@ import ( "math" "testing" - "github.com/gonum/graph" - "github.com/gonum/graph/simple" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/graph" + "gonum.org/v1/gonum/graph/simple" + "gonum.org/v1/gonum/matrix/mat64" ) var directedGraphs = []struct { diff --git a/integrate/quad/example_test.go b/integrate/quad/example_test.go index 201f6cef..32a4886a 100644 --- a/integrate/quad/example_test.go +++ b/integrate/quad/example_test.go @@ -9,8 +9,8 @@ import ( "math" "runtime" - "github.com/gonum/integrate/quad" - "github.com/gonum/stat/distuv" + "gonum.org/v1/gonum/integrate/quad" + "gonum.org/v1/gonum/stat/distuv" ) func Example() { diff --git a/integrate/quad/hermite.go b/integrate/quad/hermite.go index 48457466..d2755f0e 100644 --- a/integrate/quad/hermite.go +++ b/integrate/quad/hermite.go @@ -7,8 +7,8 @@ package quad import ( "math" - "github.com/gonum/floats" - "github.com/gonum/mathext" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/mathext" ) // Hermite generates sample locations and weights for performing quadrature with diff --git a/integrate/quad/hermite_test.go b/integrate/quad/hermite_test.go index fba36d31..d74b82dc 100644 --- a/integrate/quad/hermite_test.go +++ b/integrate/quad/hermite_test.go @@ -9,7 +9,7 @@ import ( "math" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestHermite(t *testing.T) { diff --git a/integrate/quad/legendre_test.go b/integrate/quad/legendre_test.go index 43f2fece..7fb5bb09 100644 --- a/integrate/quad/legendre_test.go +++ b/integrate/quad/legendre_test.go @@ -8,7 +8,7 @@ import ( "math" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestLegendre(t *testing.T) { diff --git a/integrate/quad/quad_test.go b/integrate/quad/quad_test.go index 87a857b5..5e25ffdd 100644 --- a/integrate/quad/quad_test.go +++ b/integrate/quad/quad_test.go @@ -8,8 +8,8 @@ import ( "math" "testing" - "github.com/gonum/floats" - "github.com/gonum/stat/distuv" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/stat/distuv" ) func TestFixed(t *testing.T) { diff --git a/integrate/trapezoidal_test.go b/integrate/trapezoidal_test.go index cbf86683..c52ee0e6 100644 --- a/integrate/trapezoidal_test.go +++ b/integrate/trapezoidal_test.go @@ -8,7 +8,7 @@ import ( "math" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestTrapezoidal(t *testing.T) { diff --git a/lapack/cgo/bench_test.go b/lapack/cgo/bench_test.go index 5deae590..1722d11c 100644 --- a/lapack/cgo/bench_test.go +++ b/lapack/cgo/bench_test.go @@ -9,7 +9,7 @@ package cgo import ( "testing" - "github.com/gonum/lapack/testlapack" + "gonum.org/v1/gonum/lapack/testlapack" ) func BenchmarkDgeev(b *testing.B) { testlapack.DgeevBenchmark(b, impl) } diff --git a/lapack/cgo/lapack.go b/lapack/cgo/lapack.go index e99455bc..803bc517 100644 --- a/lapack/cgo/lapack.go +++ b/lapack/cgo/lapack.go @@ -8,9 +8,9 @@ package cgo import ( "math" - "github.com/gonum/blas" - "github.com/gonum/lapack" - "github.com/gonum/lapack/cgo/lapacke" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" + "gonum.org/v1/gonum/lapack/cgo/lapacke" ) // Copied from lapack/native. Keep in sync. diff --git a/lapack/cgo/lapack_test.go b/lapack/cgo/lapack_test.go index 63b57622..f4738263 100644 --- a/lapack/cgo/lapack_test.go +++ b/lapack/cgo/lapack_test.go @@ -7,8 +7,8 @@ package cgo import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/lapack/testlapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack/testlapack" ) var impl = Implementation{} diff --git a/lapack/cgo/lapacke/generate_lapacke.go b/lapack/cgo/lapacke/generate_lapacke.go index 9d82f86a..7f477eae 100644 --- a/lapack/cgo/lapacke/generate_lapacke.go +++ b/lapack/cgo/lapacke/generate_lapacke.go @@ -20,7 +20,7 @@ import ( "github.com/cznic/cc" - "github.com/gonum/internal/binding" + "gonum.org/v1/gonum/internal/binding" ) const ( diff --git a/lapack/cgo/lapacke/lapacke.go b/lapack/cgo/lapacke/lapacke.go index 31d6669d..bd5953d6 100644 --- a/lapack/cgo/lapacke/lapacke.go +++ b/lapack/cgo/lapacke/lapacke.go @@ -18,8 +18,8 @@ import "C" import ( "unsafe" - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Type order is used to specify the matrix storage format. We still interact with diff --git a/lapack/lapack.go b/lapack/lapack.go index 46b493df..7f64a7a9 100644 --- a/lapack/lapack.go +++ b/lapack/lapack.go @@ -4,7 +4,7 @@ package lapack -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" const None = 'N' diff --git a/lapack/lapack64/lapack64.go b/lapack/lapack64/lapack64.go index 619734fb..095de163 100644 --- a/lapack/lapack64/lapack64.go +++ b/lapack/lapack64/lapack64.go @@ -20,10 +20,10 @@ package lapack64 import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" - "github.com/gonum/lapack/native" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" + "gonum.org/v1/gonum/lapack/native" ) var lapack64 lapack.Float64 = native.Implementation{} diff --git a/lapack/native/bench_test.go b/lapack/native/bench_test.go index b253cd6f..35fa9369 100644 --- a/lapack/native/bench_test.go +++ b/lapack/native/bench_test.go @@ -9,7 +9,7 @@ package native import ( "testing" - "github.com/gonum/lapack/testlapack" + "gonum.org/v1/gonum/lapack/testlapack" ) func BenchmarkDgeev(b *testing.B) { testlapack.DgeevBenchmark(b, impl) } diff --git a/lapack/native/dbdsqr.go b/lapack/native/dbdsqr.go index 6a0b0eb8..7b4ecd98 100644 --- a/lapack/native/dbdsqr.go +++ b/lapack/native/dbdsqr.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dbdsqr performs a singular value decomposition of a real n×n bidiagonal matrix. diff --git a/lapack/native/dgebak.go b/lapack/native/dgebak.go index e0edc571..096c21c3 100644 --- a/lapack/native/dgebak.go +++ b/lapack/native/dgebak.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dgebak updates an n×m matrix V as diff --git a/lapack/native/dgebal.go b/lapack/native/dgebal.go index 41ea70fb..6b986fa2 100644 --- a/lapack/native/dgebal.go +++ b/lapack/native/dgebal.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dgebal balances an n×n matrix A. Balancing consists of two stages, permuting diff --git a/lapack/native/dgebd2.go b/lapack/native/dgebd2.go index c82ba231..3eea59de 100644 --- a/lapack/native/dgebd2.go +++ b/lapack/native/dgebd2.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dgebd2 reduces an m×n matrix A to upper or lower bidiagonal form by an orthogonal // transformation. diff --git a/lapack/native/dgebrd.go b/lapack/native/dgebrd.go index 22ca6b38..446566fa 100644 --- a/lapack/native/dgebrd.go +++ b/lapack/native/dgebrd.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dgebrd reduces a general m×n matrix A to upper or lower bidiagonal form B by diff --git a/lapack/native/dgecon.go b/lapack/native/dgecon.go index 819490ee..588cd39c 100644 --- a/lapack/native/dgecon.go +++ b/lapack/native/dgecon.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dgecon estimates the reciprocal of the condition number of the n×n matrix A diff --git a/lapack/native/dgeev.go b/lapack/native/dgeev.go index e10a9e36..63182fa9 100644 --- a/lapack/native/dgeev.go +++ b/lapack/native/dgeev.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dgeev computes the eigenvalues and, optionally, the left and/or right diff --git a/lapack/native/dgehd2.go b/lapack/native/dgehd2.go index 57700797..946d2ec1 100644 --- a/lapack/native/dgehd2.go +++ b/lapack/native/dgehd2.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dgehd2 reduces a block of a general n×n matrix A to upper Hessenberg form H // by an orthogonal similarity transformation Q^T * A * Q = H. diff --git a/lapack/native/dgehrd.go b/lapack/native/dgehrd.go index 1bf4680d..e388d2b6 100644 --- a/lapack/native/dgehrd.go +++ b/lapack/native/dgehrd.go @@ -5,9 +5,9 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dgehrd reduces a block of a real n×n general matrix A to upper Hessenberg diff --git a/lapack/native/dgelq2.go b/lapack/native/dgelq2.go index 648be10a..9e735e81 100644 --- a/lapack/native/dgelq2.go +++ b/lapack/native/dgelq2.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dgelq2 computes the LQ factorization of the m×n matrix A. // diff --git a/lapack/native/dgelqf.go b/lapack/native/dgelqf.go index 4c124ba5..ad97cf25 100644 --- a/lapack/native/dgelqf.go +++ b/lapack/native/dgelqf.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dgelqf computes the LQ factorization of the m×n matrix A using a blocked diff --git a/lapack/native/dgels.go b/lapack/native/dgels.go index daed361a..75bad43d 100644 --- a/lapack/native/dgels.go +++ b/lapack/native/dgels.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dgels finds a minimum-norm solution based on the matrices A and B using the diff --git a/lapack/native/dgeql2.go b/lapack/native/dgeql2.go index b5fad21a..c29dd2f0 100644 --- a/lapack/native/dgeql2.go +++ b/lapack/native/dgeql2.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dgeql2 computes the QL factorization of the m×n matrix A. That is, Dgeql2 // computes Q and L such that diff --git a/lapack/native/dgeqp3.go b/lapack/native/dgeqp3.go index a53ca2ca..39ce7d4e 100644 --- a/lapack/native/dgeqp3.go +++ b/lapack/native/dgeqp3.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dgeqp3 computes a QR factorization with column pivoting of the diff --git a/lapack/native/dgeqr2.go b/lapack/native/dgeqr2.go index 5e8e0f9d..646350cd 100644 --- a/lapack/native/dgeqr2.go +++ b/lapack/native/dgeqr2.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dgeqr2 computes a QR factorization of the m×n matrix A. // diff --git a/lapack/native/dgeqrf.go b/lapack/native/dgeqrf.go index 9072c25b..aeb1afad 100644 --- a/lapack/native/dgeqrf.go +++ b/lapack/native/dgeqrf.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dgeqrf computes the QR factorization of the m×n matrix A using a blocked diff --git a/lapack/native/dgerq2.go b/lapack/native/dgerq2.go index b898a2d8..19f5bd03 100644 --- a/lapack/native/dgerq2.go +++ b/lapack/native/dgerq2.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dgerq2 computes an RQ factorization of the m×n matrix A, // A = R * Q. diff --git a/lapack/native/dgerqf.go b/lapack/native/dgerqf.go index 4530056e..48a7f743 100644 --- a/lapack/native/dgerqf.go +++ b/lapack/native/dgerqf.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dgerqf computes an RQ factorization of the m×n matrix A, diff --git a/lapack/native/dgesvd.go b/lapack/native/dgesvd.go index ccf867bf..d38ef2af 100644 --- a/lapack/native/dgesvd.go +++ b/lapack/native/dgesvd.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) const noSVDO = "dgesvd: not coded for overwrite" diff --git a/lapack/native/dgetf2.go b/lapack/native/dgetf2.go index a7937153..357068fc 100644 --- a/lapack/native/dgetf2.go +++ b/lapack/native/dgetf2.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) // Dgetf2 computes the LU decomposition of the m×n matrix A. diff --git a/lapack/native/dgetrf.go b/lapack/native/dgetrf.go index d3200b51..74aa4249 100644 --- a/lapack/native/dgetrf.go +++ b/lapack/native/dgetrf.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dgetrf computes the LU decomposition of the m×n matrix A. diff --git a/lapack/native/dgetri.go b/lapack/native/dgetri.go index ed0942f3..55ef1e84 100644 --- a/lapack/native/dgetri.go +++ b/lapack/native/dgetri.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dgetri computes the inverse of the matrix A using the LU factorization computed diff --git a/lapack/native/dgetrs.go b/lapack/native/dgetrs.go index 9790d980..17a6ade8 100644 --- a/lapack/native/dgetrs.go +++ b/lapack/native/dgetrs.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dgetrs solves a system of equations using an LU factorization. diff --git a/lapack/native/dggsvd3.go b/lapack/native/dggsvd3.go index 363243ec..0ec8bbb3 100644 --- a/lapack/native/dggsvd3.go +++ b/lapack/native/dggsvd3.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dggsvd3 computes the generalized singular value decomposition (GSVD) diff --git a/lapack/native/dggsvp3.go b/lapack/native/dggsvp3.go index acf06a12..2821895e 100644 --- a/lapack/native/dggsvp3.go +++ b/lapack/native/dggsvp3.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dggsvp3 computes orthogonal matrices U, V and Q such that diff --git a/lapack/native/dhseqr.go b/lapack/native/dhseqr.go index 2b206f11..60ae61f5 100644 --- a/lapack/native/dhseqr.go +++ b/lapack/native/dhseqr.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dhseqr computes the eigenvalues of an n×n Hessenberg matrix H and, diff --git a/lapack/native/dlabrd.go b/lapack/native/dlabrd.go index d9a566e5..967c45b7 100644 --- a/lapack/native/dlabrd.go +++ b/lapack/native/dlabrd.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dlabrd reduces the first NB rows and columns of a real general m×n matrix diff --git a/lapack/native/dlacn2.go b/lapack/native/dlacn2.go index fd1e2eb3..4918eadb 100644 --- a/lapack/native/dlacn2.go +++ b/lapack/native/dlacn2.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) // Dlacn2 estimates the 1-norm of an n×n matrix A using sequential updates with diff --git a/lapack/native/dlacpy.go b/lapack/native/dlacpy.go index e0c7902b..f37be7fd 100644 --- a/lapack/native/dlacpy.go +++ b/lapack/native/dlacpy.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dlacpy copies the elements of A specified by uplo into B. Uplo can specify // a triangular portion with blas.Upper or blas.Lower, or can specify all of the diff --git a/lapack/native/dlaexc.go b/lapack/native/dlaexc.go index 47a5f810..d4ab2274 100644 --- a/lapack/native/dlaexc.go +++ b/lapack/native/dlaexc.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dlaexc swaps two adjacent diagonal blocks of order 1 or 2 in an n×n upper diff --git a/lapack/native/dlahqr.go b/lapack/native/dlahqr.go index 7e872cc8..9097d26b 100644 --- a/lapack/native/dlahqr.go +++ b/lapack/native/dlahqr.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) // Dlahqr computes the eigenvalues and Schur factorization of a block of an n×n diff --git a/lapack/native/dlahr2.go b/lapack/native/dlahr2.go index 011f89b6..2e1e54bc 100644 --- a/lapack/native/dlahr2.go +++ b/lapack/native/dlahr2.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dlahr2 reduces the first nb columns of a real general n×(n-k+1) matrix A so diff --git a/lapack/native/dlange.go b/lapack/native/dlange.go index 7e65c9e4..aa924aa0 100644 --- a/lapack/native/dlange.go +++ b/lapack/native/dlange.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) // Dlange computes the matrix norm of the general m×n matrix a. The input norm diff --git a/lapack/native/dlanst.go b/lapack/native/dlanst.go index d806de9b..2987d3ba 100644 --- a/lapack/native/dlanst.go +++ b/lapack/native/dlanst.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) // Dlanst computes the specified norm of a symmetric tridiagonal matrix A. diff --git a/lapack/native/dlansy.go b/lapack/native/dlansy.go index 4d610b58..bb5a7f22 100644 --- a/lapack/native/dlansy.go +++ b/lapack/native/dlansy.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dlansy computes the specified norm of an n×n symmetric matrix. If diff --git a/lapack/native/dlantr.go b/lapack/native/dlantr.go index a0fedc46..7cb77d49 100644 --- a/lapack/native/dlantr.go +++ b/lapack/native/dlantr.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dlantr computes the specified norm of an m×n trapezoidal matrix A. If diff --git a/lapack/native/dlapll.go b/lapack/native/dlapll.go index eea1827a..f424e280 100644 --- a/lapack/native/dlapll.go +++ b/lapack/native/dlapll.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas/blas64" +import "gonum.org/v1/gonum/blas/blas64" // Dlapll returns the smallest singular value of the n×2 matrix A = [ x y ]. // The function first computes the QR factorization of A = Q*R, and then computes diff --git a/lapack/native/dlapmt.go b/lapack/native/dlapmt.go index cb989fea..0496902d 100644 --- a/lapack/native/dlapmt.go +++ b/lapack/native/dlapmt.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas/blas64" +import "gonum.org/v1/gonum/blas/blas64" // Dlapmt rearranges the columns of the m×n matrix X as specified by the // permutation k_0, k_1, ..., k_n-1 of the integers 0, ..., n-1. diff --git a/lapack/native/dlaqp2.go b/lapack/native/dlaqp2.go index f9ae6454..2ef72461 100644 --- a/lapack/native/dlaqp2.go +++ b/lapack/native/dlaqp2.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dlaqp2 computes a QR factorization with column pivoting of the block A[offset:m, 0:n] diff --git a/lapack/native/dlaqps.go b/lapack/native/dlaqps.go index f96d40a5..6b2a47a3 100644 --- a/lapack/native/dlaqps.go +++ b/lapack/native/dlaqps.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dlaqps computes a step of QR factorization with column pivoting diff --git a/lapack/native/dlaqr04.go b/lapack/native/dlaqr04.go index de7e1b46..d1506074 100644 --- a/lapack/native/dlaqr04.go +++ b/lapack/native/dlaqr04.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) // Dlaqr04 computes the eigenvalues of a block of an n×n upper Hessenberg matrix diff --git a/lapack/native/dlaqr23.go b/lapack/native/dlaqr23.go index 0d798dea..70abf9f0 100644 --- a/lapack/native/dlaqr23.go +++ b/lapack/native/dlaqr23.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dlaqr23 performs the orthogonal similarity transformation of an n×n upper diff --git a/lapack/native/dlaqr5.go b/lapack/native/dlaqr5.go index c66516a6..358fda7a 100644 --- a/lapack/native/dlaqr5.go +++ b/lapack/native/dlaqr5.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dlaqr5 performs a single small-bulge multi-shift QR sweep on an isolated diff --git a/lapack/native/dlarf.go b/lapack/native/dlarf.go index d51b0149..7bbf9a25 100644 --- a/lapack/native/dlarf.go +++ b/lapack/native/dlarf.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dlarf applies an elementary reflector to a general rectangular matrix c. diff --git a/lapack/native/dlarfb.go b/lapack/native/dlarfb.go index ed69abe4..b79f6b90 100644 --- a/lapack/native/dlarfb.go +++ b/lapack/native/dlarfb.go @@ -5,9 +5,9 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dlarfb applies a block reflector to a matrix. diff --git a/lapack/native/dlarfg.go b/lapack/native/dlarfg.go index a12735b8..9230b532 100644 --- a/lapack/native/dlarfg.go +++ b/lapack/native/dlarfg.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) // Dlarfg generates an elementary reflector for a Householder matrix. It creates diff --git a/lapack/native/dlarft.go b/lapack/native/dlarft.go index 4a11c62f..1b42b3d5 100644 --- a/lapack/native/dlarft.go +++ b/lapack/native/dlarft.go @@ -5,9 +5,9 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dlarft forms the triangular factor T of a block reflector H, storing the answer diff --git a/lapack/native/dlarfx.go b/lapack/native/dlarfx.go index b730be65..8e2b1b8c 100644 --- a/lapack/native/dlarfx.go +++ b/lapack/native/dlarfx.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dlarfx applies an elementary reflector H to a real m×n matrix C, from either // the left or the right, with loop unrolling when the reflector has order less diff --git a/lapack/native/dlascl.go b/lapack/native/dlascl.go index 2c130e8b..4dacc80a 100644 --- a/lapack/native/dlascl.go +++ b/lapack/native/dlascl.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) // Dlascl multiplies an m×n matrix by the scalar cto/cfrom. diff --git a/lapack/native/dlaset.go b/lapack/native/dlaset.go index 2781ad56..ad9fb7af 100644 --- a/lapack/native/dlaset.go +++ b/lapack/native/dlaset.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dlaset sets the off-diagonal elements of A to alpha, and the diagonal // elements to beta. If uplo == blas.Upper, only the elements in the upper diff --git a/lapack/native/dlasq1.go b/lapack/native/dlasq1.go index d10d3d5c..e2bbce3c 100644 --- a/lapack/native/dlasq1.go +++ b/lapack/native/dlasq1.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dlasq1 computes the singular values of an n×n bidiagonal matrix with diagonal diff --git a/lapack/native/dlasq2.go b/lapack/native/dlasq2.go index 07ee0ecf..3570e734 100644 --- a/lapack/native/dlasq2.go +++ b/lapack/native/dlasq2.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) // Dlasq2 computes all the eigenvalues of the symmetric positive diff --git a/lapack/native/dlasr.go b/lapack/native/dlasr.go index 554d5bd6..773754fc 100644 --- a/lapack/native/dlasr.go +++ b/lapack/native/dlasr.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dlasr applies a sequence of plane rotations to the m×n matrix A. This series diff --git a/lapack/native/dlasrt.go b/lapack/native/dlasrt.go index f471764a..f2d65fa6 100644 --- a/lapack/native/dlasrt.go +++ b/lapack/native/dlasrt.go @@ -7,7 +7,7 @@ package native import ( "sort" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) // Dlasrt sorts the numbers in the input slice d. If s == lapack.SortIncreasing, diff --git a/lapack/native/dlaswp.go b/lapack/native/dlaswp.go index 1eee3057..12239c2d 100644 --- a/lapack/native/dlaswp.go +++ b/lapack/native/dlaswp.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas/blas64" +import "gonum.org/v1/gonum/blas/blas64" // Dlaswp swaps the rows k1 to k2 of a rectangular matrix A according to the // indices in ipiv so that row k is swapped with ipiv[k]. diff --git a/lapack/native/dlasy2.go b/lapack/native/dlasy2.go index b14cb256..af06e312 100644 --- a/lapack/native/dlasy2.go +++ b/lapack/native/dlasy2.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) // Dlasy2 solves the Sylvester matrix equation where the matrices are of order 1 diff --git a/lapack/native/dlatrd.go b/lapack/native/dlatrd.go index 9e47bacc..e032c8d6 100644 --- a/lapack/native/dlatrd.go +++ b/lapack/native/dlatrd.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dlatrd reduces nb rows and columns of a real n×n symmetric matrix A to symmetric diff --git a/lapack/native/dlatrs.go b/lapack/native/dlatrs.go index afede760..2a86c4f4 100644 --- a/lapack/native/dlatrs.go +++ b/lapack/native/dlatrs.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dlatrs solves a triangular system of equations scaled to prevent overflow. It diff --git a/lapack/native/dorg2l.go b/lapack/native/dorg2l.go index b51e7f89..63510d19 100644 --- a/lapack/native/dorg2l.go +++ b/lapack/native/dorg2l.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dorg2l generates an m×n matrix Q with orthonormal columns which is defined diff --git a/lapack/native/dorg2r.go b/lapack/native/dorg2r.go index a00c183d..6bc69647 100644 --- a/lapack/native/dorg2r.go +++ b/lapack/native/dorg2r.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dorg2r generates an m×n matrix Q with orthonormal columns defined by the diff --git a/lapack/native/dorgbr.go b/lapack/native/dorgbr.go index 2205dda0..62b6b3b8 100644 --- a/lapack/native/dorgbr.go +++ b/lapack/native/dorgbr.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/lapack" +import "gonum.org/v1/gonum/lapack" // Dorgbr generates one of the matrices Q or P^T computed by Dgebrd // computed from the decomposition Dgebrd. See Dgebd2 for the description of diff --git a/lapack/native/dorgl2.go b/lapack/native/dorgl2.go index b8b26cb7..760ebd71 100644 --- a/lapack/native/dorgl2.go +++ b/lapack/native/dorgl2.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dorgl2 generates an m×n matrix Q with orthonormal rows defined by the diff --git a/lapack/native/dorglq.go b/lapack/native/dorglq.go index 732624d1..3f5639d6 100644 --- a/lapack/native/dorglq.go +++ b/lapack/native/dorglq.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dorglq generates an m×n matrix Q with orthonormal columns defined by the diff --git a/lapack/native/dorgql.go b/lapack/native/dorgql.go index 060d6388..d1b69418 100644 --- a/lapack/native/dorgql.go +++ b/lapack/native/dorgql.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dorgql generates the m×n matrix Q with orthonormal columns defined as the diff --git a/lapack/native/dorgqr.go b/lapack/native/dorgqr.go index 1482190b..28822d03 100644 --- a/lapack/native/dorgqr.go +++ b/lapack/native/dorgqr.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dorgqr generates an m×n matrix Q with orthonormal columns defined by the diff --git a/lapack/native/dorgtr.go b/lapack/native/dorgtr.go index f025e5bb..c5c3b756 100644 --- a/lapack/native/dorgtr.go +++ b/lapack/native/dorgtr.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dorgtr generates a real orthogonal matrix Q which is defined as the product // of n-1 elementary reflectors of order n as returned by Dsytrd. diff --git a/lapack/native/dorm2r.go b/lapack/native/dorm2r.go index 8761f4f0..dae265f6 100644 --- a/lapack/native/dorm2r.go +++ b/lapack/native/dorm2r.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dorm2r multiplies a general matrix C by an orthogonal matrix from a QR factorization // determined by Dgeqrf. diff --git a/lapack/native/dormbr.go b/lapack/native/dormbr.go index 40a767ab..eef130ad 100644 --- a/lapack/native/dormbr.go +++ b/lapack/native/dormbr.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dormbr applies a multiplicative update to the matrix C based on a diff --git a/lapack/native/dormhr.go b/lapack/native/dormhr.go index 33593bf4..7349a873 100644 --- a/lapack/native/dormhr.go +++ b/lapack/native/dormhr.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dormhr multiplies an m×n general matrix C with an nq×nq orthogonal matrix Q // Q * C, if side == blas.Left and trans == blas.NoTrans, diff --git a/lapack/native/dorml2.go b/lapack/native/dorml2.go index 18a2f23c..1cfde1ab 100644 --- a/lapack/native/dorml2.go +++ b/lapack/native/dorml2.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dorml2 multiplies a general matrix C by an orthogonal matrix from an LQ factorization // determined by Dgelqf. diff --git a/lapack/native/dormlq.go b/lapack/native/dormlq.go index d9cc3ee3..d69f517d 100644 --- a/lapack/native/dormlq.go +++ b/lapack/native/dormlq.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dormlq multiplies the matrix C by the orthogonal matrix Q defined by the diff --git a/lapack/native/dormqr.go b/lapack/native/dormqr.go index 79da3b71..2f0c2316 100644 --- a/lapack/native/dormqr.go +++ b/lapack/native/dormqr.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) // Dormqr multiplies an m×n matrix C by an orthogonal matrix Q as diff --git a/lapack/native/dormr2.go b/lapack/native/dormr2.go index 47c5ed00..a4e97c20 100644 --- a/lapack/native/dormr2.go +++ b/lapack/native/dormr2.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/blas" +import "gonum.org/v1/gonum/blas" // Dormr2 multiplies a general matrix C by an orthogonal matrix from a RQ factorization // determined by Dgerqf. diff --git a/lapack/native/dpocon.go b/lapack/native/dpocon.go index 2d2304e2..b0e0b407 100644 --- a/lapack/native/dpocon.go +++ b/lapack/native/dpocon.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dpocon estimates the reciprocal of the condition number of a positive-definite diff --git a/lapack/native/dpotf2.go b/lapack/native/dpotf2.go index fbb31986..bf923665 100644 --- a/lapack/native/dpotf2.go +++ b/lapack/native/dpotf2.go @@ -7,8 +7,8 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dpotf2 computes the Cholesky decomposition of the symmetric positive definite diff --git a/lapack/native/dpotrf.go b/lapack/native/dpotrf.go index d2adec95..32259dea 100644 --- a/lapack/native/dpotrf.go +++ b/lapack/native/dpotrf.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dpotrf computes the Cholesky decomposition of the symmetric positive definite diff --git a/lapack/native/drscl.go b/lapack/native/drscl.go index 88d17374..a10b52db 100644 --- a/lapack/native/drscl.go +++ b/lapack/native/drscl.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) // Drscl multiplies the vector x by 1/a being careful to avoid overflow or diff --git a/lapack/native/dsteqr.go b/lapack/native/dsteqr.go index cb9133d0..3b31d547 100644 --- a/lapack/native/dsteqr.go +++ b/lapack/native/dsteqr.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dsteqr computes the eigenvalues and optionally the eigenvectors of a symmetric diff --git a/lapack/native/dsterf.go b/lapack/native/dsterf.go index 3c9969fc..860b969f 100644 --- a/lapack/native/dsterf.go +++ b/lapack/native/dsterf.go @@ -7,7 +7,7 @@ package native import ( "math" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) // Dsterf computes all eigenvalues of a symmetric tridiagonal matrix using the diff --git a/lapack/native/dsyev.go b/lapack/native/dsyev.go index 032bcbb4..3eee8a04 100644 --- a/lapack/native/dsyev.go +++ b/lapack/native/dsyev.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dsyev computes all eigenvalues and, optionally, the eigenvectors of a real diff --git a/lapack/native/dsytd2.go b/lapack/native/dsytd2.go index f0df454e..4f0d84d1 100644 --- a/lapack/native/dsytd2.go +++ b/lapack/native/dsytd2.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dsytd2 reduces a symmetric n×n matrix A to symmetric tridiagonal form T by an diff --git a/lapack/native/dsytrd.go b/lapack/native/dsytrd.go index 4f6f15c9..88e74f12 100644 --- a/lapack/native/dsytrd.go +++ b/lapack/native/dsytrd.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dsytrd reduces a symmetric n×n matrix A to symmetric tridiagonal form by an diff --git a/lapack/native/dtgsja.go b/lapack/native/dtgsja.go index a47e2526..7eb1dc6e 100644 --- a/lapack/native/dtgsja.go +++ b/lapack/native/dtgsja.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dtgsja computes the generalized singular value decomposition (GSVD) diff --git a/lapack/native/dtrcon.go b/lapack/native/dtrcon.go index e4e97100..ffa9cc71 100644 --- a/lapack/native/dtrcon.go +++ b/lapack/native/dtrcon.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dtrcon estimates the reciprocal of the condition number of a triangular matrix A. diff --git a/lapack/native/dtrevc3.go b/lapack/native/dtrevc3.go index c0ef920b..034b19ee 100644 --- a/lapack/native/dtrevc3.go +++ b/lapack/native/dtrevc3.go @@ -7,9 +7,9 @@ package native import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) // Dtrevc3 computes some or all of the right and/or left eigenvectors of an n×n diff --git a/lapack/native/dtrexc.go b/lapack/native/dtrexc.go index ec2cec61..ab4b4837 100644 --- a/lapack/native/dtrexc.go +++ b/lapack/native/dtrexc.go @@ -4,7 +4,7 @@ package native -import "github.com/gonum/lapack" +import "gonum.org/v1/gonum/lapack" // Dtrexc reorders the real Schur factorization of a n×n real matrix // A = Q*T*Q^T diff --git a/lapack/native/dtrti2.go b/lapack/native/dtrti2.go index 3a258fb9..49ae9e1c 100644 --- a/lapack/native/dtrti2.go +++ b/lapack/native/dtrti2.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dtrti2 computes the inverse of a triangular matrix, storing the result in place diff --git a/lapack/native/dtrtri.go b/lapack/native/dtrtri.go index 700559dd..5bc2cc0a 100644 --- a/lapack/native/dtrtri.go +++ b/lapack/native/dtrtri.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dtrtri computes the inverse of a triangular matrix, storing the result in place diff --git a/lapack/native/dtrtrs.go b/lapack/native/dtrtrs.go index a9c36419..8f4e2322 100644 --- a/lapack/native/dtrtrs.go +++ b/lapack/native/dtrtrs.go @@ -5,8 +5,8 @@ package native import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dtrtrs solves a triangular system of the form A * X = B or A^T * X = B. Dtrtrs diff --git a/lapack/native/general.go b/lapack/native/general.go index 0374386e..0b2a1a65 100644 --- a/lapack/native/general.go +++ b/lapack/native/general.go @@ -5,7 +5,7 @@ package native import ( - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) // Implementation is the native Go implementation of LAPACK routines. It diff --git a/lapack/native/lapack_test.go b/lapack/native/lapack_test.go index ee7ed1ac..46f1af71 100644 --- a/lapack/native/lapack_test.go +++ b/lapack/native/lapack_test.go @@ -7,7 +7,7 @@ package native import ( "testing" - "github.com/gonum/lapack/testlapack" + "gonum.org/v1/gonum/lapack/testlapack" ) var impl = Implementation{} diff --git a/lapack/testlapack/dbdsqr.go b/lapack/testlapack/dbdsqr.go index 0ba9537f..8a09e3ac 100644 --- a/lapack/testlapack/dbdsqr.go +++ b/lapack/testlapack/dbdsqr.go @@ -10,9 +10,9 @@ import ( "sort" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dbdsqrer interface { diff --git a/lapack/testlapack/dgebak.go b/lapack/testlapack/dgebak.go index 88517d3c..7d1030a4 100644 --- a/lapack/testlapack/dgebak.go +++ b/lapack/testlapack/dgebak.go @@ -9,9 +9,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) type Dgebaker interface { diff --git a/lapack/testlapack/dgebal.go b/lapack/testlapack/dgebal.go index fbf5e94f..eecd6914 100644 --- a/lapack/testlapack/dgebal.go +++ b/lapack/testlapack/dgebal.go @@ -9,9 +9,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) type Dgebaler interface { diff --git a/lapack/testlapack/dgebrd.go b/lapack/testlapack/dgebrd.go index 9042659e..0bbba460 100644 --- a/lapack/testlapack/dgebrd.go +++ b/lapack/testlapack/dgebrd.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dgebrder interface { diff --git a/lapack/testlapack/dgecon.go b/lapack/testlapack/dgecon.go index e140a106..bbb76284 100644 --- a/lapack/testlapack/dgecon.go +++ b/lapack/testlapack/dgecon.go @@ -8,8 +8,8 @@ import ( "log" "testing" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dgeconer interface { diff --git a/lapack/testlapack/dgeev.go b/lapack/testlapack/dgeev.go index 05763821..9b3d8fc1 100644 --- a/lapack/testlapack/dgeev.go +++ b/lapack/testlapack/dgeev.go @@ -12,10 +12,10 @@ import ( "strconv" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dgeever interface { diff --git a/lapack/testlapack/dgeev_bench.go b/lapack/testlapack/dgeev_bench.go index c7ebaf98..177807de 100644 --- a/lapack/testlapack/dgeev_bench.go +++ b/lapack/testlapack/dgeev_bench.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) var resultGeneral blas64.General diff --git a/lapack/testlapack/dgehd2.go b/lapack/testlapack/dgehd2.go index 490856b8..5b7e8309 100644 --- a/lapack/testlapack/dgehd2.go +++ b/lapack/testlapack/dgehd2.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dgehd2er interface { diff --git a/lapack/testlapack/dgehrd.go b/lapack/testlapack/dgehrd.go index 535b6b25..012b8707 100644 --- a/lapack/testlapack/dgehrd.go +++ b/lapack/testlapack/dgehrd.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dgehrder interface { diff --git a/lapack/testlapack/dgelq2.go b/lapack/testlapack/dgelq2.go index c4dd224d..20f95717 100644 --- a/lapack/testlapack/dgelq2.go +++ b/lapack/testlapack/dgelq2.go @@ -9,9 +9,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dgelq2er interface { diff --git a/lapack/testlapack/dgelqf.go b/lapack/testlapack/dgelqf.go index ec396126..5bbe7312 100644 --- a/lapack/testlapack/dgelqf.go +++ b/lapack/testlapack/dgelqf.go @@ -8,7 +8,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dgelqfer interface { diff --git a/lapack/testlapack/dgels.go b/lapack/testlapack/dgels.go index 2acdcd7f..9b49a54c 100644 --- a/lapack/testlapack/dgels.go +++ b/lapack/testlapack/dgels.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dgelser interface { diff --git a/lapack/testlapack/dgeql2.go b/lapack/testlapack/dgeql2.go index 86739680..0ff6a930 100644 --- a/lapack/testlapack/dgeql2.go +++ b/lapack/testlapack/dgeql2.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dgeql2er interface { diff --git a/lapack/testlapack/dgeqp3.go b/lapack/testlapack/dgeqp3.go index 6ccdfec5..54e30bf5 100644 --- a/lapack/testlapack/dgeqp3.go +++ b/lapack/testlapack/dgeqp3.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dgeqp3er interface { diff --git a/lapack/testlapack/dgeqr2.go b/lapack/testlapack/dgeqr2.go index ff597c03..f9ebf694 100644 --- a/lapack/testlapack/dgeqr2.go +++ b/lapack/testlapack/dgeqr2.go @@ -9,9 +9,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dgeqr2er interface { diff --git a/lapack/testlapack/dgeqrf.go b/lapack/testlapack/dgeqrf.go index 3b1aa3bf..60386c08 100644 --- a/lapack/testlapack/dgeqrf.go +++ b/lapack/testlapack/dgeqrf.go @@ -8,7 +8,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dgeqrfer interface { diff --git a/lapack/testlapack/dgerq2.go b/lapack/testlapack/dgerq2.go index f3cdeca4..ec0dde2a 100644 --- a/lapack/testlapack/dgerq2.go +++ b/lapack/testlapack/dgerq2.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dgerq2er interface { diff --git a/lapack/testlapack/dgerqf.go b/lapack/testlapack/dgerqf.go index 3ffab087..3aa585d5 100644 --- a/lapack/testlapack/dgerqf.go +++ b/lapack/testlapack/dgerqf.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dgerqfer interface { diff --git a/lapack/testlapack/dgesvd.go b/lapack/testlapack/dgesvd.go index 3f1aa872..8c317993 100644 --- a/lapack/testlapack/dgesvd.go +++ b/lapack/testlapack/dgesvd.go @@ -9,10 +9,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dgesvder interface { diff --git a/lapack/testlapack/dgetf2.go b/lapack/testlapack/dgetf2.go index 01b21e5d..7cb155e9 100644 --- a/lapack/testlapack/dgetf2.go +++ b/lapack/testlapack/dgetf2.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dgetf2er interface { diff --git a/lapack/testlapack/dgetri.go b/lapack/testlapack/dgetri.go index fd2e66a4..fd79df2a 100644 --- a/lapack/testlapack/dgetri.go +++ b/lapack/testlapack/dgetri.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dgetrier interface { diff --git a/lapack/testlapack/dgetrs.go b/lapack/testlapack/dgetrs.go index a04229c8..edc6d502 100644 --- a/lapack/testlapack/dgetrs.go +++ b/lapack/testlapack/dgetrs.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dgetrser interface { diff --git a/lapack/testlapack/dggsvd3.go b/lapack/testlapack/dggsvd3.go index 8401d7c8..0a4af656 100644 --- a/lapack/testlapack/dggsvd3.go +++ b/lapack/testlapack/dggsvd3.go @@ -8,10 +8,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dggsvd3er interface { diff --git a/lapack/testlapack/dggsvp3.go b/lapack/testlapack/dggsvp3.go index 48c1ae21..23111518 100644 --- a/lapack/testlapack/dggsvp3.go +++ b/lapack/testlapack/dggsvp3.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) type Dggsvp3er interface { diff --git a/lapack/testlapack/dhseqr.go b/lapack/testlapack/dhseqr.go index f263d634..a12102b4 100644 --- a/lapack/testlapack/dhseqr.go +++ b/lapack/testlapack/dhseqr.go @@ -9,10 +9,10 @@ import ( "math" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dhseqrer interface { diff --git a/lapack/testlapack/dlacn2.go b/lapack/testlapack/dlacn2.go index 1fe99906..9e76c0b7 100644 --- a/lapack/testlapack/dlacn2.go +++ b/lapack/testlapack/dlacn2.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlacn2er interface { diff --git a/lapack/testlapack/dlacpy.go b/lapack/testlapack/dlacpy.go index badab1a5..aa3e5e0f 100644 --- a/lapack/testlapack/dlacpy.go +++ b/lapack/testlapack/dlacpy.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dlacpyer interface { diff --git a/lapack/testlapack/dlaexc.go b/lapack/testlapack/dlaexc.go index c0e7bb45..23ac3303 100644 --- a/lapack/testlapack/dlaexc.go +++ b/lapack/testlapack/dlaexc.go @@ -11,8 +11,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlaexcer interface { diff --git a/lapack/testlapack/dlags2.go b/lapack/testlapack/dlags2.go index 77355956..2a3da46d 100644 --- a/lapack/testlapack/dlags2.go +++ b/lapack/testlapack/dlags2.go @@ -9,9 +9,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dlags2er interface { diff --git a/lapack/testlapack/dlahqr.go b/lapack/testlapack/dlahqr.go index 6b0c8fc2..c68680a7 100644 --- a/lapack/testlapack/dlahqr.go +++ b/lapack/testlapack/dlahqr.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlahqrer interface { diff --git a/lapack/testlapack/dlahr2.go b/lapack/testlapack/dlahr2.go index ccd9c71c..28aee344 100644 --- a/lapack/testlapack/dlahr2.go +++ b/lapack/testlapack/dlahr2.go @@ -15,9 +15,9 @@ import ( "path/filepath" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dlahr2er interface { diff --git a/lapack/testlapack/dlange.go b/lapack/testlapack/dlange.go index 6c7e45ba..33f7efe1 100644 --- a/lapack/testlapack/dlange.go +++ b/lapack/testlapack/dlange.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) type Dlanger interface { diff --git a/lapack/testlapack/dlanst.go b/lapack/testlapack/dlanst.go index 18e29e88..224f1d07 100644 --- a/lapack/testlapack/dlanst.go +++ b/lapack/testlapack/dlanst.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) type Dlanster interface { diff --git a/lapack/testlapack/dlansy.go b/lapack/testlapack/dlansy.go index 611929d4..b38f6bb0 100644 --- a/lapack/testlapack/dlansy.go +++ b/lapack/testlapack/dlansy.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) type Dlansyer interface { diff --git a/lapack/testlapack/dlantr.go b/lapack/testlapack/dlantr.go index 212ae6a1..74f3c656 100644 --- a/lapack/testlapack/dlantr.go +++ b/lapack/testlapack/dlantr.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/lapack" ) type Dlantrer interface { diff --git a/lapack/testlapack/dlapll.go b/lapack/testlapack/dlapll.go index 4eb30ce2..1c35f039 100644 --- a/lapack/testlapack/dlapll.go +++ b/lapack/testlapack/dlapll.go @@ -8,8 +8,8 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dlapller interface { diff --git a/lapack/testlapack/dlapmt.go b/lapack/testlapack/dlapmt.go index 2965fb51..b2fd1f8d 100644 --- a/lapack/testlapack/dlapmt.go +++ b/lapack/testlapack/dlapmt.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) type Dlapmter interface { diff --git a/lapack/testlapack/dlapy2.go b/lapack/testlapack/dlapy2.go index 5e2cda5f..6efb81d9 100644 --- a/lapack/testlapack/dlapy2.go +++ b/lapack/testlapack/dlapy2.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dlapy2er interface { diff --git a/lapack/testlapack/dlaqp2.go b/lapack/testlapack/dlaqp2.go index a15b9d89..5ccfe996 100644 --- a/lapack/testlapack/dlaqp2.go +++ b/lapack/testlapack/dlaqp2.go @@ -9,8 +9,8 @@ import ( "math" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlaqp2er interface { diff --git a/lapack/testlapack/dlaqps.go b/lapack/testlapack/dlaqps.go index ed89a96d..edf19378 100644 --- a/lapack/testlapack/dlaqps.go +++ b/lapack/testlapack/dlaqps.go @@ -9,8 +9,8 @@ import ( "math" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlaqpser interface { diff --git a/lapack/testlapack/dlaqr04.go b/lapack/testlapack/dlaqr04.go index 6c3304ee..c92104e7 100644 --- a/lapack/testlapack/dlaqr04.go +++ b/lapack/testlapack/dlaqr04.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlaqr04er interface { diff --git a/lapack/testlapack/dlaqr1.go b/lapack/testlapack/dlaqr1.go index 63eaa4c0..9276bfd5 100644 --- a/lapack/testlapack/dlaqr1.go +++ b/lapack/testlapack/dlaqr1.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dlaqr1er interface { diff --git a/lapack/testlapack/dlaqr23.go b/lapack/testlapack/dlaqr23.go index 26bdb97e..236b3519 100644 --- a/lapack/testlapack/dlaqr23.go +++ b/lapack/testlapack/dlaqr23.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlaqr23er interface { diff --git a/lapack/testlapack/dlaqr5.go b/lapack/testlapack/dlaqr5.go index 5673b268..a93181dc 100644 --- a/lapack/testlapack/dlaqr5.go +++ b/lapack/testlapack/dlaqr5.go @@ -15,8 +15,8 @@ import ( "path/filepath" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlaqr5er interface { diff --git a/lapack/testlapack/dlarf.go b/lapack/testlapack/dlarf.go index 9317f62d..82b2756a 100644 --- a/lapack/testlapack/dlarf.go +++ b/lapack/testlapack/dlarf.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dlarfer interface { diff --git a/lapack/testlapack/dlarfb.go b/lapack/testlapack/dlarfb.go index 17b60c10..89e65e64 100644 --- a/lapack/testlapack/dlarfb.go +++ b/lapack/testlapack/dlarfb.go @@ -8,10 +8,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dlarfber interface { diff --git a/lapack/testlapack/dlarfg.go b/lapack/testlapack/dlarfg.go index 2cc12c3f..aa463235 100644 --- a/lapack/testlapack/dlarfg.go +++ b/lapack/testlapack/dlarfg.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlarfger interface { diff --git a/lapack/testlapack/dlarft.go b/lapack/testlapack/dlarft.go index 54853f28..e63abb9e 100644 --- a/lapack/testlapack/dlarft.go +++ b/lapack/testlapack/dlarft.go @@ -8,10 +8,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dlarfter interface { diff --git a/lapack/testlapack/dlarfx.go b/lapack/testlapack/dlarfx.go index c6a9e6d6..a73e4f44 100644 --- a/lapack/testlapack/dlarfx.go +++ b/lapack/testlapack/dlarfx.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlarfxer interface { diff --git a/lapack/testlapack/dlartg.go b/lapack/testlapack/dlartg.go index b3ca9ca9..c7cade84 100644 --- a/lapack/testlapack/dlartg.go +++ b/lapack/testlapack/dlartg.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dlartger interface { diff --git a/lapack/testlapack/dlascl.go b/lapack/testlapack/dlascl.go index eaaf6273..db792a4d 100644 --- a/lapack/testlapack/dlascl.go +++ b/lapack/testlapack/dlascl.go @@ -10,7 +10,7 @@ import ( "math/rand" "testing" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) type Dlascler interface { diff --git a/lapack/testlapack/dlaset.go b/lapack/testlapack/dlaset.go index 32195223..2b70b7af 100644 --- a/lapack/testlapack/dlaset.go +++ b/lapack/testlapack/dlaset.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" ) type Dlaseter interface { diff --git a/lapack/testlapack/dlasq1.go b/lapack/testlapack/dlasq1.go index 1d08fa4f..cebc2004 100644 --- a/lapack/testlapack/dlasq1.go +++ b/lapack/testlapack/dlasq1.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) func printDlasq1FortranInput(d, e, work []float64, n int) { diff --git a/lapack/testlapack/dlasq2.go b/lapack/testlapack/dlasq2.go index 8e5b87b6..99696b19 100644 --- a/lapack/testlapack/dlasq2.go +++ b/lapack/testlapack/dlasq2.go @@ -10,7 +10,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func printDlasq2FortranInput(z []float64, n int) { diff --git a/lapack/testlapack/dlasq3.go b/lapack/testlapack/dlasq3.go index ff99624f..95395beb 100644 --- a/lapack/testlapack/dlasq3.go +++ b/lapack/testlapack/dlasq3.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dlasq3er interface { diff --git a/lapack/testlapack/dlasq4.go b/lapack/testlapack/dlasq4.go index 099ea322..b061defe 100644 --- a/lapack/testlapack/dlasq4.go +++ b/lapack/testlapack/dlasq4.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type dlasq4teststruct struct { diff --git a/lapack/testlapack/dlasq5.go b/lapack/testlapack/dlasq5.go index 740210f9..235b9b9e 100644 --- a/lapack/testlapack/dlasq5.go +++ b/lapack/testlapack/dlasq5.go @@ -7,7 +7,7 @@ package testlapack import ( "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dlasq5er interface { diff --git a/lapack/testlapack/dlasr.go b/lapack/testlapack/dlasr.go index 146c628e..87a26059 100644 --- a/lapack/testlapack/dlasr.go +++ b/lapack/testlapack/dlasr.go @@ -9,10 +9,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dlasrer interface { diff --git a/lapack/testlapack/dlasrt.go b/lapack/testlapack/dlasrt.go index 427db939..80b1404b 100644 --- a/lapack/testlapack/dlasrt.go +++ b/lapack/testlapack/dlasrt.go @@ -7,8 +7,8 @@ package testlapack import ( "testing" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dlasrter interface { diff --git a/lapack/testlapack/dlasv2.go b/lapack/testlapack/dlasv2.go index a73476c1..85184e62 100644 --- a/lapack/testlapack/dlasv2.go +++ b/lapack/testlapack/dlasv2.go @@ -8,7 +8,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dlasv2er interface { diff --git a/lapack/testlapack/dlaswp.go b/lapack/testlapack/dlaswp.go index 6e5bba07..9d8e08d7 100644 --- a/lapack/testlapack/dlaswp.go +++ b/lapack/testlapack/dlaswp.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) type Dlaswper interface { diff --git a/lapack/testlapack/dlasy2.go b/lapack/testlapack/dlasy2.go index 44ea65cb..7ed5ed8c 100644 --- a/lapack/testlapack/dlasy2.go +++ b/lapack/testlapack/dlasy2.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlasy2er interface { diff --git a/lapack/testlapack/dlatrd.go b/lapack/testlapack/dlatrd.go index e0202176..f4d3cddc 100644 --- a/lapack/testlapack/dlatrd.go +++ b/lapack/testlapack/dlatrd.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlatrder interface { diff --git a/lapack/testlapack/dlatrs.go b/lapack/testlapack/dlatrs.go index 062d2ff8..b6800895 100644 --- a/lapack/testlapack/dlatrs.go +++ b/lapack/testlapack/dlatrs.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dlatrser interface { diff --git a/lapack/testlapack/dorg2l.go b/lapack/testlapack/dorg2l.go index 885ef5b8..e1f2f155 100644 --- a/lapack/testlapack/dorg2l.go +++ b/lapack/testlapack/dorg2l.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) type Dorg2ler interface { diff --git a/lapack/testlapack/dorg2r.go b/lapack/testlapack/dorg2r.go index 5cd95124..beeca34d 100644 --- a/lapack/testlapack/dorg2r.go +++ b/lapack/testlapack/dorg2r.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dorg2rer interface { diff --git a/lapack/testlapack/dorgbr.go b/lapack/testlapack/dorgbr.go index 6c400e69..3f43fb94 100644 --- a/lapack/testlapack/dorgbr.go +++ b/lapack/testlapack/dorgbr.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dorgbrer interface { diff --git a/lapack/testlapack/dorghr.go b/lapack/testlapack/dorghr.go index e72bd47e..7311d015 100644 --- a/lapack/testlapack/dorghr.go +++ b/lapack/testlapack/dorghr.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dorghrer interface { diff --git a/lapack/testlapack/dorgl2.go b/lapack/testlapack/dorgl2.go index e0e6c5c7..5ae3fcb1 100644 --- a/lapack/testlapack/dorgl2.go +++ b/lapack/testlapack/dorgl2.go @@ -8,7 +8,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dorgl2er interface { diff --git a/lapack/testlapack/dorglq.go b/lapack/testlapack/dorglq.go index da2cdb7d..3d8bb105 100644 --- a/lapack/testlapack/dorglq.go +++ b/lapack/testlapack/dorglq.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dorglqer interface { diff --git a/lapack/testlapack/dorgql.go b/lapack/testlapack/dorgql.go index 37d7a753..4cf9b22a 100644 --- a/lapack/testlapack/dorgql.go +++ b/lapack/testlapack/dorgql.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dorgqler interface { diff --git a/lapack/testlapack/dorgqr.go b/lapack/testlapack/dorgqr.go index 2f647815..57306c05 100644 --- a/lapack/testlapack/dorgqr.go +++ b/lapack/testlapack/dorgqr.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dorgqrer interface { diff --git a/lapack/testlapack/dorgtr.go b/lapack/testlapack/dorgtr.go index b0e02f17..4f49d1a4 100644 --- a/lapack/testlapack/dorgtr.go +++ b/lapack/testlapack/dorgtr.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dorgtrer interface { diff --git a/lapack/testlapack/dorm2r.go b/lapack/testlapack/dorm2r.go index d2598c74..5e23415d 100644 --- a/lapack/testlapack/dorm2r.go +++ b/lapack/testlapack/dorm2r.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dorm2rer interface { diff --git a/lapack/testlapack/dormbr.go b/lapack/testlapack/dormbr.go index 53579793..0a44faf5 100644 --- a/lapack/testlapack/dormbr.go +++ b/lapack/testlapack/dormbr.go @@ -8,10 +8,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dormbrer interface { diff --git a/lapack/testlapack/dormhr.go b/lapack/testlapack/dormhr.go index 462971a4..7b908aa1 100644 --- a/lapack/testlapack/dormhr.go +++ b/lapack/testlapack/dormhr.go @@ -10,8 +10,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dormhrer interface { diff --git a/lapack/testlapack/dorml2.go b/lapack/testlapack/dorml2.go index cb3115bd..909c56e4 100644 --- a/lapack/testlapack/dorml2.go +++ b/lapack/testlapack/dorml2.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dorml2er interface { diff --git a/lapack/testlapack/dormlq.go b/lapack/testlapack/dormlq.go index a173443c..19302e21 100644 --- a/lapack/testlapack/dormlq.go +++ b/lapack/testlapack/dormlq.go @@ -8,8 +8,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dormlqer interface { diff --git a/lapack/testlapack/dormqr.go b/lapack/testlapack/dormqr.go index c2161096..cfacd81b 100644 --- a/lapack/testlapack/dormqr.go +++ b/lapack/testlapack/dormqr.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dormqrer interface { diff --git a/lapack/testlapack/dormr2.go b/lapack/testlapack/dormr2.go index 6c199be5..94a13488 100644 --- a/lapack/testlapack/dormr2.go +++ b/lapack/testlapack/dormr2.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dormr2er interface { diff --git a/lapack/testlapack/dpocon.go b/lapack/testlapack/dpocon.go index b300ea29..87b6cca0 100644 --- a/lapack/testlapack/dpocon.go +++ b/lapack/testlapack/dpocon.go @@ -9,10 +9,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dpoconer interface { diff --git a/lapack/testlapack/dpotf2.go b/lapack/testlapack/dpotf2.go index 76779472..2a9f850e 100644 --- a/lapack/testlapack/dpotf2.go +++ b/lapack/testlapack/dpotf2.go @@ -7,8 +7,8 @@ package testlapack import ( "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" ) type Dpotf2er interface { diff --git a/lapack/testlapack/dpotrf.go b/lapack/testlapack/dpotrf.go index 7494c623..d4318228 100644 --- a/lapack/testlapack/dpotrf.go +++ b/lapack/testlapack/dpotrf.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dpotrfer interface { diff --git a/lapack/testlapack/drscl.go b/lapack/testlapack/drscl.go index a398f2ce..df87db40 100644 --- a/lapack/testlapack/drscl.go +++ b/lapack/testlapack/drscl.go @@ -8,7 +8,7 @@ import ( "math" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Drscler interface { diff --git a/lapack/testlapack/dsteqr.go b/lapack/testlapack/dsteqr.go index 3325248b..1fffdb1e 100644 --- a/lapack/testlapack/dsteqr.go +++ b/lapack/testlapack/dsteqr.go @@ -8,10 +8,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dsteqrer interface { diff --git a/lapack/testlapack/dsterf.go b/lapack/testlapack/dsterf.go index 9b26c83b..66b4a9e1 100644 --- a/lapack/testlapack/dsterf.go +++ b/lapack/testlapack/dsterf.go @@ -10,7 +10,7 @@ import ( "sort" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type Dsterfer interface { diff --git a/lapack/testlapack/dsyev.go b/lapack/testlapack/dsyev.go index 104451b5..e70088c9 100644 --- a/lapack/testlapack/dsyev.go +++ b/lapack/testlapack/dsyev.go @@ -8,10 +8,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dsyever interface { diff --git a/lapack/testlapack/dsytd2.go b/lapack/testlapack/dsytd2.go index be1ca12d..af71cf1f 100644 --- a/lapack/testlapack/dsytd2.go +++ b/lapack/testlapack/dsytd2.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dsytd2er interface { diff --git a/lapack/testlapack/dsytrd.go b/lapack/testlapack/dsytrd.go index 1bd70188..74e2beba 100644 --- a/lapack/testlapack/dsytrd.go +++ b/lapack/testlapack/dsytrd.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dsytrder interface { diff --git a/lapack/testlapack/dtgsja.go b/lapack/testlapack/dtgsja.go index b9466220..af4cec80 100644 --- a/lapack/testlapack/dtgsja.go +++ b/lapack/testlapack/dtgsja.go @@ -8,10 +8,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dtgsjaer interface { diff --git a/lapack/testlapack/dtrcon.go b/lapack/testlapack/dtrcon.go index b2cbb3d8..1e490ca9 100644 --- a/lapack/testlapack/dtrcon.go +++ b/lapack/testlapack/dtrcon.go @@ -9,9 +9,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dtrconer interface { diff --git a/lapack/testlapack/dtrevc3.go b/lapack/testlapack/dtrevc3.go index e1af37fb..60c51241 100644 --- a/lapack/testlapack/dtrevc3.go +++ b/lapack/testlapack/dtrevc3.go @@ -10,9 +10,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) type Dtrevc3er interface { diff --git a/lapack/testlapack/dtrexc.go b/lapack/testlapack/dtrexc.go index ad224712..855805fb 100644 --- a/lapack/testlapack/dtrexc.go +++ b/lapack/testlapack/dtrexc.go @@ -10,9 +10,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" ) type Dtrexcer interface { diff --git a/lapack/testlapack/dtrti2.go b/lapack/testlapack/dtrti2.go index 267d5e4f..acb8b5e9 100644 --- a/lapack/testlapack/dtrti2.go +++ b/lapack/testlapack/dtrti2.go @@ -9,9 +9,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" ) type Dtrti2er interface { diff --git a/lapack/testlapack/dtrtri.go b/lapack/testlapack/dtrtri.go index cd47bd0f..1224b7b7 100644 --- a/lapack/testlapack/dtrtri.go +++ b/lapack/testlapack/dtrtri.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) type Dtrtrier interface { diff --git a/lapack/testlapack/general.go b/lapack/testlapack/general.go index e9bf80b5..4404a336 100644 --- a/lapack/testlapack/general.go +++ b/lapack/testlapack/general.go @@ -11,10 +11,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" ) const ( diff --git a/lapack/testlapack/matgen.go b/lapack/testlapack/matgen.go index 9977c431..b47d9270 100644 --- a/lapack/testlapack/matgen.go +++ b/lapack/testlapack/matgen.go @@ -8,8 +8,8 @@ import ( "math" "math/rand" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) // Dlatm1 computes the entries of dst as specified by mode, cond and rsign. diff --git a/lapack/testlapack/matgen_test.go b/lapack/testlapack/matgen_test.go index 663b9803..1bb86d3c 100644 --- a/lapack/testlapack/matgen_test.go +++ b/lapack/testlapack/matgen_test.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) func TestDlagsy(t *testing.T) { diff --git a/lapack/testlapack/test_matrices.go b/lapack/testlapack/test_matrices.go index d3b3d3d0..6be490b2 100644 --- a/lapack/testlapack/test_matrices.go +++ b/lapack/testlapack/test_matrices.go @@ -8,7 +8,7 @@ import ( "math" "math/rand" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) // A123 is the non-symmetric singular matrix diff --git a/mathext/airy.go b/mathext/airy.go index 0ee2d19c..1022e938 100644 --- a/mathext/airy.go +++ b/mathext/airy.go @@ -4,7 +4,7 @@ package mathext -import "github.com/gonum/mathext/internal/amos" +import "gonum.org/v1/gonum/mathext/internal/amos" // AiryAi returns the value of the Airy function at z. The Airy function here, // Ai(z), is one of the two linearly independent solutions to diff --git a/mathext/beta.go b/mathext/beta.go index 9580dbef..03f53f09 100644 --- a/mathext/beta.go +++ b/mathext/beta.go @@ -4,7 +4,7 @@ package mathext -import "github.com/gonum/mathext/internal/gonum" +import "gonum.org/v1/gonum/mathext/internal/gonum" // Beta returns the value of the complete beta function B(a, b). It is defined as // Γ(a)Γ(b) / Γ(a+b) diff --git a/mathext/beta_test.go b/mathext/beta_test.go index 05f8bfd6..7e0cd4c8 100644 --- a/mathext/beta_test.go +++ b/mathext/beta_test.go @@ -8,8 +8,8 @@ import ( "math" "testing" - "github.com/gonum/floats" - "github.com/gonum/mathext" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/mathext" ) var betaTests = []struct { diff --git a/mathext/betainc.go b/mathext/betainc.go index 2801aaef..77791ce9 100644 --- a/mathext/betainc.go +++ b/mathext/betainc.go @@ -4,7 +4,7 @@ package mathext -import "github.com/gonum/mathext/internal/cephes" +import "gonum.org/v1/gonum/mathext/internal/cephes" // RegIncBeta returns the value of the regularized incomplete beta function // I(x;a,b). It is defined as diff --git a/mathext/betainc_test.go b/mathext/betainc_test.go index 3646ee42..f1e0c950 100644 --- a/mathext/betainc_test.go +++ b/mathext/betainc_test.go @@ -7,7 +7,7 @@ package mathext import ( "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestIncBeta(t *testing.T) { diff --git a/mathext/erf_test.go b/mathext/erf_test.go index e20ce4ce..f698e51e 100644 --- a/mathext/erf_test.go +++ b/mathext/erf_test.go @@ -7,7 +7,7 @@ package mathext import ( "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestNormalQuantile(t *testing.T) { diff --git a/mathext/gamma_inc.go b/mathext/gamma_inc.go index 2dd625cb..db16dad9 100644 --- a/mathext/gamma_inc.go +++ b/mathext/gamma_inc.go @@ -5,7 +5,7 @@ package mathext import ( - "github.com/gonum/mathext/internal/cephes" + "gonum.org/v1/gonum/mathext/internal/cephes" ) // GammaInc computes the incomplete Gamma integral. diff --git a/mathext/gamma_inc_inv.go b/mathext/gamma_inc_inv.go index d7f146df..c17fce34 100644 --- a/mathext/gamma_inc_inv.go +++ b/mathext/gamma_inc_inv.go @@ -10,7 +10,7 @@ package mathext import ( "math" - "github.com/gonum/mathext/internal/cephes" + "gonum.org/v1/gonum/mathext/internal/cephes" ) const ( diff --git a/mathext/internal/amos/amos_test.go b/mathext/internal/amos/amos_test.go index d3c48931..59cdfa4f 100644 --- a/mathext/internal/amos/amos_test.go +++ b/mathext/internal/amos/amos_test.go @@ -10,7 +10,7 @@ import ( "strconv" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) type input struct { diff --git a/mathext/internal/cephes/incbeta.go b/mathext/internal/cephes/incbeta.go index 87cc3759..cbe46c47 100644 --- a/mathext/internal/cephes/incbeta.go +++ b/mathext/internal/cephes/incbeta.go @@ -12,7 +12,7 @@ package cephes import ( "math" - "github.com/gonum/mathext/internal/gonum" + "gonum.org/v1/gonum/mathext/internal/gonum" ) const ( diff --git a/mathext/zeta.go b/mathext/zeta.go index e1f2d2dc..920a7e6e 100644 --- a/mathext/zeta.go +++ b/mathext/zeta.go @@ -4,7 +4,7 @@ package mathext -import "github.com/gonum/mathext/internal/cephes" +import "gonum.org/v1/gonum/mathext/internal/cephes" // Zeta computes the Riemann zeta function of two arguments. // Zeta(x,q) = \sum_{k=0}^{\infty} (k+q)^{-x} diff --git a/matrix/conv/conv.go b/matrix/conv/conv.go index f3c85bf2..4b691123 100644 --- a/matrix/conv/conv.go +++ b/matrix/conv/conv.go @@ -6,9 +6,9 @@ package conv import ( - "github.com/gonum/matrix" - "github.com/gonum/matrix/cmat128" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix" + "gonum.org/v1/gonum/matrix/cmat128" + "gonum.org/v1/gonum/matrix/mat64" ) // Complex is a complex matrix constructed from two real matrices. diff --git a/matrix/errors.go b/matrix/errors.go index 74d0ea90..ea0f92c9 100644 --- a/matrix/errors.go +++ b/matrix/errors.go @@ -8,7 +8,7 @@ import ( "fmt" "runtime" - "github.com/gonum/lapack" + "gonum.org/v1/gonum/lapack" ) // Condition is the condition number of a matrix. The condition diff --git a/matrix/mat64/cblas_test.go b/matrix/mat64/cblas_test.go index fd4ad03d..aa4a596d 100644 --- a/matrix/mat64/cblas_test.go +++ b/matrix/mat64/cblas_test.go @@ -7,8 +7,8 @@ package mat64 import ( - "github.com/gonum/blas/blas64" - "github.com/gonum/blas/cgo" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/cgo" ) func init() { diff --git a/matrix/mat64/cholesky.go b/matrix/mat64/cholesky.go index 0069d1b8..4175a51b 100644 --- a/matrix/mat64/cholesky.go +++ b/matrix/mat64/cholesky.go @@ -8,10 +8,10 @@ package mat64 import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) const ( diff --git a/matrix/mat64/cholesky_example_test.go b/matrix/mat64/cholesky_example_test.go index 14484ea8..4249474b 100644 --- a/matrix/mat64/cholesky_example_test.go +++ b/matrix/mat64/cholesky_example_test.go @@ -7,7 +7,7 @@ package mat64_test import ( "fmt" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix/mat64" ) func ExampleCholesky() { diff --git a/matrix/mat64/cholesky_test.go b/matrix/mat64/cholesky_test.go index 9ef5332b..2d64e95b 100644 --- a/matrix/mat64/cholesky_test.go +++ b/matrix/mat64/cholesky_test.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/blas/testblas" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas/testblas" + "gonum.org/v1/gonum/matrix" ) func TestCholesky(t *testing.T) { diff --git a/matrix/mat64/dense.go b/matrix/mat64/dense.go index c1bea062..b48d6a3b 100644 --- a/matrix/mat64/dense.go +++ b/matrix/mat64/dense.go @@ -5,9 +5,9 @@ package mat64 import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/matrix" ) var ( diff --git a/matrix/mat64/dense_arithmetic.go b/matrix/mat64/dense_arithmetic.go index 0fc1d85d..8b94bbb9 100644 --- a/matrix/mat64/dense_arithmetic.go +++ b/matrix/mat64/dense_arithmetic.go @@ -7,10 +7,10 @@ package mat64 import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) // Add adds a and b element-wise, placing the result in the receiver. Add diff --git a/matrix/mat64/dense_test.go b/matrix/mat64/dense_test.go index df1dc4fc..3fc9a382 100644 --- a/matrix/mat64/dense_test.go +++ b/matrix/mat64/dense_test.go @@ -11,9 +11,9 @@ import ( "reflect" "testing" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix" ) func asBasicMatrix(d *Dense) Matrix { return (*basicMatrix)(d) } diff --git a/matrix/mat64/eigen.go b/matrix/mat64/eigen.go index a2aa48a8..d256f570 100644 --- a/matrix/mat64/eigen.go +++ b/matrix/mat64/eigen.go @@ -6,9 +6,9 @@ package mat64 import ( - "github.com/gonum/lapack" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/lapack" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) const ( diff --git a/matrix/mat64/eigen_test.go b/matrix/mat64/eigen_test.go index 9e53593b..83a3acdc 100644 --- a/matrix/mat64/eigen_test.go +++ b/matrix/mat64/eigen_test.go @@ -8,7 +8,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestEigen(t *testing.T) { diff --git a/matrix/mat64/fao_data_test.go b/matrix/mat64/fao_data_test.go index f66be026..1b01387f 100644 --- a/matrix/mat64/fao_data_test.go +++ b/matrix/mat64/fao_data_test.go @@ -4,7 +4,7 @@ package mat64_test -import "github.com/gonum/matrix/mat64" +import "gonum.org/v1/gonum/matrix/mat64" // FAO is a dataset extracted from Food and Agriculture Organization of the // United Nations "FAO Statistical Pocketbook: World Food and Agriculture 2015". diff --git a/matrix/mat64/format_example_test.go b/matrix/mat64/format_example_test.go index 7958bd5c..dc31cbcd 100644 --- a/matrix/mat64/format_example_test.go +++ b/matrix/mat64/format_example_test.go @@ -7,7 +7,7 @@ package mat64_test import ( "fmt" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix/mat64" ) func ExampleFormatted() { diff --git a/matrix/mat64/gsvd.go b/matrix/mat64/gsvd.go index dcffb8f6..7eb98da3 100644 --- a/matrix/mat64/gsvd.go +++ b/matrix/mat64/gsvd.go @@ -6,11 +6,11 @@ package mat64 import ( - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) // GSVD is a type for creating and using the Generalized Singular Value Decomposition diff --git a/matrix/mat64/gsvd_example_test.go b/matrix/mat64/gsvd_example_test.go index 825cf6c4..d85a820e 100644 --- a/matrix/mat64/gsvd_example_test.go +++ b/matrix/mat64/gsvd_example_test.go @@ -9,8 +9,8 @@ import ( "log" "math" - "github.com/gonum/matrix" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix" + "gonum.org/v1/gonum/matrix/mat64" ) func ExampleGSVD() { diff --git a/matrix/mat64/gsvd_test.go b/matrix/mat64/gsvd_test.go index 68661fc9..bb5532c1 100644 --- a/matrix/mat64/gsvd_test.go +++ b/matrix/mat64/gsvd_test.go @@ -8,8 +8,8 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix" ) func TestGSVD(t *testing.T) { diff --git a/matrix/mat64/hogsvd.go b/matrix/mat64/hogsvd.go index 43e71afa..641d8bdd 100644 --- a/matrix/mat64/hogsvd.go +++ b/matrix/mat64/hogsvd.go @@ -8,8 +8,8 @@ package mat64 import ( "errors" - "github.com/gonum/blas/blas64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/matrix" ) // HOGSVD is a type for creating and using the Higher Order Generalized Singular Value diff --git a/matrix/mat64/hogsvd_example_test.go b/matrix/mat64/hogsvd_example_test.go index 2db316e4..e785a2ea 100644 --- a/matrix/mat64/hogsvd_example_test.go +++ b/matrix/mat64/hogsvd_example_test.go @@ -8,7 +8,7 @@ import ( "fmt" "log" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix/mat64" ) func ExampleHOGSVD() { diff --git a/matrix/mat64/index_bound_checks.go b/matrix/mat64/index_bound_checks.go index 344df5e8..33726c9d 100644 --- a/matrix/mat64/index_bound_checks.go +++ b/matrix/mat64/index_bound_checks.go @@ -8,7 +8,7 @@ package mat64 -import "github.com/gonum/matrix" +import "gonum.org/v1/gonum/matrix" // At returns the element at row i, column j. func (m *Dense) At(i, j int) float64 { diff --git a/matrix/mat64/index_no_bound_checks.go b/matrix/mat64/index_no_bound_checks.go index 1bb4c1ea..5e346fbf 100644 --- a/matrix/mat64/index_no_bound_checks.go +++ b/matrix/mat64/index_no_bound_checks.go @@ -8,7 +8,7 @@ package mat64 -import "github.com/gonum/matrix" +import "gonum.org/v1/gonum/matrix" // At returns the element at row i, column j. func (m *Dense) At(i, j int) float64 { diff --git a/matrix/mat64/inner.go b/matrix/mat64/inner.go index a003a1f4..085ce6a5 100644 --- a/matrix/mat64/inner.go +++ b/matrix/mat64/inner.go @@ -5,9 +5,9 @@ package mat64 import ( - "github.com/gonum/blas" - "github.com/gonum/internal/asm/f64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/internal/asm/f64" + "gonum.org/v1/gonum/matrix" ) // Inner computes the generalized inner product diff --git a/matrix/mat64/inner_test.go b/matrix/mat64/inner_test.go index 93705c6a..19a2ebc9 100644 --- a/matrix/mat64/inner_test.go +++ b/matrix/mat64/inner_test.go @@ -8,8 +8,8 @@ import ( "math" "testing" - "github.com/gonum/blas/blas64" - "github.com/gonum/blas/testblas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/testblas" ) func TestInner(t *testing.T) { diff --git a/matrix/mat64/io_test.go b/matrix/mat64/io_test.go index 6a351992..5893b4c0 100644 --- a/matrix/mat64/io_test.go +++ b/matrix/mat64/io_test.go @@ -12,7 +12,7 @@ import ( "math" "testing" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) var ( diff --git a/matrix/mat64/list_test.go b/matrix/mat64/list_test.go index 4abbf8d1..8f21b200 100644 --- a/matrix/mat64/list_test.go +++ b/matrix/mat64/list_test.go @@ -11,10 +11,10 @@ import ( "reflect" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix" ) // legalSizeSameRectangular returns whether the two matrices have the same rectangular shape. diff --git a/matrix/mat64/lq.go b/matrix/mat64/lq.go index b3511362..5fe9766c 100644 --- a/matrix/mat64/lq.go +++ b/matrix/mat64/lq.go @@ -7,10 +7,10 @@ package mat64 import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) // LQ is a type for creating and using the LQ factorization of a matrix. diff --git a/matrix/mat64/lu.go b/matrix/mat64/lu.go index 6115b005..69f2daf0 100644 --- a/matrix/mat64/lu.go +++ b/matrix/mat64/lu.go @@ -7,11 +7,11 @@ package mat64 import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) const badSliceLength = "mat64: improper slice length" diff --git a/matrix/mat64/matrix.go b/matrix/mat64/matrix.go index 4b33b7c8..54d87d92 100644 --- a/matrix/mat64/matrix.go +++ b/matrix/mat64/matrix.go @@ -7,12 +7,12 @@ package mat64 import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/lapack" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/lapack" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) // Matrix is the basic matrix interface type. diff --git a/matrix/mat64/matrix_test.go b/matrix/mat64/matrix_test.go index 0e9266c7..35ea4abf 100644 --- a/matrix/mat64/matrix_test.go +++ b/matrix/mat64/matrix_test.go @@ -10,10 +10,10 @@ import ( "reflect" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix" ) func panics(fn func()) (panicked bool, message string) { diff --git a/matrix/mat64/mul_test.go b/matrix/mat64/mul_test.go index 9920c545..f0088a63 100644 --- a/matrix/mat64/mul_test.go +++ b/matrix/mat64/mul_test.go @@ -8,10 +8,10 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix" ) // TODO: Need to add tests where one is overwritten. diff --git a/matrix/mat64/pool.go b/matrix/mat64/pool.go index f296f3da..53f04df4 100644 --- a/matrix/mat64/pool.go +++ b/matrix/mat64/pool.go @@ -7,9 +7,9 @@ package mat64 import ( "sync" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/matrix" ) var tab64 = [64]byte{ diff --git a/matrix/mat64/product.go b/matrix/mat64/product.go index c3b57c71..f06d6ee5 100644 --- a/matrix/mat64/product.go +++ b/matrix/mat64/product.go @@ -7,7 +7,7 @@ package mat64 import ( "fmt" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/matrix" ) // Product calculates the product of the given factors and places the result in diff --git a/matrix/mat64/qr.go b/matrix/mat64/qr.go index 140f7dc1..15b3a8ea 100644 --- a/matrix/mat64/qr.go +++ b/matrix/mat64/qr.go @@ -8,10 +8,10 @@ package mat64 import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) // QR is a type for creating and using the QR factorization of a matrix. diff --git a/matrix/mat64/qr_test.go b/matrix/mat64/qr_test.go index 37a9577c..82e9cb25 100644 --- a/matrix/mat64/qr_test.go +++ b/matrix/mat64/qr_test.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas/blas64" ) func TestQR(t *testing.T) { diff --git a/matrix/mat64/shadow.go b/matrix/mat64/shadow.go index b293c63c..53355c6d 100644 --- a/matrix/mat64/shadow.go +++ b/matrix/mat64/shadow.go @@ -5,8 +5,8 @@ package mat64 import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" ) const ( diff --git a/matrix/mat64/shadow_test.go b/matrix/mat64/shadow_test.go index dfe28d56..465fadff 100644 --- a/matrix/mat64/shadow_test.go +++ b/matrix/mat64/shadow_test.go @@ -8,9 +8,9 @@ import ( "math/rand" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/matrix" ) func TestDenseOverlaps(t *testing.T) { diff --git a/matrix/mat64/solve.go b/matrix/mat64/solve.go index 9a54cb98..001ed330 100644 --- a/matrix/mat64/solve.go +++ b/matrix/mat64/solve.go @@ -5,10 +5,10 @@ package mat64 import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) // Solve finds a minimum-norm solution to a system of linear equations defined diff --git a/matrix/mat64/svd.go b/matrix/mat64/svd.go index 731b48a3..87498f73 100644 --- a/matrix/mat64/svd.go +++ b/matrix/mat64/svd.go @@ -6,10 +6,10 @@ package mat64 import ( - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) // SVD is a type for creating and using the Singular Value Decomposition (SVD) diff --git a/matrix/mat64/svd_test.go b/matrix/mat64/svd_test.go index 912c1101..fb342486 100644 --- a/matrix/mat64/svd_test.go +++ b/matrix/mat64/svd_test.go @@ -8,8 +8,8 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix" ) func TestSVD(t *testing.T) { diff --git a/matrix/mat64/symmetric.go b/matrix/mat64/symmetric.go index 21a1b3ff..e72f5165 100644 --- a/matrix/mat64/symmetric.go +++ b/matrix/mat64/symmetric.go @@ -7,9 +7,9 @@ package mat64 import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/matrix" ) var ( diff --git a/matrix/mat64/symmetric_example_test.go b/matrix/mat64/symmetric_example_test.go index 67e2616f..f545da0a 100644 --- a/matrix/mat64/symmetric_example_test.go +++ b/matrix/mat64/symmetric_example_test.go @@ -3,7 +3,7 @@ package mat64_test import ( "fmt" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix/mat64" ) func ExampleSymDense_SubsetSym() { diff --git a/matrix/mat64/symmetric_test.go b/matrix/mat64/symmetric_test.go index f3b7a1a9..06be63f0 100644 --- a/matrix/mat64/symmetric_test.go +++ b/matrix/mat64/symmetric_test.go @@ -11,10 +11,10 @@ import ( "reflect" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/floats" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix" ) func TestNewSymmetric(t *testing.T) { diff --git a/matrix/mat64/triangular.go b/matrix/mat64/triangular.go index fb79a375..76016e83 100644 --- a/matrix/mat64/triangular.go +++ b/matrix/mat64/triangular.go @@ -3,10 +3,10 @@ package mat64 import ( "math" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/lapack/lapack64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/lapack/lapack64" + "gonum.org/v1/gonum/matrix" ) var ( diff --git a/matrix/mat64/triangular_test.go b/matrix/mat64/triangular_test.go index 2d5bc158..29e929a7 100644 --- a/matrix/mat64/triangular_test.go +++ b/matrix/mat64/triangular_test.go @@ -6,9 +6,9 @@ import ( "reflect" "testing" - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/matrix" ) func TestNewTriangular(t *testing.T) { diff --git a/matrix/mat64/vector.go b/matrix/mat64/vector.go index 2502fe47..28da7cb3 100644 --- a/matrix/mat64/vector.go +++ b/matrix/mat64/vector.go @@ -5,10 +5,10 @@ package mat64 import ( - "github.com/gonum/blas" - "github.com/gonum/blas/blas64" - "github.com/gonum/internal/asm/f64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/internal/asm/f64" + "gonum.org/v1/gonum/matrix" ) var ( diff --git a/matrix/mat64/vector_test.go b/matrix/mat64/vector_test.go index ef8274ae..cc4c6f21 100644 --- a/matrix/mat64/vector_test.go +++ b/matrix/mat64/vector_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/gonum/blas/blas64" - "github.com/gonum/matrix" + "gonum.org/v1/gonum/blas/blas64" + "gonum.org/v1/gonum/matrix" ) func TestNewVector(t *testing.T) { diff --git a/optimize/bfgs.go b/optimize/bfgs.go index 54b30abf..5d320ac7 100644 --- a/optimize/bfgs.go +++ b/optimize/bfgs.go @@ -7,7 +7,7 @@ package optimize import ( "math" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix/mat64" ) // BFGS implements the Broyden–Fletcher–Goldfarb–Shanno optimization method. It diff --git a/optimize/cg.go b/optimize/cg.go index f3542206..88612d3f 100644 --- a/optimize/cg.go +++ b/optimize/cg.go @@ -3,7 +3,7 @@ package optimize import ( "math" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) const ( diff --git a/optimize/convex/lp/convert.go b/optimize/convex/lp/convert.go index ad897d0f..5f2178c1 100644 --- a/optimize/convex/lp/convert.go +++ b/optimize/convex/lp/convert.go @@ -5,8 +5,8 @@ package lp import ( - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) // TODO(btracey): Have some sort of preprocessing step for helping to fix A to make it diff --git a/optimize/convex/lp/simplex.go b/optimize/convex/lp/simplex.go index 78de93da..41caf67e 100644 --- a/optimize/convex/lp/simplex.go +++ b/optimize/convex/lp/simplex.go @@ -10,8 +10,8 @@ import ( "fmt" "math" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) // TODO(btracey): Could have a solver structure with an abstract factorizer. With diff --git a/optimize/convex/lp/simplex_test.go b/optimize/convex/lp/simplex_test.go index e5e1b663..33d4359c 100644 --- a/optimize/convex/lp/simplex_test.go +++ b/optimize/convex/lp/simplex_test.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) const convergenceTol = 1e-10 diff --git a/optimize/convex/lp/simplexexample_test.go b/optimize/convex/lp/simplexexample_test.go index e133f2ed..ea8dc6c9 100644 --- a/optimize/convex/lp/simplexexample_test.go +++ b/optimize/convex/lp/simplexexample_test.go @@ -8,8 +8,8 @@ import ( "fmt" "log" - "github.com/gonum/matrix/mat64" - "github.com/gonum/optimize/convex/lp" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/optimize/convex/lp" ) func ExampleSimplex() { diff --git a/optimize/functions/functions.go b/optimize/functions/functions.go index c200191b..0c98aa5a 100644 --- a/optimize/functions/functions.go +++ b/optimize/functions/functions.go @@ -7,8 +7,8 @@ package functions import ( "math" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) // Beale implements the Beale's function. diff --git a/optimize/functions/minsurf_test.go b/optimize/functions/minsurf_test.go index c42b3f83..2f123545 100644 --- a/optimize/functions/minsurf_test.go +++ b/optimize/functions/minsurf_test.go @@ -8,8 +8,8 @@ import ( "math" "testing" - "github.com/gonum/diff/fd" - "github.com/gonum/floats" + "gonum.org/v1/gonum/diff/fd" + "gonum.org/v1/gonum/floats" ) func TestMinimalSurface(t *testing.T) { diff --git a/optimize/functions/validate.go b/optimize/functions/validate.go index 3cc728ff..1182d431 100644 --- a/optimize/functions/validate.go +++ b/optimize/functions/validate.go @@ -14,8 +14,8 @@ import ( "math" "testing" - "github.com/gonum/diff/fd" - "github.com/gonum/floats" + "gonum.org/v1/gonum/diff/fd" + "gonum.org/v1/gonum/floats" ) // function represents an objective function. diff --git a/optimize/gradientdescent.go b/optimize/gradientdescent.go index 948a616c..292bf5c9 100644 --- a/optimize/gradientdescent.go +++ b/optimize/gradientdescent.go @@ -4,7 +4,7 @@ package optimize -import "github.com/gonum/floats" +import "gonum.org/v1/gonum/floats" // GradientDescent implements the steepest descent optimization method that // performs successive steps along the direction of the negative gradient. diff --git a/optimize/guessandcheck.go b/optimize/guessandcheck.go index 1ec07896..e08fc4c6 100644 --- a/optimize/guessandcheck.go +++ b/optimize/guessandcheck.go @@ -8,7 +8,7 @@ import ( "math" "sync" - "github.com/gonum/stat/distmv" + "gonum.org/v1/gonum/stat/distmv" ) // GuessAndCheck is a global optimizer that evaluates the function at random diff --git a/optimize/guessandcheck_test.go b/optimize/guessandcheck_test.go index e7515819..3b7fd910 100644 --- a/optimize/guessandcheck_test.go +++ b/optimize/guessandcheck_test.go @@ -7,9 +7,9 @@ package optimize import ( "testing" - "github.com/gonum/matrix/mat64" - "github.com/gonum/optimize/functions" - "github.com/gonum/stat/distmv" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/optimize/functions" + "gonum.org/v1/gonum/stat/distmv" ) func TestGuessAndCheck(t *testing.T) { diff --git a/optimize/lbfgs.go b/optimize/lbfgs.go index a52f717d..5c549377 100644 --- a/optimize/lbfgs.go +++ b/optimize/lbfgs.go @@ -5,7 +5,7 @@ package optimize import ( - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) // LBFGS implements the limited-memory BFGS method for gradient-based diff --git a/optimize/linesearch.go b/optimize/linesearch.go index 8ec5fd71..37ccb90e 100644 --- a/optimize/linesearch.go +++ b/optimize/linesearch.go @@ -7,7 +7,7 @@ package optimize import ( "math" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) // LinesearchMethod represents an abstract optimization method in which a diff --git a/optimize/linesearcher_test.go b/optimize/linesearcher_test.go index 493ad2d7..e1693108 100644 --- a/optimize/linesearcher_test.go +++ b/optimize/linesearcher_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/gonum/optimize/functions" + "gonum.org/v1/gonum/optimize/functions" ) func TestMoreThuente(t *testing.T) { diff --git a/optimize/local_example_test.go b/optimize/local_example_test.go index d827f571..64940388 100644 --- a/optimize/local_example_test.go +++ b/optimize/local_example_test.go @@ -8,8 +8,8 @@ import ( "fmt" "log" - "github.com/gonum/optimize" - "github.com/gonum/optimize/functions" + "gonum.org/v1/gonum/optimize" + "gonum.org/v1/gonum/optimize/functions" ) func ExampleLocal() { diff --git a/optimize/minimize.go b/optimize/minimize.go index 035a9bd7..b49a7728 100644 --- a/optimize/minimize.go +++ b/optimize/minimize.go @@ -9,8 +9,8 @@ import ( "math" "time" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) // newLocation allocates a new locatian structure of the appropriate size. It diff --git a/optimize/neldermead.go b/optimize/neldermead.go index 0bf96cc5..18964773 100644 --- a/optimize/neldermead.go +++ b/optimize/neldermead.go @@ -7,7 +7,7 @@ package optimize import ( "sort" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) // nmIterType is a Nelder-Mead evaluation kind diff --git a/optimize/newton.go b/optimize/newton.go index b52b8f86..f213067f 100644 --- a/optimize/newton.go +++ b/optimize/newton.go @@ -7,7 +7,7 @@ package optimize import ( "math" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix/mat64" ) const maxNewtonModifications = 20 diff --git a/optimize/printer.go b/optimize/printer.go index 1a5f4912..56800f3c 100644 --- a/optimize/printer.go +++ b/optimize/printer.go @@ -11,7 +11,7 @@ import ( "os" "time" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) var printerHeadings = [...]string{ diff --git a/optimize/stepsizers.go b/optimize/stepsizers.go index caa46d77..487c158c 100644 --- a/optimize/stepsizers.go +++ b/optimize/stepsizers.go @@ -7,7 +7,7 @@ package optimize import ( "math" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) const ( diff --git a/optimize/types.go b/optimize/types.go index bf224f51..4316f9cf 100644 --- a/optimize/types.go +++ b/optimize/types.go @@ -10,7 +10,7 @@ import ( "math" "time" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix/mat64" ) const defaultGradientAbsTol = 1e-6 diff --git a/optimize/unconstrained_test.go b/optimize/unconstrained_test.go index 6dc90236..8ff16329 100644 --- a/optimize/unconstrained_test.go +++ b/optimize/unconstrained_test.go @@ -9,9 +9,9 @@ import ( "math" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/optimize/functions" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/optimize/functions" ) type unconstrainedTest struct { diff --git a/stat/boston_data_test.go b/stat/boston_data_test.go index c7b33146..092bacae 100644 --- a/stat/boston_data_test.go +++ b/stat/boston_data_test.go @@ -4,7 +4,7 @@ package stat_test -import "github.com/gonum/matrix/mat64" +import "gonum.org/v1/gonum/matrix/mat64" // Boston Housing Data of Harrison and Rubinfeld (1978) // http://dx.doi.org/10.1016/0095-0696(78)90006-2 diff --git a/stat/car_data_test.go b/stat/car_data_test.go index ea83b9c8..d8761a24 100644 --- a/stat/car_data_test.go +++ b/stat/car_data_test.go @@ -4,7 +4,7 @@ package stat_test -import "github.com/gonum/matrix/mat64" +import "gonum.org/v1/gonum/matrix/mat64" // ASA Car Exposition Data of Ramos and Donoho (1983) // http://lib.stat.cmu.edu/datasets/cars.desc diff --git a/stat/cca_example_test.go b/stat/cca_example_test.go index a7abc013..3d311f02 100644 --- a/stat/cca_example_test.go +++ b/stat/cca_example_test.go @@ -8,9 +8,9 @@ import ( "fmt" "log" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat" ) // symView is a helper for getting a View of a SymDense. diff --git a/stat/cca_test.go b/stat/cca_test.go index 92c2dbf0..149f37da 100644 --- a/stat/cca_test.go +++ b/stat/cca_test.go @@ -7,9 +7,9 @@ package stat_test import ( "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat" ) func TestCanonicalCorrelations(t *testing.T) { diff --git a/stat/combin/combin_test.go b/stat/combin/combin_test.go index 791e9391..8226a675 100644 --- a/stat/combin/combin_test.go +++ b/stat/combin/combin_test.go @@ -8,7 +8,7 @@ import ( "math/big" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) // intSosMatch returns true if the two slices of slices are equal. diff --git a/stat/distmat/wishart.go b/stat/distmat/wishart.go index 0f435aa0..f384c30c 100644 --- a/stat/distmat/wishart.go +++ b/stat/distmat/wishart.go @@ -9,10 +9,10 @@ import ( "math/rand" "sync" - "github.com/gonum/mathext" - "github.com/gonum/matrix" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat/distuv" + "gonum.org/v1/gonum/mathext" + "gonum.org/v1/gonum/matrix" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat/distuv" ) // Wishart is a distribution over d×d positive symmetric definite matrices. It diff --git a/stat/distmat/wishart_test.go b/stat/distmat/wishart_test.go index 10c7c5ce..0245bf96 100644 --- a/stat/distmat/wishart_test.go +++ b/stat/distmat/wishart_test.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) func TestWishart(t *testing.T) { diff --git a/stat/distmv/dirichlet.go b/stat/distmv/dirichlet.go index 0de747b5..a13810c9 100644 --- a/stat/distmv/dirichlet.go +++ b/stat/distmv/dirichlet.go @@ -8,9 +8,9 @@ import ( "math" "math/rand" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat/distuv" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat/distuv" ) // Dirichlet implements the Dirichlet probability distribution. diff --git a/stat/distmv/dirichlet_test.go b/stat/distmv/dirichlet_test.go index b696b9a4..9542e193 100644 --- a/stat/distmv/dirichlet_test.go +++ b/stat/distmv/dirichlet_test.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix/mat64" ) func TestDirichlet(t *testing.T) { diff --git a/stat/distmv/general_test.go b/stat/distmv/general_test.go index 64369852..bcfa733f 100644 --- a/stat/distmv/general_test.go +++ b/stat/distmv/general_test.go @@ -8,9 +8,9 @@ import ( "math" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat" ) type prober interface { diff --git a/stat/distmv/normal.go b/stat/distmv/normal.go index 1a20af2c..55a6df5f 100644 --- a/stat/distmv/normal.go +++ b/stat/distmv/normal.go @@ -8,10 +8,10 @@ import ( "math" "math/rand" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat" - "github.com/gonum/stat/distuv" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat" + "gonum.org/v1/gonum/stat/distuv" ) var ( diff --git a/stat/distmv/normal_test.go b/stat/distmv/normal_test.go index 7cd837ed..a855077f 100644 --- a/stat/distmv/normal_test.go +++ b/stat/distmv/normal_test.go @@ -9,9 +9,9 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat" ) type mvTest struct { diff --git a/stat/distmv/normalbench_test.go b/stat/distmv/normalbench_test.go index 6677ea1c..645f4f3e 100644 --- a/stat/distmv/normalbench_test.go +++ b/stat/distmv/normalbench_test.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/matrix/mat64" ) func BenchmarkMarginalNormal10(b *testing.B) { diff --git a/stat/distmv/statdist.go b/stat/distmv/statdist.go index cf4f37ed..478fc88e 100644 --- a/stat/distmv/statdist.go +++ b/stat/distmv/statdist.go @@ -7,9 +7,9 @@ package distmv import ( "math" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat" ) // Bhattacharyya is a type for computing the Bhattacharyya distance between diff --git a/stat/distmv/statdist_test.go b/stat/distmv/statdist_test.go index 9f146385..bb2dbb32 100644 --- a/stat/distmv/statdist_test.go +++ b/stat/distmv/statdist_test.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) func TestBhattacharyyaNormal(t *testing.T) { diff --git a/stat/distmv/studentst.go b/stat/distmv/studentst.go index c691b96c..0b8d50f3 100644 --- a/stat/distmv/studentst.go +++ b/stat/distmv/studentst.go @@ -11,9 +11,9 @@ import ( "golang.org/x/tools/container/intsets" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat/distuv" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat/distuv" ) // StudentsT is a multivariate Student's T distribution. It is a distribution over diff --git a/stat/distmv/studentst_test.go b/stat/distmv/studentst_test.go index a0f6fc6f..28c749f1 100644 --- a/stat/distmv/studentst_test.go +++ b/stat/distmv/studentst_test.go @@ -9,9 +9,9 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat" ) func TestStudentTProbs(t *testing.T) { diff --git a/stat/distuv/beta.go b/stat/distuv/beta.go index 54f2c3ed..7c456009 100644 --- a/stat/distuv/beta.go +++ b/stat/distuv/beta.go @@ -8,7 +8,7 @@ import ( "math" "math/rand" - "github.com/gonum/mathext" + "gonum.org/v1/gonum/mathext" ) // Beta implements the Beta distribution, a two-parameter continuous distribution diff --git a/stat/distuv/beta_test.go b/stat/distuv/beta_test.go index d2128bcb..30295288 100644 --- a/stat/distuv/beta_test.go +++ b/stat/distuv/beta_test.go @@ -10,7 +10,7 @@ import ( "sort" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestBetaProb(t *testing.T) { diff --git a/stat/distuv/categorical_test.go b/stat/distuv/categorical_test.go index da6ae6aa..decd181d 100644 --- a/stat/distuv/categorical_test.go +++ b/stat/distuv/categorical_test.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestCategoricalProb(t *testing.T) { diff --git a/stat/distuv/chisquared.go b/stat/distuv/chisquared.go index 9e7ef8d3..2c9827b7 100644 --- a/stat/distuv/chisquared.go +++ b/stat/distuv/chisquared.go @@ -8,7 +8,7 @@ import ( "math" "math/rand" - "github.com/gonum/mathext" + "gonum.org/v1/gonum/mathext" ) // ChiSquared implements the χ² distribution, a one parameter distribution diff --git a/stat/distuv/chisquared_test.go b/stat/distuv/chisquared_test.go index 6cf20525..a4d13bba 100644 --- a/stat/distuv/chisquared_test.go +++ b/stat/distuv/chisquared_test.go @@ -9,7 +9,7 @@ import ( "sort" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestChiSquaredProb(t *testing.T) { diff --git a/stat/distuv/distribution_test.go b/stat/distuv/distribution_test.go index 2def59b3..722c438a 100644 --- a/stat/distuv/distribution_test.go +++ b/stat/distuv/distribution_test.go @@ -9,9 +9,9 @@ import ( "sort" "testing" - "github.com/gonum/floats" - "github.com/gonum/integrate/quad" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/integrate/quad" + "gonum.org/v1/gonum/stat" ) type meaner interface { diff --git a/stat/distuv/exponential.go b/stat/distuv/exponential.go index 682caa9e..a249b0cc 100644 --- a/stat/distuv/exponential.go +++ b/stat/distuv/exponential.go @@ -8,8 +8,8 @@ import ( "math" "math/rand" - "github.com/gonum/floats" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/stat" ) // Exponential represents the exponential distribution (https://en.wikipedia.org/wiki/Exponential_distribution). diff --git a/stat/distuv/f.go b/stat/distuv/f.go index 8b4537c3..6e689e6e 100644 --- a/stat/distuv/f.go +++ b/stat/distuv/f.go @@ -8,7 +8,7 @@ import ( "math" "math/rand" - "github.com/gonum/mathext" + "gonum.org/v1/gonum/mathext" ) // F implements the F-distribution, a two-parameter continuous distribution diff --git a/stat/distuv/f_test.go b/stat/distuv/f_test.go index 256cc029..7494d7c7 100644 --- a/stat/distuv/f_test.go +++ b/stat/distuv/f_test.go @@ -9,7 +9,7 @@ import ( "sort" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestFProb(t *testing.T) { diff --git a/stat/distuv/gamma.go b/stat/distuv/gamma.go index 4c96a700..650ad6c8 100644 --- a/stat/distuv/gamma.go +++ b/stat/distuv/gamma.go @@ -8,7 +8,7 @@ import ( "math" "math/rand" - "github.com/gonum/mathext" + "gonum.org/v1/gonum/mathext" ) // Gamma implements the Gamma distribution, a two-parameter continuous distribution diff --git a/stat/distuv/gamma_test.go b/stat/distuv/gamma_test.go index 9321fc42..ca7aa609 100644 --- a/stat/distuv/gamma_test.go +++ b/stat/distuv/gamma_test.go @@ -9,7 +9,7 @@ import ( "sort" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestGamma(t *testing.T) { diff --git a/stat/distuv/general_test.go b/stat/distuv/general_test.go index d0da4707..ee5b4b3f 100644 --- a/stat/distuv/general_test.go +++ b/stat/distuv/general_test.go @@ -9,8 +9,8 @@ import ( "math" "testing" - "github.com/gonum/diff/fd" - "github.com/gonum/floats" + "gonum.org/v1/gonum/diff/fd" + "gonum.org/v1/gonum/floats" ) type univariateProbPoint struct { diff --git a/stat/distuv/laplace.go b/stat/distuv/laplace.go index 75f516eb..3686a2fa 100644 --- a/stat/distuv/laplace.go +++ b/stat/distuv/laplace.go @@ -9,8 +9,8 @@ import ( "math/rand" "sort" - "github.com/gonum/floats" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/stat" ) // Laplace represents the Laplace distribution (https://en.wikipedia.org/wiki/Laplace_distribution). diff --git a/stat/distuv/norm.go b/stat/distuv/norm.go index a1de60c2..97cf1461 100644 --- a/stat/distuv/norm.go +++ b/stat/distuv/norm.go @@ -8,9 +8,9 @@ import ( "math" "math/rand" - "github.com/gonum/floats" - "github.com/gonum/mathext" - "github.com/gonum/stat" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/mathext" + "gonum.org/v1/gonum/stat" ) // UnitNormal is an instantiation of the normal distribution with Mu = 0 and Sigma = 1. diff --git a/stat/distuv/norm_example_test.go b/stat/distuv/norm_example_test.go index e1eabd12..b913282f 100644 --- a/stat/distuv/norm_example_test.go +++ b/stat/distuv/norm_example_test.go @@ -7,8 +7,8 @@ package distuv_test import ( "fmt" - "github.com/gonum/stat" - "github.com/gonum/stat/distuv" + "gonum.org/v1/gonum/stat" + "gonum.org/v1/gonum/stat/distuv" ) func ExampleNormal() { diff --git a/stat/distuv/norm_test.go b/stat/distuv/norm_test.go index 337dc8af..0179e173 100644 --- a/stat/distuv/norm_test.go +++ b/stat/distuv/norm_test.go @@ -8,7 +8,7 @@ import ( "math" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) // TestNormalProbs tests LogProb, Prob, CumProb, and Quantile diff --git a/stat/distuv/studentst.go b/stat/distuv/studentst.go index 1505ef98..84b6b6e2 100644 --- a/stat/distuv/studentst.go +++ b/stat/distuv/studentst.go @@ -8,7 +8,7 @@ import ( "math" "math/rand" - "github.com/gonum/mathext" + "gonum.org/v1/gonum/mathext" ) const logPi = 1.1447298858494001741 // http://oeis.org/A053510 diff --git a/stat/distuv/studentst_test.go b/stat/distuv/studentst_test.go index 13c620c5..4b522a20 100644 --- a/stat/distuv/studentst_test.go +++ b/stat/distuv/studentst_test.go @@ -10,7 +10,7 @@ import ( "sort" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func TestStudentsTProb(t *testing.T) { diff --git a/stat/pca_cca.go b/stat/pca_cca.go index c3fdef7f..5675520e 100644 --- a/stat/pca_cca.go +++ b/stat/pca_cca.go @@ -8,9 +8,9 @@ import ( "errors" "math" - "github.com/gonum/floats" - "github.com/gonum/matrix" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix" + "gonum.org/v1/gonum/matrix/mat64" ) // PC is a type for computing and extracting the principal components of a diff --git a/stat/pca_example_test.go b/stat/pca_example_test.go index d7565cb0..33582362 100644 --- a/stat/pca_example_test.go +++ b/stat/pca_example_test.go @@ -7,8 +7,8 @@ package stat_test import ( "fmt" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat" ) func ExamplePrincipalComponents() { diff --git a/stat/pca_test.go b/stat/pca_test.go index 06618f5f..f54985f6 100644 --- a/stat/pca_test.go +++ b/stat/pca_test.go @@ -7,8 +7,8 @@ package stat import ( "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) func TestPrincipalComponents(t *testing.T) { diff --git a/stat/roc_example_test.go b/stat/roc_example_test.go index 41cc3634..7f34b8d8 100644 --- a/stat/roc_example_test.go +++ b/stat/roc_example_test.go @@ -7,8 +7,8 @@ package stat_test import ( "fmt" - "github.com/gonum/integrate" - "github.com/gonum/stat" + "gonum.org/v1/gonum/integrate" + "gonum.org/v1/gonum/stat" ) func ExampleROC_unweighted() { diff --git a/stat/roc_test.go b/stat/roc_test.go index 60d22c5b..99fdae13 100644 --- a/stat/roc_test.go +++ b/stat/roc_test.go @@ -7,7 +7,7 @@ package stat import ( "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) // Test cases where calculated manually. diff --git a/stat/samplemv/metropolishastings.go b/stat/samplemv/metropolishastings.go index 991aaa40..9c4d09c6 100644 --- a/stat/samplemv/metropolishastings.go +++ b/stat/samplemv/metropolishastings.go @@ -8,8 +8,8 @@ import ( "math" "math/rand" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat/distmv" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat/distmv" ) var _ Sampler = MetropolisHastingser{} diff --git a/stat/samplemv/sample_test.go b/stat/samplemv/sample_test.go index 228f495d..bb48ad11 100644 --- a/stat/samplemv/sample_test.go +++ b/stat/samplemv/sample_test.go @@ -9,10 +9,10 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat" - "github.com/gonum/stat/distmv" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat" + "gonum.org/v1/gonum/stat/distmv" ) type lhDist interface { diff --git a/stat/samplemv/samplemv.go b/stat/samplemv/samplemv.go index a4529bed..3181e3d7 100644 --- a/stat/samplemv/samplemv.go +++ b/stat/samplemv/samplemv.go @@ -15,8 +15,8 @@ import ( "math" "math/rand" - "github.com/gonum/matrix/mat64" - "github.com/gonum/stat/distmv" + "gonum.org/v1/gonum/matrix/mat64" + "gonum.org/v1/gonum/stat/distmv" ) var ( diff --git a/stat/sampleuv/example_burnin_test.go b/stat/sampleuv/example_burnin_test.go index c8893c64..db1d1c31 100644 --- a/stat/sampleuv/example_burnin_test.go +++ b/stat/sampleuv/example_burnin_test.go @@ -4,7 +4,7 @@ package sampleuv -import "github.com/gonum/stat/distuv" +import "gonum.org/v1/gonum/stat/distuv" type ProposalDist struct { Sigma float64 diff --git a/stat/sampleuv/example_rate_test.go b/stat/sampleuv/example_rate_test.go index 790f0dd2..86917998 100644 --- a/stat/sampleuv/example_rate_test.go +++ b/stat/sampleuv/example_rate_test.go @@ -4,7 +4,7 @@ package sampleuv -import "github.com/gonum/stat/distuv" +import "gonum.org/v1/gonum/stat/distuv" func max(a, b int) int { if a < b { diff --git a/stat/sampleuv/sample.go b/stat/sampleuv/sample.go index 58b81b93..e6137b95 100644 --- a/stat/sampleuv/sample.go +++ b/stat/sampleuv/sample.go @@ -15,7 +15,7 @@ import ( "math" "math/rand" - "github.com/gonum/stat/distuv" + "gonum.org/v1/gonum/stat/distuv" ) var ( diff --git a/stat/sampleuv/sample_test.go b/stat/sampleuv/sample_test.go index 9c5c5ad6..014c558d 100644 --- a/stat/sampleuv/sample_test.go +++ b/stat/sampleuv/sample_test.go @@ -9,8 +9,8 @@ import ( "sort" "testing" - "github.com/gonum/stat" - "github.com/gonum/stat/distuv" + "gonum.org/v1/gonum/stat" + "gonum.org/v1/gonum/stat/distuv" ) type lhDist interface { diff --git a/stat/sampleuv/weighted.go b/stat/sampleuv/weighted.go index d094a01d..9a96589c 100644 --- a/stat/sampleuv/weighted.go +++ b/stat/sampleuv/weighted.go @@ -7,7 +7,7 @@ package sampleuv import ( "math/rand" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) // Weighted provides sampling without replacement from a collection of items with diff --git a/stat/sampleuv/weighted_test.go b/stat/sampleuv/weighted_test.go index d09a8d9b..24ed9555 100644 --- a/stat/sampleuv/weighted_test.go +++ b/stat/sampleuv/weighted_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) var prob = flag.Bool("prob", false, "enables probabilistic testing of the random weighted sampler") diff --git a/stat/stat.go b/stat/stat.go index a476ac91..e02778b0 100644 --- a/stat/stat.go +++ b/stat/stat.go @@ -9,7 +9,7 @@ import ( "math" "sort" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) // CumulantKind specifies the behavior for calculating the empirical CDF or Quantile diff --git a/stat/stat_test.go b/stat/stat_test.go index 6ed9350a..bdb24dd3 100644 --- a/stat/stat_test.go +++ b/stat/stat_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/gonum/floats" + "gonum.org/v1/gonum/floats" ) func ExampleCircularMean() { diff --git a/stat/statmat.go b/stat/statmat.go index d464506c..a0d9078c 100644 --- a/stat/statmat.go +++ b/stat/statmat.go @@ -7,9 +7,9 @@ package stat import ( "math" - "github.com/gonum/floats" - "github.com/gonum/matrix" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix" + "gonum.org/v1/gonum/matrix/mat64" ) // CovarianceMatrix returns the covariance matrix (also known as the diff --git a/stat/statmat_test.go b/stat/statmat_test.go index fd352c6e..4022314f 100644 --- a/stat/statmat_test.go +++ b/stat/statmat_test.go @@ -9,8 +9,8 @@ import ( "math/rand" "testing" - "github.com/gonum/floats" - "github.com/gonum/matrix/mat64" + "gonum.org/v1/gonum/floats" + "gonum.org/v1/gonum/matrix/mat64" ) func TestCovarianceMatrix(t *testing.T) {