mirror of
https://github.com/gonum/gonum.git
synced 2025-10-08 16:40:06 +08:00
dsp/window: use conventional 2dp approximate constants
This commit is contained in:
@@ -71,8 +71,8 @@ var windowTests = []struct {
|
||||
{
|
||||
name: "Hamming", fn: Hamming, fnCmplx: HammingComplex,
|
||||
want: []float64{
|
||||
0.086957, 0.111692, 0.183218, 0.293785, 0.431408, 0.581178, 0.726861, 0.852672, 0.944977, 0.993774,
|
||||
0.993774, 0.944977, 0.852672, 0.726861, 0.581178, 0.431409, 0.293785, 0.183218, 0.111692, 0.086957,
|
||||
0.08, 0.104924, 0.176995, 0.288404, 0.427077, 0.577986, 0.72478, 0.85155, 0.944558, 0.993726,
|
||||
0.993726, 0.944558, 0.85155, 0.72478, 0.577986, 0.427077, 0.288404, 0.176995, 0.104924, 0.08,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user