fixed dependencies

This commit is contained in:
nuknal
2024-10-24 15:46:01 +08:00
parent d16a5bd9c0
commit 1161e8d054
2005 changed files with 690883 additions and 0 deletions

28
vendor/gonum.org/v1/gonum/stat/distmv/distmv.go generated vendored Normal file
View File

@@ -0,0 +1,28 @@
// Copyright ©2015 The Gonum Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package distmv
const (
badQuantile = "distmv: quantile not between 0 and 1"
badOutputLen = "distmv: output slice is not nil or the correct length"
badInputLength = "distmv: input slice length mismatch"
badSizeMismatch = "distmv: size mismatch"
badZeroDimension = "distmv: zero dimensional input"
nonPosDimension = "distmv: non-positive dimension input"
)
const logTwoPi = 1.8378770664093454835606594728112352797227949472755668
// reuseAs returns a slice of length n. If len(dst) is n, dst is returned,
// otherwise dst must be nil or reuseAs will panic.
func reuseAs(dst []float64, n int) []float64 {
if dst == nil {
dst = make([]float64, n)
}
if len(dst) != n {
panic(badOutputLen)
}
return dst
}