mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 07:06:54 +08:00
all: run gofmt and generate all packages
Changes made in dsp/fourier/internal/fftpack break the formatting used there, so these are reverted. There will be complaints in CI. [git-generate] gofmt -w . go generate gonum.org/v1/gonum/blas go generate gonum.org/v1/gonum/blas/gonum go generate gonum.org/v1/gonum/unit go generate gonum.org/v1/gonum/unit/constant go generate gonum.org/v1/gonum/graph/formats/dot go generate gonum.org/v1/gonum/graph/formats/rdf go generate gonum.org/v1/gonum/stat/card git checkout -- dsp/fourier/internal/fftpack
This commit is contained in:
@@ -34,9 +34,13 @@ func (NeverTerminate) Converged(loc *Location) Status {
|
||||
// over the last iterations. A FunctionConvergence status is returned if
|
||||
// there is no significant decrease for FunctionConverge.Iterations. A
|
||||
// significant decrease is considered if
|
||||
// f < f_best
|
||||
//
|
||||
// f < f_best
|
||||
//
|
||||
// and
|
||||
// f_best - f > FunctionConverge.Relative * maxabs(f, f_best) + FunctionConverge.Absolute
|
||||
//
|
||||
// f_best - f > FunctionConverge.Relative * maxabs(f, f_best) + FunctionConverge.Absolute
|
||||
//
|
||||
// If the decrease is significant, then the iteration counter is reset and
|
||||
// f_best is updated.
|
||||
//
|
||||
|
Reference in New Issue
Block a user