Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions lib/node_modules/@stdlib/stats/nanmax/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ var uniform = require( '@stdlib/random/base/uniform' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var bernoulli = require( '@stdlib/random/base/bernoulli' );
var getDType = require( '@stdlib/ndarray/dtype' );
var ndarray2array = require( '@stdlib/ndarray/to-array' );
var ndarray = require( '@stdlib/ndarray/ctor' );
var nanmax = require( '@stdlib/stats/nanmax' );

Expand All @@ -200,7 +199,6 @@ var xbuf = filledarrayBy( 25, 'generic', rand );

// Wrap in an ndarray:
var x = new ndarray( 'generic', xbuf, [ 5, 5 ], [ 5, 1 ], 0, 'row-major' );
console.log( ndarray2array( x ) );

// Perform a reduction:
var y = nanmax( x, {
Expand All @@ -210,9 +208,7 @@ var y = nanmax( x, {
// Resolve the output array data type:
var dt = getDType( y );
console.log( dt );

// Print the results:
console.log( ndarray2array( y ) );
// => 'generic'
```

</section>
Expand Down