mirror of
https://github.com/gonum/gonum.git
synced 2025-10-06 07:37:03 +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:
@@ -17,7 +17,9 @@ type Point struct {
|
||||
|
||||
// Formula represents a finite difference formula on a regularly spaced grid
|
||||
// that approximates the derivative of order k of a function f at x as
|
||||
// d^k f(x) ≈ (1 / Step^k) * \sum_i Coeff_i * f(x + Step * Loc_i).
|
||||
//
|
||||
// d^k f(x) ≈ (1 / Step^k) * \sum_i Coeff_i * f(x + Step * Loc_i).
|
||||
//
|
||||
// Step must be positive, or the finite difference formula will panic.
|
||||
type Formula struct {
|
||||
// Stencil is the set of sampling Points which are used to estimate the
|
||||
|
Reference in New Issue
Block a user