Skip to content

Commit 3fe5568

Browse files
Planeshifterkgryte
andauthored
docs: propagate fixes from develop across stats, blas, and plot siblings
PR-URL: #12267 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com> Signed-off-by: Athan Reines <kgryte@gmail.com>
1 parent 6742bc8 commit 3fe5568

16 files changed

Lines changed: 42 additions & 32 deletions

File tree

lib/node_modules/@stdlib/blas/base/gger/test/test.main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable max-len */
19+
/* eslint-disable max-len, stdlib/no-empty-lines-between-requires */
2020

2121
'use strict';
2222

@@ -358,7 +358,7 @@ tape( 'the function throws an error if provided an invalid tenth argument (acces
358358
}
359359
});
360360

361-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', function test( t ) {
361+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (row-major)', function test( t ) {
362362
var expected;
363363
var data;
364364
var out;
@@ -380,7 +380,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', functi
380380
t.end();
381381
});
382382

383-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major) (accessors)', function test( t ) {
383+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (row-major) (accessors)', function test( t ) {
384384
var expected;
385385
var data;
386386
var abuf;
@@ -404,7 +404,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major) (accesso
404404
t.end();
405405
});
406406

407-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major)', function test( t ) {
407+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (column-major)', function test( t ) {
408408
var expected;
409409
var data;
410410
var out;
@@ -426,7 +426,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major)', fun
426426
t.end();
427427
});
428428

429-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major) (accessors)', function test( t ) {
429+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (column-major) (accessors)', function test( t ) {
430430
var expected;
431431
var data;
432432
var abuf;

lib/node_modules/@stdlib/blas/base/gger/test/test.ndarray.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable max-len */
19+
/* eslint-disable max-len, stdlib/no-empty-lines-between-requires */
2020

2121
'use strict';
2222

@@ -268,7 +268,7 @@ tape( 'the function throws an error if provided an invalid eighth argument (acce
268268
}
269269
});
270270

271-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', function test( t ) {
271+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (row-major)', function test( t ) {
272272
var expected;
273273
var data;
274274
var out;
@@ -290,7 +290,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', functi
290290
t.end();
291291
});
292292

293-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major) (accessors)', function test( t ) {
293+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (row-major) (accessors)', function test( t ) {
294294
var expected;
295295
var data;
296296
var abuf;
@@ -315,7 +315,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major) (accesso
315315
t.end();
316316
});
317317

318-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major)', function test( t ) {
318+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (column-major)', function test( t ) {
319319
var expected;
320320
var data;
321321
var out;
@@ -337,7 +337,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major)', fun
337337
t.end();
338338
});
339339

340-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major) (accessors)', function test( t ) {
340+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (column-major) (accessors)', function test( t ) {
341341
var expected;
342342
var data;
343343
var abuf;

lib/node_modules/@stdlib/blas/base/sger/test/test.ndarray.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable max-len */
19+
/* eslint-disable max-len, stdlib/no-empty-lines-between-requires */
2020

2121
'use strict';
2222

@@ -44,6 +44,7 @@ var csa1nsa2n = require( './fixtures/column_major_sa1n_sa2n.json' );
4444
var ccap = require( './fixtures/column_major_complex_access_pattern.json' );
4545
var cx0 = require( './fixtures/column_major_x_zeros.json' );
4646
var cy0 = require( './fixtures/column_major_y_zeros.json' );
47+
4748
var rm = require( './fixtures/row_major.json' );
4849
var roa = require( './fixtures/row_major_oa.json' );
4950
var rox = require( './fixtures/row_major_ox.json' );
@@ -170,7 +171,7 @@ tape( 'the function throws an error if provided an invalid eighth argument', fun
170171
}
171172
});
172173

173-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', function test( t ) {
174+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (row-major)', function test( t ) {
174175
var expected;
175176
var data;
176177
var out;
@@ -192,7 +193,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', functi
192193
t.end();
193194
});
194195

195-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major)', function test( t ) {
196+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (column-major)', function test( t ) {
196197
var expected;
197198
var data;
198199
var out;

lib/node_modules/@stdlib/blas/base/sger/test/test.ndarray.native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable max-len */
19+
/* eslint-disable max-len, stdlib/no-empty-lines-between-requires */
2020

2121
'use strict';
2222

@@ -180,7 +180,7 @@ tape( 'the function throws an error if provided an invalid eighth argument', opt
180180
}
181181
});
182182

183-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', opts, function test( t ) {
183+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (row-major)', opts, function test( t ) {
184184
var expected;
185185
var data;
186186
var out;
@@ -202,7 +202,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', opts,
202202
t.end();
203203
});
204204

205-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major)', opts, function test( t ) {
205+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (column-major)', opts, function test( t ) {
206206
var expected;
207207
var data;
208208
var out;

lib/node_modules/@stdlib/blas/base/sger/test/test.sger.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable max-len */
19+
/* eslint-disable max-len, stdlib/no-empty-lines-between-requires */
2020

2121
'use strict';
2222

