Skip to content

Commit 5ee2387

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

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
@@ -164,7 +164,6 @@ interface Namespace {
164164
* @example
165165
* var Float64Array = require( '@stdlib/array/float64' );
166166
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
167-
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
168167
* var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
169168
*
170169
* var xbuf = new Float64Array( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
@@ -183,10 +182,7 @@ interface Namespace {
183182
* });
184183
*
185184
* var out = ns.dlinspace( [ x, start, stop, endpoint ] );
186-
* // returns <ndarray>
187-
*
188-
* var arr = ndarray2array( out );
189-
* // returns [ 0.0, 20.0, 40.0, 60.0, 80.0, 100.0 ]
185+
* // returns <ndarray>[ 0.0, 20.0, 40.0, 60.0, 80.0, 100.0 ]
190186
*/
191187
dlinspace: typeof dlinspace;
192188

0 commit comments

Comments
 (0)