Skip to content

Commit 6842bf3

Browse files
committed
chore: changes
1 parent 5d67705 commit 6842bf3

File tree

1 file changed

+1
-5
lines changed
  • lib/node_modules/@stdlib/stats/maxabs

1 file changed

+1
-5
lines changed

lib/node_modules/@stdlib/stats/maxabs/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ The function accepts the following options:
5757
By default, the function performs a reduction over all elements in a provided input [ndarray][@stdlib/ndarray/ctor]. To perform a reduction over specific dimensions, provide a `dims` option.
5858

5959
```javascript
60-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
6160
var array = require( '@stdlib/ndarray/array' );
6261

6362
var x = array( [ -1.0, 2.0, -3.0, 4.0 ], {
@@ -85,16 +84,13 @@ y = maxabs( x, {
8584
By default, the function excludes reduced dimensions from the output [ndarray][@stdlib/ndarray/ctor]. To include the reduced dimensions as singleton dimensions, set the `keepdims` option to `true`.
8685

8786
```javascript
88-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
8987
var array = require( '@stdlib/ndarray/array' );
9088

9189
var x = array( [ -1.0, 2.0, -3.0, 4.0 ], {
9290
'shape': [ 2, 2 ],
9391
'order': 'row-major'
9492
});
95-
96-
var v = ndarray2array( x );
97-
// returns [ [ -1.0, 2.0 ], [ -3.0, 4.0 ] ]
93+
// returns <ndarray>[ [ -1.0, 2.0 ], [ -3.0, 4.0 ] ]
9894

9995
var y = maxabs( x, {
10096
'dims': [ 0 ],

0 commit comments

Comments
 (0)