Skip to content

Commit 17fd10b

Browse files
authored
docs: update blas/ext/base/ndarray TypeScript declarations
PR-URL: #10310 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent a253e63 commit 17fd10b

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
@@ -246,7 +246,6 @@ interface Namespace {
246246
* @returns output ndarray
247247
*
248248
* @example
249-
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
250249
* var scalar2ndarray = require( '@stdlib/ndarray/base/from-scalar' );
251250
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
252251
*
@@ -259,13 +258,10 @@ interface Namespace {
259258
* var initial = scalar2ndarray( 0.0, 'generic', 'row-major' );
260259
*
261260
* var v = ns.gcusum( [ x, y, initial ] );
262-
* // returns <ndarray>
261+
* // returns <ndarray>[ 1.0, 4.0, 8.0, 10.0 ]
263262
*
264263
* var bool = ( v === y );
265264
* // returns true
266-
*
267-
* var arr = ndarray2array( v );
268-
* // returns [ 1.0, 4.0, 8.0, 10.0 ]
269265
*/
270266
gcusum: typeof gcusum;
271267

0 commit comments

Comments
 (0)