Skip to content

Commit d3289c3

Browse files
committed
test: use zfill rather than gfill to improve performance
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 4e53b42 commit d3289c3

File tree

9 files changed

+117
-117
lines changed

9 files changed

+117
-117
lines changed

Diff for: lib/node_modules/@stdlib/ndarray/base/unary/test/test.10d.js

+21-21
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var shape2strides = require( '@stdlib/ndarray/base/shape2strides' );
3636
var strides2offset = require( '@stdlib/ndarray/base/strides2offset' );
3737
var numel = require( '@stdlib/ndarray/base/numel' );
3838
var dfill = require( '@stdlib/blas/ext/base/dfill' );
39-
var gfill = require( '@stdlib/blas/ext/base/gfill' );
39+
var zfill = require( '@stdlib/blas/ext/base/zfill' );
4040
var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
4141
var unary = require( './../lib' );
4242

@@ -958,7 +958,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
958958
unary( [ x, y ], scale );
959959

960960
expected = new Complex128Array( x.length*2 );
961-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
961+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
962962

963963
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
964964
t.end();
@@ -993,7 +993,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
993993
unary( [ x, y ], scale );
994994

995995
expected = new Complex128Array( x.length*2 );
996-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
996+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
997997

998998
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
999999
t.end();
@@ -1028,7 +1028,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
10281028
unary( [ x, y ], scale );
10291029

10301030
expected = new Complex128Array( x.length*2 );
1031-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
1031+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
10321032

10331033
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
10341034
t.end();
@@ -1063,7 +1063,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
10631063
unary( [ x, y ], scale );
10641064

10651065
expected = new Complex128Array( x.length*2 );
1066-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
1066+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
10671067

10681068
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
10691069
t.end();
@@ -1098,7 +1098,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
10981098
unary( [ x, y ], scale );
10991099

11001100
expected = new Complex128Array( x.length*2 );
1101-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
1101+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
11021102

11031103
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
11041104
t.end();
@@ -1133,7 +1133,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
11331133
unary( [ x, y ], scale );
11341134

11351135
expected = new Complex128Array( x.length*2 );
1136-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
1136+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
11371137

11381138
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
11391139
t.end();
@@ -1179,7 +1179,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
11791179
unary( [ x, y ], scale );
11801180

11811181
expected = new Complex128Array( x.length*2 );
1182-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
1182+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
11831183

11841184
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
11851185
t.end();
@@ -1225,7 +1225,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
12251225
unary( [ x, y ], scale );
12261226

12271227
expected = new Complex128Array( x.length*2 );
1228-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
1228+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
12291229

12301230
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
12311231
t.end();
@@ -1271,7 +1271,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
12711271
unary( [ x, y ], scale );
12721272

12731273
expected = new Complex128Array( x.length*2 );
1274-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
1274+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
12751275

12761276
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
12771277
t.end();
@@ -1317,7 +1317,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
13171317
unary( [ x, y ], scale );
13181318

13191319
expected = new Complex128Array( x.length*2 );
1320-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
1320+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 9 ] );
13211321

13221322
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
13231323
t.end();
@@ -2247,7 +2247,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
22472247
unary( [ x, y ], scale );
22482248

22492249
expected = new Complex128Array( x.length*2 );
2250-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2250+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
22512251

22522252
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
22532253
t.end();
@@ -2293,7 +2293,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
22932293
unary( [ x, y ], scale );
22942294

22952295
expected = new Complex128Array( x.length*2 );
2296-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2296+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
22972297

22982298
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
22992299
t.end();
@@ -2339,7 +2339,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
23392339
unary( [ x, y ], scale );
23402340

23412341
expected = new Complex128Array( x.length*2 );
2342-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2342+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
23432343

23442344
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
23452345
t.end();
@@ -2385,7 +2385,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
23852385
unary( [ x, y ], scale );
23862386

23872387
expected = new Complex128Array( x.length*2 );
2388-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2388+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
23892389

23902390
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
23912391
t.end();
@@ -2420,7 +2420,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
24202420
unary( [ x, y ], scale );
24212421

24222422
expected = new Complex128Array( x.length*2 );
2423-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2423+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
24242424

24252425
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
24262426
t.end();
@@ -2455,7 +2455,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
24552455
unary( [ x, y ], scale );
24562456

