Skip to content

Commit 49db6a6

Browse files
committed
docs: remove unused ndarray2array requires from README usage examples
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent eec976a commit 49db6a6

File tree

12 files changed

+0
-12
lines changed

12 files changed

+0
-12
lines changed

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)