Skip to content

Commit 50d63ee

Browse files
committed
Auto-generated commit
1 parent 6b550ec commit 50d63ee

File tree

39 files changed

+62
-48
lines changed

39 files changed

+62
-48
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@
128128

129129
### Bug Fixes
130130

131+
- [`d3426a4`](https://github.com/stdlib-js/stdlib/commit/d3426a41ee92d8024bf7fc03d200aa98fb62a6f0) - use correct dimensions for array
132+
- [`aa59ef8`](https://github.com/stdlib-js/stdlib/commit/aa59ef8461be08dc612cf4826bb020915d362239) - pass in correct number of arguments
131133
- [`179f005`](https://github.com/stdlib-js/stdlib/commit/179f005163d265ff38f7571465c2514f8ccb22cf) - use correct variable name
132134
- [`4252199`](https://github.com/stdlib-js/stdlib/commit/42521999bf5751baf748fb1e9528c9c4b31a9116) - ensure byte offset is a multiple of data type byte length
133135
- [`c54d1e0`](https://github.com/stdlib-js/stdlib/commit/c54d1e095143ad68529927fe76e8ddc435592a19) - revert iterator type change
@@ -214,6 +216,13 @@ A total of 32 issues were closed in this release:
214216

215217
<details>
216218

219+
- [`b128b6a`](https://github.com/stdlib-js/stdlib/commit/b128b6a25775d9b319c83a9dbb521d8d9c45b8c2) - **chore:** fix ExpectType by supplying correct number of generic parameters _(by Philipp Burckhardt)_
220+
- [`4ec1d6d`](https://github.com/stdlib-js/stdlib/commit/4ec1d6d67d746b2231ae18bfaaeb2ee5a9f40697) - **docs:** minor clean-up _(by Philipp Burckhardt)_
221+
- [`d3426a4`](https://github.com/stdlib-js/stdlib/commit/d3426a41ee92d8024bf7fc03d200aa98fb62a6f0) - **fix:** use correct dimensions for array _(by Philipp Burckhardt)_
222+
- [`27d6b62`](https://github.com/stdlib-js/stdlib/commit/27d6b6263dca9fe45e1977103f142226d09a08be) - **docs:** minor clean-up _(by Philipp Burckhardt)_
223+
- [`2773163`](https://github.com/stdlib-js/stdlib/commit/2773163cd9baa364dcfe3c070afcc00bf4e98c27) - **chore:** update initial value and clean-up _(by Philipp Burckhardt)_
224+
- [`aa59ef8`](https://github.com/stdlib-js/stdlib/commit/aa59ef8461be08dc612cf4826bb020915d362239) - **fix:** pass in correct number of arguments _(by Philipp Burckhardt)_
225+
- [`28a6474`](https://github.com/stdlib-js/stdlib/commit/28a64749d12c05ecd840af6f5a4e14a343c6efc0) - **docs:** fix example code _(by Philipp Burckhardt)_
217226
- [`f925c9c`](https://github.com/stdlib-js/stdlib/commit/f925c9cacd01012cc8a8f74eb3f45cbe69a4bbb0) - **chore:** minor clean-up _(by Philipp Burckhardt)_
218227
- [`21bfa5b`](https://github.com/stdlib-js/stdlib/commit/21bfa5b1ebed46573ed2b501de7dae2b927c4513) - **chore:** minor clean-up _(by Philipp Burckhardt)_
219228
- [`fd7b7eb`](https://github.com/stdlib-js/stdlib/commit/fd7b7eb341227a6627d70044979b5edfebd5f692) - **refactor:** use assert utility _(by Athan Reines)_

base/broadcasted-quaternary3d/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ var w = filled3dBy( shapes[ 3 ], discreteUniform( -100, 100 ) );
116116
console.log( w );
117117

118118
var out = zeros3d( shapes[ 4 ] );
119-
console.log( z );
119+
console.log( out );
120120

121121
bquaternary3d( [ x, y, z, w, out ], shapes, add );
122122
console.log( out );

base/broadcasted-quaternary4d/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ bquaternary4d( [ x, y, z, w, out ], shapes, add );
6464

6565
The function accepts the following arguments:
6666

67-
- **arrays**: array-like object containing two input nested arrays and one output nested array.
67+
- **arrays**: array-like object containing four input nested arrays and one output nested array.
6868
- **shapes**: array shapes.
6969
- **fcn**: quaternary function to apply.
7070

@@ -116,7 +116,7 @@ var w = filled4dBy( shapes[ 3 ], discreteUniform( -100, 100 ) );
116116
console.log( w );
117117

118118
var out = zeros4d( shapes[ 4 ] );
119-
console.log( z );
119+
console.log( out );
120120

121121
bquaternary4d( [ x, y, z, w, out ], shapes, add );
122122
console.log( out );

base/broadcasted-quaternary5d/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ var w = filled5dBy( shapes[ 3 ], discreteUniform( -100, 100 ) );
116116
console.log( w );
117117

118118
var out = zeros5d( shapes[ 4 ] );
119-
console.log( z );
119+
console.log( out );
120120

121121
bquaternary5d( [ x, y, z, w, out ], shapes, add );
122122
console.log( out );

base/count-ifs/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ declare function countIfs<T = unknown, U extends InputArray<T> = InputArray<T>>(
144144
* var x1 = [ -1, -2, 4, 5, -8 ];
145145
* var x2 = [ 0, 4, 3, 2, 12 ];
146146
*
147-
* var n = countIfs( x0, predicate0, x1, predicate1 );
147+
* var n = countIfs( x0, predicate0, x1, predicate1, x2, predicate2 );
148148
* // returns 2
149149
*/
150150
declare function countIfs<T = unknown, U extends InputArray<T> = InputArray<T>>( x0: U, predicate0: Predicate<T, U>, x1: U, predicate1: Predicate<T, U>, x2: U, predicate2: Predicate<T, U> ): number;
@@ -230,7 +230,7 @@ declare function countIfs<T = unknown, U extends InputArray<T> = InputArray<T>>(
230230
* var x1 = [ -1, -2, 4, 5, -8 ];
231231
* var x2 = [ 0, 4, 3, 2, 12 ];
232232
* var x3 = [ 2, 9, 3, 6, 5 ];
233-
* var x4 = [ false, true, false, true, true ]
233+
* var x4 = [ false, true, false, true, true ];
234234
*
235235
* var n = countIfs( x0, predicate0, x1, predicate1, x3, predicate3, x4, predicate4 );
236236
* // returns 2

base/count-same-value-zero/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ function boolean( x, value ) {
196196
* // returns 2
197197
*/
198198
function countSameValueZero( x, value ) {
199-
if ( isAccessorArray( x, value ) ) {
200-
if ( isComplexTypedArray( x, value ) ) {
199+
if ( isAccessorArray( x ) ) {
200+
if ( isComplexTypedArray( x ) ) {
201201
return complex( x, value );
202202
}
203-
if ( isBooleanArray( x, value ) ) {
203+
if ( isBooleanArray( x ) ) {
204204
return boolean( x, value );
205205
}
206206
return accessors( x, value );

base/count-same-value/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ function boolean( x, value ) {
196196
* // returns 3
197197
*/
198198
function countSameValue( x, value ) {
199-
if ( isAccessorArray( x, value ) ) {
200-
if ( isComplexTypedArray( x, value ) ) {
199+
if ( isAccessorArray( x ) ) {
200+
if ( isComplexTypedArray( x ) ) {
201201
return complex( x, value );
202202
}
203-
if ( isBooleanArray( x, value ) ) {
203+
if ( isBooleanArray( x ) ) {
204204
return boolean( x, value );
205205
}
206206
return accessors( x, value );

base/cuany-by/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type Ternary<T, U> = ( this: U, value: T, index: number, arr: Collection<T> | Ac
6767
type Predicate<T, U> = Nullary<U> | Unary<T, U> | Binary<T, U> | Ternary<T, U>;
6868

6969
/**
70-
* Interface describing `cunanyBy`.
70+
* Interface describing `cuanyBy`.
7171
*/
7272
interface CuAnyBy {
7373
/**
@@ -86,7 +86,7 @@ interface CuAnyBy {
8686
* var x = [ 0, 0, 0, 1, 0 ];
8787
*
8888
* var y = cuanyBy( x, isPositive );
89-
* // returns [ false, false, false, true, true ];
89+
* // returns [ false, false, false, true, true ];
9090
*/
9191
<T = unknown, U = unknown>( x: Collection<T> | AccessorArrayLike<T>, predicate: Predicate<T, U>, thisArg?: ThisParameterType<Predicate<T, U>> ): Array<boolean>;
9292

base/cuany/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ interface CuAny {
3636
* var x = [ false, false , true, false , false ];
3737
*
3838
* var y = cuany( x );
39-
* // returns [ false, false, true, true, true ];
39+
* // returns [ false, false, true, true, true ];
4040
*/
4141
( x: Collection | AccessorArrayLike<any> ): Array<boolean>;
4242

@@ -53,7 +53,7 @@ interface CuAny {
5353
* var x = [ false, false, true, false, false ];
5454
* var y = [ false, null, false, null, false, null, false, null, false, null ];
5555
*
56-
* var arr = cuany.assign( x, y, 2, 0 );,
56+
* var arr = cuany.assign( x, y, 2, 0 );
5757
* // returns [ false, null, false, null, true, null, true, null, true, null ];
5858
*/
5959
assign<T, U extends Collection<T> | AccessorArrayLike<T>>( x: Collection | AccessorArrayLike<any>, y: U, stride: number, offset: number ): U;

base/cuevery-by-right/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ interface CueveryByRight {
188188
* var x = [ 1, 0, 0, 1, 1 ];
189189
* var y = [ false, null, false, null, false, null, false, null, false, null ];
190190
*
191-
* var arr = cueveryByRight.assign( x, 2, y, 2, 0, isPositive );
191+
* var arr = cueveryByRight.assign( x, y, 2, 0, isPositive );
192192
* // returns [ true, null, true, null, false, null, false, null, false, null ]
193193
*/
194194
declare var cueveryByRight: CueveryByRight;

base/cuevery-by-right/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var assign = require( './assign.js' );
4545
* // returns [ true, true, true, false, false ]
4646
*/
4747
function cueveryByRight( x, predicate, thisArg ) {
48-
var out = filled( false, x.length );
48+
var out = filled( true, x.length );
4949
return assign( x, out, 1, 0, predicate, thisArg );
5050
}
5151

base/cuevery-by/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ interface CuEveryBy {
8585
* var x = [ 1, 1, 1, 0, 0 ];
8686
*
8787
* var y = cueveryBy( x, isPositive );
88-
* // returns [ true, true, true, false, false ];
88+
* // returns [ true, true, true, false, false ];
8989
*/
9090
<T = unknown, U = unknown>( x: Collection<T> | AccessorArrayLike<T>, predicate: Predicate<T, U>, thisArg?: ThisParameterType<Predicate<T, U>> ): Array<boolean>;
9191

base/cuevery-by/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var assign = require( './assign.js' );
3636
*
3737
* @example
3838
* function isPositive( value ) {
39-
* return ( value > 0 );
39+
* return ( value > 0 );
4040
* }
4141
*
4242
* var x = [ 1, 1, 1, 0, 1 ];
@@ -45,7 +45,7 @@ var assign = require( './assign.js' );
4545
* // returns [ true, true, true, false, false ]
4646
*/
4747
function cueveryBy( x, predicate, thisArg ) {
48-
var out = filled( false, x.length );
48+
var out = filled( true, x.length );
4949
return assign( x, out, 1, 0, predicate, thisArg );
5050
}
5151

base/cuevery/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ interface CuEvery {
3636
* var x = [ true, true, true, false, true ];
3737
*
3838
* var y = cuevery( x );
39-
* // returns [ true, true, true, false, false ];
39+
* // returns [ true, true, true, false, false ];
4040
*/
4141
( x: Collection | AccessorArrayLike<any> ): Array<boolean>;
4242

base/cuevery/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var assign = require( './assign.js' );
2727
// MAIN //
2828

2929
/**
30-
* Cumulatively tests whether at every element in a provided array is truthy.
30+
* Cumulatively tests whether every element in a provided array is truthy.
3131
*
3232
* @param {Collection} x - input array
3333
* @returns {Array} output array

base/cunone-by-right/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var assign = require( './assign.js' );
4545
* // returns [ true, true, true, false, false ]
4646
*/
4747
function cunoneByRight( x, predicate, thisArg ) {
48-
var out = filled( false, x.length );
48+
var out = filled( true, x.length );
4949
return assign( x, out, 1, 0, predicate, thisArg );
5050
}
5151

base/cunone-by/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var assign = require( './assign.js' );
3131
*
3232
* @param {Collection} x - input array
3333
* @param {Function} predicate - predicate function
34-
* @param {*} [thisArg] - predicate function
34+
* @param {*} [thisArg] - execution context
3535
* @returns {Array} output array
3636
*
3737
* @example
@@ -45,7 +45,7 @@ var assign = require( './assign.js' );
4545
* // returns [ true, true, true, false, false ]
4646
*/
4747
function cunoneBy( x, predicate, thisArg ) {
48-
var out = filled( false, x.length );
48+
var out = filled( true, x.length );
4949
return assign( x, out, 1, 0, predicate, thisArg );
5050
}
5151

base/cunone/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2024 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

base/cunone/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var assign = require( './assign.js' );
2727
// MAIN //
2828

2929
/**
30-
* Cumulatively tests whether at every element in a provided array is falsy.
30+
* Cumulatively tests whether every element in a provided array is falsy.
3131
*
3232
* @param {Collection} x - input array
3333
* @returns {Array} output array

base/cusome/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var assign = require( './assign.js' );
4040
* // returns [ false, false, false, false, true ]
4141
*/
4242
function cusome( x, n ) {
43-
var y = filled( true, x.length );
43+
var y = filled( false, x.length );
4444
return assign( x, n, y, 1, 0 );
4545
}
4646

base/filled4d-by/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ var ctx = {
7272
};
7373

7474
var out = filled4dBy( [ 1, 1, 2, 3 ], clbk, ctx );
75-
// returns [ [ [ [ 1.0, 1.0, 1.0 ], [ 1.0, 1.0, 1.0 ] ] ] ];
75+
// returns [ [ [ [ 1.0, 1.0, 1.0 ], [ 1.0, 1.0, 1.0 ] ] ] ]
7676

7777
var cnt = ctx.count;
7878
// returns 6

base/filled4d-by/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type Callback<T, V> = Nullary<T, V> | Unary<T, V>;
4848
/**
4949
* Four-dimensional nested array.
5050
*/
51-
type Array4D<T> = Array<Array<Array<T>>>;
51+
type Array4D<T> = Array<Array<Array<Array<T>>>>;
5252

5353
/**
5454
* Returns a filled four-dimensional nested array according to a provided callback function.

base/filled4d/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { Shape4D } from '@stdlib/types/ndarray';
2525
/**
2626
* Four-dimensional nested array.
2727
*/
28-
type Array4D<T> = Array<Array<Array<T>>>;
28+
type Array4D<T> = Array<Array<Array<Array<T>>>>;
2929

3030
/**
3131
* Returns a filled four-dimensional nested array.

base/fillednd-by/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ var ctx = {
7272
};
7373

7474
var out = filledndBy( [ 1, 1, 1, 2, 3 ], clbk, ctx );
75-
// returns [ [ [ [ [ 1.0, 1.0, 1.0 ], [ 1.0, 1.0, 1.0 ] ] ] ] ];
75+
// returns [ [ [ [ [ 1.0, 1.0, 1.0 ], [ 1.0, 1.0, 1.0 ] ] ] ] ]
7676

7777
var cnt = ctx.count;
7878
// returns 6

base/fillednd/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function recurse( value, ndims, shape, dim, out ) {
6060
// MAIN //
6161

6262
/**
63-
* Returns a filled two-dimensional nested array.
63+
* Returns a filled n-dimensional nested array.
6464
*
6565
* @param {*} value - fill value
6666
* @param {NonNegativeIntegerArray} shape - array shape

base/filter/docs/types/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ declare function filter<T = unknown, U = unknown>( x: Complex64Array, predicate:
296296
* @returns output array
297297
*
298298
* @example
299+
* var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
300+
*
299301
* var x = [ 1, -2, -3, 4 ];
300302
*
301303
* var out = filter( x, isPositiveNumber );
@@ -312,6 +314,7 @@ declare function filter<T = unknown, U = unknown>( x: Array<T>, predicate: Predi
312314
* @returns output array
313315
*
314316
* @example
317+
* var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
315318
* var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
316319
*
317320
* var x = toAccessorArray( [ 1, -2, -3, 4 ] );
@@ -330,6 +333,8 @@ declare function filter<T = unknown, U = unknown>( x: AccessorArrayLike<T>, pred
330333
* @returns output array
331334
*
332335
* @example
336+
* var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
337+
*
333338
* var x = [ 1, -2, -3, 4 ];
334339
*
335340
* var out = filter( x, isPositiveNumber );

base/flatten2d-by/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ interface Flatten2dBy {
134134
*
135135
* var x = [ [ 1, 2 ], [ 3, 4 ] ];
136136
*
137-
* var out = flatten2dBy( x, [ 2, 2 ], false, new Float64Array( 4 ), 1, 0, scale );
137+
* var out = flatten2dBy.assign( x, [ 2, 2 ], false, new Float64Array( 4 ), 1, 0, scale );
138138
* // returns <Float64Array>[ 2, 4, 6, 8 ]
139139
*
140140
* @example
@@ -146,7 +146,7 @@ interface Flatten2dBy {
146146
*
147147
* var x = [ [ 1, 2 ], [ 3, 4 ] ];
148148
*
149-
* var out = flatten2dBy( x, [ 2, 2 ], true, new Float64Array( 4 ), 1, 0, scale );
149+
* var out = flatten2dBy.assign( x, [ 2, 2 ], true, new Float64Array( 4 ), 1, 0, scale );
150150
* // returns <Float64Array>[ 2, 6, 4, 8 ]
151151
*/
152152
assign<T = unknown, U = unknown, V = unknown, W = unknown>( x: Array2D<T>, shape: Shape2D, colexicographic: boolean, out: Collection<V>, stride: number, offset: number, clbk: Callback<T, U, W>, thisArg?: ThisParameterType<Callback<T, U, W>> ): Collection<U | V>;

base/fliplr4d/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @module @stdlib/array/base/fliplr4d
2525
*
2626
* @example
27-
* var fliplr = require( '@stdlib/array/base/fliplr4d' );
27+
* var fliplr4d = require( '@stdlib/array/base/fliplr4d' );
2828
*
2929
* var x = [ [ [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ] ] ];
3030
*

base/fliplr5d/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @module @stdlib/array/base/fliplr5d
2525
*
2626
* @example
27-
* var fliplr = require( '@stdlib/array/base/fliplr5d' );
27+
* var fliplr5d = require( '@stdlib/array/base/fliplr5d' );
2828
*
2929
* var x = [ [ [ [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ] ] ] ];
3030
*

base/flipud2d/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @module @stdlib/array/base/flipud2d
2525
*
2626
* @example
27-
* var flipud = require( '@stdlib/array/base/flipud2d' );
27+
* var flipud2d = require( '@stdlib/array/base/flipud2d' );
2828
*
2929
* var x = [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ];
3030
*

base/flipud3d/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @module @stdlib/array/base/flipud3d
2525
*
2626
* @example
27-
* var flipud = require( '@stdlib/array/base/flipud3d' );
27+
* var flipud3d = require( '@stdlib/array/base/flipud3d' );
2828
*
2929
* var x = [ [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ] ];
3030
*

base/flipud4d/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @module @stdlib/array/base/flipud4d
2525
*
2626
* @example
27-
* var flipud = require( '@stdlib/array/base/flipud4d' );
27+
* var flipud4d = require( '@stdlib/array/base/flipud4d' );
2828
*
2929
* var x = [ [ [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ] ] ];
3030
*

0 commit comments

Comments
 (0)