24572457
expected = new Complex128Array( x.length*2 );
2458-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2458+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
24592459

24602460
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
24612461
t.end();
@@ -2490,7 +2490,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
24902490
unary( [ x, y ], scale );
24912491

24922492
expected = new Complex128Array( x.length*2 );
2493-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2493+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
24942494

24952495
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
24962496
t.end();
@@ -2525,7 +2525,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
25252525
unary( [ x, y ], scale );
25262526

25272527
expected = new Complex128Array( x.length*2 );
2528-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2528+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
25292529

25302530
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
25312531
t.end();
@@ -2560,7 +2560,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
25602560
unary( [ x, y ], scale );
25612561

25622562
expected = new Complex128Array( x.length*2 );
2563-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2563+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
25642564

25652565
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
25662566
t.end();
@@ -2595,7 +2595,7 @@ tape( 'the function applies a unary callback to each indexed element of a 10-dim
25952595
unary( [ x, y ], scale );
25962596

25972597
expected = new Complex128Array( x.length*2 );
2598-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
2598+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
25992599

26002600
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
26012601
t.end();

Diff for: lib/node_modules/@stdlib/ndarray/base/unary/test/test.2d.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var shape2strides = require( '@stdlib/ndarray/base/shape2strides' );
3636
var strides2offset = require( '@stdlib/ndarray/base/strides2offset' );
3737
var numel = require( '@stdlib/ndarray/base/numel' );
3838
var dfill = require( '@stdlib/blas/ext/base/dfill' );
39-
var gfill = require( '@stdlib/blas/ext/base/gfill' );
39+
var zfill = require( '@stdlib/blas/ext/base/zfill' );
4040
var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
4141
var unary = require( './../lib' );
4242

@@ -571,7 +571,7 @@ tape( 'the function applies a unary callback to each indexed element of a 2-dime
571571
unary( [ x, y ], scale );
572572

573573
expected = new Complex128Array( x.length*2 );
574-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 1 ] );
574+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 1 ] );
575575

576576
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
577577
t.end();
@@ -606,7 +606,7 @@ tape( 'the function applies a unary callback to each indexed element of a 2-dime
606606
unary( [ x, y ], scale );
607607

608608
expected = new Complex128Array( x.length*2 );
609-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 1 ] );
609+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 1 ] );
610610

611611
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
612612
t.end();
@@ -1129,7 +1129,7 @@ tape( 'the function applies a unary callback to each indexed element of a 2-dime
11291129
unary( [ x, y ], scale );
11301130

11311131
expected = new Complex128Array( x.length*2 );
1132-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
1132+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
11331133

11341134
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
11351135
t.end();
@@ -1164,7 +1164,7 @@ tape( 'the function applies a unary callback to each indexed element of a 2-dime
11641164
unary( [ x, y ], scale );
11651165

11661166
expected = new Complex128Array( x.length*2 );
1167-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
1167+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
11681168

11691169
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
11701170
t.end();

Diff for: lib/node_modules/@stdlib/ndarray/base/unary/test/test.3d.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var strides2offset = require( '@stdlib/ndarray/base/strides2offset' );
3737
var numel = require( '@stdlib/ndarray/base/numel' );
3838
var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
3939
var dfill = require( '@stdlib/blas/ext/base/dfill' );
40-
var gfill = require( '@stdlib/blas/ext/base/gfill' );
40+
var zfill = require( '@stdlib/blas/ext/base/zfill' );
4141
var unary = require( './../lib' );
4242

4343

@@ -597,7 +597,7 @@ tape( 'the function applies a unary callback to each indexed element of a 3-dime
597597
unary( [ x, y ], scale );
598598

599599
expected = new Complex128Array( x.length*2 );
600-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 2 ] );
600+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 2 ] );
601601

602602
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
603603
t.end();
@@ -632,7 +632,7 @@ tape( 'the function applies a unary callback to each indexed element of a 3-dime
632632
unary( [ x, y ], scale );
633633

634634
expected = new Complex128Array( x.length*2 );
635-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 2 ] );
635+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 2 ] );
636636

637637
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
638638
t.end();
@@ -667,7 +667,7 @@ tape( 'the function applies a unary callback to each indexed element of a 3-dime
667667
unary( [ x, y ], scale );
668668

669669
expected = new Complex128Array( x.length*2 );
670-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 2 ] );
670+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 2 ] );
671671

