Skip to content

Commit a448775

Browse files
authored
docs: update blas/ext/base/ndarray TypeScript declarations
PR-URL: #10477 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 823392d commit a448775

File tree

1 file changed

+1
-5
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/ndarray/docs/types

1 file changed

+1
-5
lines changed

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
@@ -469,7 +469,6 @@ interface Namespace {
469469
*
470470
* @example
471471
* var Float32Array = require( '@stdlib/array/float32' );
472-
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
473472
* var scalar2ndarray = require( '@stdlib/ndarray/base/from-scalar' );
474473
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
475474
*
@@ -482,13 +481,10 @@ interface Namespace {
482481
* var initial = scalar2ndarray( 0.0, 'float32', 'row-major' );
483482
*
484483
* var v = ns.scusum( [ x, y, initial ] );
485-
* // returns <ndarray>
484+
* // returns <ndarray>[ 1.0, 4.0, 8.0, 10.0 ]
486485
*
487486
* var bool = ( v === y );
488487
* // returns true
489-
*
490-
* var arr = ndarray2array( v );
491-
* // returns [ 1.0, 4.0, 8.0, 10.0 ]
492488
*/
493489
scusum: typeof scusum;
494490

0 commit comments

Comments
 (0)