mirror of
https://github.com/gonum/gonum.git
synced 2025-10-22 06:39:26 +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:
@@ -134,7 +134,9 @@ func (q *QuadraticStepSize) StepSize(loc *Location, dir []float64) (stepSize flo
|
||||
// assumption that the first-order change in the function will be the same as
|
||||
// that obtained at the previous iteration. That is, the initial step size s^0_k
|
||||
// is chosen so that
|
||||
// s^0_k ∇f_k⋅p_k = s_{k-1} ∇f_{k-1}⋅p_{k-1}
|
||||
//
|
||||
// s^0_k ∇f_k⋅p_k = s_{k-1} ∇f_{k-1}⋅p_{k-1}
|
||||
//
|
||||
// This is useful for line search methods that do not produce well-scaled
|
||||
// descent directions, such as gradient descent or conjugate gradient methods.
|
||||
type FirstOrderStepSize struct {
|
||||
|
Reference in New Issue
Block a user