Skip to content

Commit 849495e

Browse files
authored
docs: update example
PR-URL: #11519 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 2505815 commit 849495e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • lib/node_modules/@stdlib/blas/ext/base/ndarray/docs/types

lib/node_modules/@stdlib/blas/ext/base/ndarray/docs/types/index.d.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,6 @@ interface Namespace {
582582
*
583583
* @example
584584
* var Float64Array = require( '@stdlib/array/float64' );
585-
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
586585
* var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
587586
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
588587
*
@@ -594,10 +593,7 @@ interface Namespace {
594593
* });
595594
*
596595
* var out = ns.dsorthp( [ x, ord ] );
597-
* // returns <ndarray>
598-
*
599-
* var arr = ndarray2array( out );
600-
* // returns [ -4.0, -2.0, 1.0, 3.0 ]
596+
* // returns <ndarray>[ -4.0, -2.0, 1.0, 3.0 ]
601597
*/
602598
dsorthp: typeof dsorthp;
603599

0 commit comments

Comments
 (0)