672672
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
673673
t.end();
@@ -1225,7 +1225,7 @@ tape( 'the function applies a unary callback to each indexed element of a 3-dime
12251225
unary( [ x, y ], scale );
12261226

12271227
expected = new Complex128Array( x.length*2 );
1228-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
1228+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
12291229

12301230
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
12311231
t.end();
@@ -1260,7 +1260,7 @@ tape( 'the function applies a unary callback to each indexed element of a 3-dime
12601260
unary( [ x, y ], scale );
12611261

12621262
expected = new Complex128Array( x.length*2 );
1263-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
1263+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
12641264

12651265
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
12661266
t.end();
@@ -1295,7 +1295,7 @@ tape( 'the function applies a nullary callback to each indexed element of a 3-di
12951295
unary( [ x, y ], scale );
12961296

12971297
expected = new Complex128Array( x.length*2 );
1298-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
1298+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
12991299

13001300
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
13011301
t.end();

Diff for: lib/node_modules/@stdlib/ndarray/base/unary/test/test.4d.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var shape2strides = require( '@stdlib/ndarray/base/shape2strides' );
3636
var strides2offset = require( '@stdlib/ndarray/base/strides2offset' );
3737
var numel = require( '@stdlib/ndarray/base/numel' );
3838
var dfill = require( '@stdlib/blas/ext/base/dfill' );
39-
var gfill = require( '@stdlib/blas/ext/base/gfill' );
39+
var zfill = require( '@stdlib/blas/ext/base/zfill' );
4040
var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
4141
var unary = require( './../lib' );
4242

@@ -644,7 +644,7 @@ tape( 'the function applies a unary callback to each indexed element of a 4-dime
644644
unary( [ x, y ], scale );
645645

646646
expected = new Complex128Array( x.length*2 );
647-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 3 ] );
647+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 3 ] );
648648

649649
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
650650
t.end();
@@ -679,7 +679,7 @@ tape( 'the function applies a unary callback to each indexed element of a 4-dime
679679
unary( [ x, y ], scale );
680680

681681
expected = new Complex128Array( x.length*2 );
682-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 3 ] );
682+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 3 ] );
683683

684684
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
685685
t.end();
@@ -714,7 +714,7 @@ tape( 'the function applies a unary callback to each indexed element of a 4-dime
714714
unary( [ x, y ], scale );
715715

716716
expected = new Complex128Array( x.length*2 );
717-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 3 ] );
717+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 3 ] );
718718

719719
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
720720
t.end();
@@ -749,7 +749,7 @@ tape( 'the function applies a unary callback to each indexed element of a 4-dime
749749
unary( [ x, y ], scale );
750750

751751
expected = new Complex128Array( x.length*2 );
752-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 3 ] );
752+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 3 ] );
753753

754754
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
755755
t.end();
@@ -1354,7 +1354,7 @@ tape( 'the function applies a unary callback to each indexed element of a 4-dime
13541354
unary( [ x, y ], scale );
13551355

13561356
expected = new Complex128Array( x.length*2 );
1357-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
1357+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
13581358

13591359
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
13601360
t.end();
@@ -1389,7 +1389,7 @@ tape( 'the function applies a unary callback to each indexed element of a 4-dime
13891389
unary( [ x, y ], scale );
13901390

13911391
expected = new Complex128Array( x.length*2 );
1392-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
1392+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
13931393

13941394
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
13951395
t.end();
@@ -1424,7 +1424,7 @@ tape( 'the function applies a unary callback to each indexed element of a 4-dime
14241424
unary( [ x, y ], scale );
14251425

14261426
expected = new Complex128Array( x.length*2 );
1427-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
1427+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
14281428

14291429
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
14301430
t.end();
@@ -1459,7 +1459,7 @@ tape( 'the function applies a unary callback to each indexed element of a 4-dime
14591459
unary( [ x, y ], scale );
14601460

14611461
expected = new Complex128Array( x.length*2 );
1462-
gfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
1462+
zfill( x.length, new Complex128( 10.0, 10.0 ), expected, st[ 0 ] );
14631463

14641464
t.strictEqual( isSameComplex128Array( y.data, expected ), true, 'returns expected value' );
14651465
t.end();

0 commit comments

Comments
 (0)