@@ -208,7 +208,7 @@ tape( 'the function throws an error if provided an invalid tenth argument', func
208208
}
209209
});
210210

211-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', function test( t ) {
211+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (row-major)', function test( t ) {
212212
var expected;
213213
var data;
214214
var out;
@@ -230,7 +230,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', functi
230230
t.end();
231231
});
232232

233-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major)', function test( t ) {
233+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (column-major)', function test( t ) {
234234
var expected;
235235
var data;
236236
var out;

lib/node_modules/@stdlib/blas/base/sger/test/test.sger.native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable max-len */
19+
/* eslint-disable max-len, stdlib/no-empty-lines-between-requires */
2020

2121
'use strict';
2222

@@ -217,7 +217,7 @@ tape( 'the function throws an error if provided an invalid tenth argument', opts
217217
}
218218
});
219219

220-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', opts, function test( t ) {
220+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (row-major)', opts, function test( t ) {
221221
var expected;
222222
var data;
223223
var out;
@@ -239,7 +239,7 @@ tape( 'the function the rank 1 operation `A = α*x*y^T + A` (row-major)', opts,
239239
t.end();
240240
});
241241

242-
tape( 'the function the rank 1 operation `A = α*x*y^T + A` (column-major)', opts, function test( t ) {
242+
tape( 'the function performs the rank 1 operation `A = α*x*y^T + A` (column-major)', opts, function test( t ) {
243243
var expected;
244244
var data;
245245
var out;

lib/node_modules/@stdlib/plot/components/svg/annotations/lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ var EventEmitter = require( 'events' ).EventEmitter;
2424
var logger = require( 'debug' );
2525
var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
2626
var inherit = require( '@stdlib/utils/inherit' );
27+
var zeros = require( '@stdlib/array/zeros' );
2728
var instanceOf = require( '@stdlib/assert/instance-of' );
2829
var render = require( './render.js' );
2930

@@ -75,7 +76,7 @@ function Annotations() {
7576
var args;
7677
var i;
7778
debug( 'Received a render event. Re-emitting...' );
78-
args = new Array( arguments.length+1 );
79+
args = zeros( arguments.length+1, 'generic' );
7980
args[ 0 ] = 'render';
8081
for ( i = 0; i < arguments.length; i++ ) {
8182
args[ i+1 ] = arguments[ i ];

lib/node_modules/@stdlib/plot/components/svg/axis/lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var linear = require( 'd3-scale' ).scaleLinear; // TODO: remove
2828
var defineProperty = require( '@stdlib/utils/define-property' );
2929
var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
3030
var copy = require( '@stdlib/utils/copy' );
31+
var zeros = require( '@stdlib/array/zeros' );
3132
var defaults = require( './defaults.json' );
3233
var validate = require( './validate.js' );
3334
var setScale = require( './props/scale/set.js' );
@@ -198,7 +199,7 @@ function Axis( options ) {
198199
var args;
199200
var i;
200201
debug( 'Received a render event. Re-emitting...' );
201-
args = new Array( arguments.length+1 );
202+
args = zeros( arguments.length+1, 'generic' );
202203
args[ 0 ] = 'render';
203204
for ( i = 0; i < arguments.length; i++ ) {
204205
args[ i+1 ] = arguments[ i ];

lib/node_modules/@stdlib/plot/components/svg/background/lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var logger = require( 'debug' );
2525
var defineProperty = require( '@stdlib/utils/define-property' );
2626
var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
2727
var copy = require( '@stdlib/utils/copy' );
28+
var zeros = require( '@stdlib/array/zeros' );
2829
var defaults = require( './defaults.json' );
2930
var validate = require( './validate.js' );
3031
var setWidth = require( './props/width/set.js' );
@@ -121,7 +122,7 @@ function Background( options ) {
121122
var args;
122123
var i;
123124
debug( 'Received a render event. Re-emitting...' );
124-
args = new Array( arguments.length+1 );
125+
args = zeros( arguments.length+1, 'generic' );
125126
args[ 0 ] = 'render';
126127
for ( i = 0; i < arguments.length; i++ ) {
127128
args[ i+1 ] = arguments[ i ];

lib/node_modules/@stdlib/plot/components/svg/canvas/lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var logger = require( 'debug' );
2525
var defineProperty = require( '@stdlib/utils/define-property' );
2626
var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
2727
var copy = require( '@stdlib/utils/copy' );
28+
var zeros = require( '@stdlib/array/zeros' );
2829
var defaults = require( './defaults.json' );
2930
var validate = require( './validate.js' );
3031
var setWidth = require( './props/width/set.js' );
@@ -121,7 +122,7 @@ function Canvas( options ) {
121122
var args;
122123
var i;
123124
debug( 'Received a render event. Re-emitting...' );
124-
args = new Array( arguments.length+1 );
125+
args = zeros( arguments.length+1, 'generic' );
125126
args[ 0 ] = 'render';
126127
for ( i = 0; i < arguments.length; i++ ) {
127128
args[ i+1 ] = arguments[ i ];

0 commit comments

Comments
 (0)