Skip to content

Commit ac4c4d6

Browse files
authored
docs: update blas/ext TypeScript declarations
PR-URL: #10286 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent 82dbb56 commit ac4c4d6

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

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

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,33 +48,25 @@ interface Namespace {
4848
* @returns output ndarray
4949
*
5050
* @example
51-
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
5251
* var array = require( '@stdlib/ndarray/array' );
5352
*
5453
* var x = array( [ -1.0, 2.0, -3.0 ] );
5554
*
5655
* var y = ns.cusum( x );
57-
* // returns <ndarray>
58-
*
59-
* var arr = ndarray2array( y );
60-
* // returns [ -1.0, 1.0, -2.0 ]
56+
* // returns <ndarray>[ -1.0, 1.0, -2.0 ]
6157
*
6258
* @example
63-
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
6459
* var zerosLike = require( '@stdlib/ndarray/zeros-like' );
6560
* var array = require( '@stdlib/ndarray/array' );
6661
*
6762
* var x = array( [ -1.0, 2.0, -3.0 ] );
6863
* var y = zerosLike( x );
6964
*
7065
* var out = ns.cusum.assign( x, y );
71-
* // returns <ndarray>
66+
* // returns <ndarray>[ -1.0, 1.0, -2.0 ]
7267
*
7368
* var bool = ( out === y );
7469
* // returns true
75-
*
76-
* var arr = ndarray2array( out );
77-
* // returns [ -1.0, 1.0, -2.0 ]
7870
*/
7971
cusum: typeof cusum;
8072

0 commit comments

Comments
 (0)