Skip to content

Commit a0169bc

Browse files
authored
docs: remove unused ndarray2array requires from README usage examples
PR-URL: #11194 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 3b257de commit a0169bc

12 files changed

Lines changed: 0 additions & 12 deletions

File tree

lib/node_modules/@stdlib/blas/ext/base/ndarray/gsort/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Sorts a one-dimensional ndarray.
4242

4343
```javascript
4444
var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
45-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
4645
var array = require( '@stdlib/ndarray/array' );
4746

4847
var x = array( [ 1.0, -2.0, 3.0, -4.0 ], {

lib/node_modules/@stdlib/blas/ext/base/ndarray/scircshift/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ Circularly shifts the elements of a one-dimensional single-precision floating-po
4343
```javascript
4444
var Float32Array = require( '@stdlib/array/float32' );
4545
var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
46-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
4746
var ndarray = require( '@stdlib/ndarray/base/ctor' );
4847

4948
var xbuf = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );

lib/node_modules/@stdlib/blas/ext/find-index/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ var idx = ndarray2array( out );
170170
By default, the function returns an [ndarray][@stdlib/ndarray/ctor] having a [data type][@stdlib/ndarray/dtypes] determined by the function's output data type [policy][@stdlib/ndarray/output-dtype-policies]. To override the default behavior, set the `dtype` option.
171171

172172
```javascript
173-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
174173
var dtype = require( '@stdlib/ndarray/dtype' );
175174
var array = require( '@stdlib/ndarray/array' );
176175

lib/node_modules/@stdlib/blas/ext/find-last-index/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ var idx = ndarray2array( out );
170170
By default, the function returns an [ndarray][@stdlib/ndarray/ctor] having a [data type][@stdlib/ndarray/dtypes] determined by the function's output data type [policy][@stdlib/ndarray/output-dtype-policies]. To override the default behavior, set the `dtype` option.
171171

172172
```javascript
173-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
174173
var dtype = require( '@stdlib/ndarray/dtype' );
175174
var array = require( '@stdlib/ndarray/array' );
176175

lib/node_modules/@stdlib/blas/ext/index-of/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ var idx = ndarray2array( out );
136136
By default, the function returns an [ndarray][@stdlib/ndarray/ctor] having a [data type][@stdlib/ndarray/dtypes] determined by the function's output data type [policy][@stdlib/ndarray/output-dtype-policies]. To override the default behavior, set the `dtype` option.
137137

138138
```javascript
139-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
140139
var dtype = require( '@stdlib/ndarray/dtype' );
141140
var array = require( '@stdlib/ndarray/array' );
142141

lib/node_modules/@stdlib/blas/ext/last-index-of/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ var idx = ndarray2array( out );
136136
By default, the function returns an [ndarray][@stdlib/ndarray/ctor] having a [data type][@stdlib/ndarray/dtypes] determined by the function's output data type [policy][@stdlib/ndarray/output-dtype-policies]. To override the default behavior, set the `dtype` option.
137137

138138
```javascript
139-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
140139
var dtype = require( '@stdlib/ndarray/dtype' );
141140
var array = require( '@stdlib/ndarray/array' );
142141

lib/node_modules/@stdlib/ndarray/base/fliplr/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Returns a view of an input ndarray in which the order of elements along the last
4747
```javascript
4848
var ndarray = require( '@stdlib/ndarray/ctor' );
4949
var getShape = require( '@stdlib/ndarray/shape' );
50-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
5150

5251
var buffer = [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ];
5352
var shape = [ 3, 2 ];

lib/node_modules/@stdlib/ndarray/base/unary-strided1d-dispatch-factory/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ By default, the function returns an ndarray having a data type determined by the
129129
<!-- eslint-disable id-length -->
130130

131131
```javascript
132-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
133132
var ndarray = require( '@stdlib/ndarray/base/ctor' );
134133
var base = require( '@stdlib/stats/base/ndarray/cumax' );
135134
var getDType = require( '@stdlib/ndarray/dtype' );

lib/node_modules/@stdlib/ndarray/base/unary-strided1d-dispatch/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ By default, the method returns an ndarray having a data type determined by the o
128128

129129
```javascript
130130
var ndarray = require( '@stdlib/ndarray/base/ctor' );
131-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
132131
var base = require( '@stdlib/stats/base/ndarray/cumax' );
133132
var getDType = require( '@stdlib/ndarray/dtype' );
134133

lib/node_modules/@stdlib/ndarray/spread-dimensions/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ var spreadDimensions = require( '@stdlib/ndarray/spread-dimensions' );
4545
Returns a read-only view of an input [ndarray][@stdlib/ndarray/ctor] where the dimensions of the input [ndarray][@stdlib/ndarray/ctor] are expanded to a specified dimensionality by spreading dimensions to specified dimension indices and inserting dimensions of size one for the remaining dimensions.
4646

4747
```javascript
48-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
4948
var array = require( '@stdlib/ndarray/array' );
5049

5150
// Create a 2x2 ndarray:

0 commit comments

Comments
 (0)