From a9f37ffb35d282192e1688c3e76de508a408a397 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sun, 7 Jan 2024 23:39:32 +0000 Subject: [PATCH] Auto-generated commit --- README.md | 3 + base/README.md | 3 + base/assert/docs/types/index.d.ts | 2 +- .../assert/is-read-only/docs/types/index.d.ts | 2 +- base/assign/docs/types/index.d.ts | 4 +- base/broadcast-array/docs/types/index.d.ts | 2 +- base/broadcast-scalar/docs/types/index.d.ts | 4 +- base/buffer-dtype-enum/docs/types/index.d.ts | 2 +- base/data-buffer/docs/types/index.d.ts | 26 +- base/docs/types/index.d.ts | 128 ++--- base/dtype-enum2str/docs/types/index.d.ts | 2 +- base/dtype-resolve-str/docs/types/index.d.ts | 2 +- base/dtype/docs/types/index.d.ts | 2 +- base/empty-like/docs/types/index.d.ts | 24 +- base/expand-dimensions/docs/types/index.d.ts | 2 +- base/flag/docs/types/index.d.ts | 2 +- base/flags/docs/types/index.d.ts | 2 +- base/fliplr/docs/types/index.d.ts | 78 +-- base/flipud/docs/types/index.d.ts | 78 +-- base/from-scalar/docs/types/index.d.ts | 4 +- .../docs/types/index.d.ts | 2 +- base/ndarraylike2object/docs/types/index.d.ts | 2 +- base/ndims/docs/types/index.d.ts | 2 +- base/nullary/docs/types/index.d.ts | 4 +- base/numel-dimension/docs/types/index.d.ts | 2 +- base/offset/docs/types/index.d.ts | 2 +- base/order/docs/types/index.d.ts | 2 +- .../docs/types/index.d.ts | 2 +- .../docs/types/index.d.ts | 2 +- .../docs/types/index.d.ts | 2 +- .../docs/types/index.d.ts | 2 +- base/reverse-dimension/docs/types/index.d.ts | 78 +-- base/reverse/docs/types/index.d.ts | 78 +-- .../serialize-meta-data/docs/types/index.d.ts | 2 +- base/shape/docs/types/index.d.ts | 2 +- base/slice-assign/docs/types/index.d.ts | 152 +++--- .../docs/types/index.d.ts | 74 +-- base/slice-dimension-to/docs/types/index.d.ts | 74 +-- base/slice-dimension/docs/types/index.d.ts | 100 ++-- base/slice-from/docs/types/index.d.ts | 74 +-- base/slice-to/docs/types/index.d.ts | 74 +-- base/slice/docs/types/index.d.ts | 126 ++--- base/stride/docs/types/index.d.ts | 2 +- base/strides/docs/types/index.d.ts | 2 +- base/transpose/docs/types/index.d.ts | 28 +- base/unary-by/docs/types/index.d.ts | 6 +- base/unary/docs/types/index.d.ts | 4 +- base/zeros-like/docs/types/index.d.ts | 24 +- broadcast-array/docs/types/index.d.ts | 2 +- data-buffer/docs/types/index.d.ts | 26 +- dispatch/docs/types/index.d.ts | 44 +- docs/types/index.d.ts | 76 +-- dtype/docs/types/index.d.ts | 2 +- empty-like/docs/types/index.d.ts | 46 +- flag/docs/types/index.d.ts | 2 +- flags/docs/types/index.d.ts | 2 +- from-scalar/docs/types/index.d.ts | 4 +- iter/column-entries/docs/types/index.d.ts | 4 +- iter/columns/docs/types/index.d.ts | 4 +- iter/docs/types/index.d.ts | 36 +- iter/entries/docs/types/index.d.ts | 2 +- iter/indices/docs/types/index.d.ts | 2 +- iter/matrices/docs/types/index.d.ts | 4 +- iter/matrix-entries/docs/types/index.d.ts | 4 +- iter/row-entries/docs/types/index.d.ts | 4 +- iter/rows/docs/types/index.d.ts | 4 +- iter/to-array-each/docs/types/index.d.ts | 6 +- iter/values/docs/types/index.d.ts | 2 +- maybe-broadcast-array/docs/types/index.d.ts | 2 +- ndims/docs/types/index.d.ts | 2 +- numel-dimension/docs/types/index.d.ts | 2 +- numel/docs/types/index.d.ts | 2 +- offset/docs/types/index.d.ts | 2 +- order/docs/types/index.d.ts | 2 +- shape/docs/types/index.d.ts | 2 +- slice-assign/docs/types/index.d.ts | 456 +++++++++--------- slice-dimension-from/docs/types/index.d.ts | 74 +-- slice-dimension-to/docs/types/index.d.ts | 74 +-- slice-dimension/docs/types/index.d.ts | 100 ++-- slice-from/docs/types/index.d.ts | 148 +++--- slice-to/docs/types/index.d.ts | 148 +++--- slice/docs/types/index.d.ts | 378 +++++++-------- stride/docs/types/index.d.ts | 2 +- strides/docs/types/index.d.ts | 2 +- to-array/docs/types/index.d.ts | 2 +- zeros-like/docs/types/index.d.ts | 46 +- 86 files changed, 1511 insertions(+), 1505 deletions(-) diff --git a/README.md b/README.md index 1283c07c..8faf05a2 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ In addition, the namespace contains the following multidimensional array utility - [`ndarrayMostlySafeCasts( [dtype] )`][@stdlib/ndarray/mostly-safe-casts]: return a list of ndarray data types to which a provided ndarray data type can be safely cast and, for floating-point data types, can be downcast. - [`ndims( x )`][@stdlib/ndarray/ndims]: return the number of ndarray dimensions. - [`ndarrayNextDataType( [dtype] )`][@stdlib/ndarray/next-dtype]: return the next larger ndarray data type of the same kind. +- [`numelDimension( x, dim )`][@stdlib/ndarray/numel-dimension]: return the size (i.e., number of elements) of a specified dimension for a provided ndarray. - [`numel( x )`][@stdlib/ndarray/numel]: return the number of elements in an ndarray. - [`ndarrayOffset( x )`][@stdlib/ndarray/offset]: return the index offset specifying the underlying buffer index of the first iterated ndarray element. - [`ndarrayOrder( x )`][@stdlib/ndarray/order]: return the layout order of a provided ndarray. @@ -300,6 +301,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [@stdlib/ndarray/next-dtype]: https://github.com/stdlib-js/ndarray/tree/main/next-dtype +[@stdlib/ndarray/numel-dimension]: https://github.com/stdlib-js/ndarray/tree/main/numel-dimension + [@stdlib/ndarray/numel]: https://github.com/stdlib-js/ndarray/tree/main/numel [@stdlib/ndarray/offset]: https://github.com/stdlib-js/ndarray/tree/main/offset diff --git a/base/README.md b/base/README.md index ad864f54..23e044ca 100644 --- a/base/README.md +++ b/base/README.md @@ -94,6 +94,7 @@ var o = ns; - [`nullaryLoopOrder( shape, stridesX )`][@stdlib/ndarray/base/nullary-loop-interchange-order]: reorder ndarray dimensions and associated strides for loop interchange. - [`nullaryBlockSize( dtypeX )`][@stdlib/ndarray/base/nullary-tiling-block-size]: resolve a loop block size for multi-dimensional array tiled loops. - [`nullary( arrays, fcn )`][@stdlib/ndarray/base/nullary]: apply a nullary callback and assign results to elements in an output ndarray. +- [`numelDimension( x, dim )`][@stdlib/ndarray/base/numel-dimension]: return the size (i.e., number of elements) of a specified dimension for a provided ndarray. - [`numel( shape )`][@stdlib/ndarray/base/numel]: return the number of elements in an array. - [`offset( x )`][@stdlib/ndarray/base/offset]: return the index offset specifying the underlying buffer index of the first iterated ndarray element. - [`order( x )`][@stdlib/ndarray/base/order]: return the layout order of a provided ndarray. @@ -290,6 +291,8 @@ console.log( objectKeys( ns ) ); [@stdlib/ndarray/base/nullary]: https://github.com/stdlib-js/ndarray/tree/main/base/nullary +[@stdlib/ndarray/base/numel-dimension]: https://github.com/stdlib-js/ndarray/tree/main/base/numel-dimension + [@stdlib/ndarray/base/numel]: https://github.com/stdlib-js/ndarray/tree/main/base/numel [@stdlib/ndarray/base/offset]: https://github.com/stdlib-js/ndarray/tree/main/base/offset diff --git a/base/assert/docs/types/index.d.ts b/base/assert/docs/types/index.d.ts index 0d0f441f..ce94bb08 100644 --- a/base/assert/docs/types/index.d.ts +++ b/base/assert/docs/types/index.d.ts @@ -521,7 +521,7 @@ interface Namespace { * @returns boolean indicating whether an ndarray is read-only * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../../array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ], { * 'readonly': true diff --git a/base/assert/is-read-only/docs/types/index.d.ts b/base/assert/is-read-only/docs/types/index.d.ts index 916b6d81..12c32818 100644 --- a/base/assert/is-read-only/docs/types/index.d.ts +++ b/base/assert/is-read-only/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns boolean indicating whether an ndarray is read-only * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ], { * 'readonly': true diff --git a/base/assign/docs/types/index.d.ts b/base/assign/docs/types/index.d.ts index ca9036a4..e76aff0c 100644 --- a/base/assign/docs/types/index.d.ts +++ b/base/assign/docs/types/index.d.ts @@ -31,8 +31,8 @@ import { ndarray } from '@stdlib/types/ndarray'; * @throws arrays must have the same shape * * @example -* var Float64Array = require( `@stdlib/array/float64` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); +* var Float64Array = require( '@stdlib/array/float64' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); * * // Create data buffers: * var xbuf = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ] ); diff --git a/base/broadcast-array/docs/types/index.d.ts b/base/broadcast-array/docs/types/index.d.ts index 8a81be02..c75dc917 100644 --- a/base/broadcast-array/docs/types/index.d.ts +++ b/base/broadcast-array/docs/types/index.d.ts @@ -40,7 +40,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns broadcasted array * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns diff --git a/base/broadcast-scalar/docs/types/index.d.ts b/base/broadcast-scalar/docs/types/index.d.ts index dd14915b..b15dc331 100644 --- a/base/broadcast-scalar/docs/types/index.d.ts +++ b/base/broadcast-scalar/docs/types/index.d.ts @@ -85,7 +85,7 @@ declare function broadcastScalar( value: number, dtype: 'float32', shape: Shape, * @returns ndarray * * @example -* var Complex128 = require( `@stdlib/complex/float64` ); +* var Complex128 = require( '@stdlib/complex/float64' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * @@ -125,7 +125,7 @@ declare function broadcastScalar( value: number | ComplexLike, dtype: 'complex12 * @returns ndarray * * @example -* var Complex64 = require( `@stdlib/complex/float32` ); +* var Complex64 = require( '@stdlib/complex/float32' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * diff --git a/base/buffer-dtype-enum/docs/types/index.d.ts b/base/buffer-dtype-enum/docs/types/index.d.ts index 509421bd..51ca0a9a 100644 --- a/base/buffer-dtype-enum/docs/types/index.d.ts +++ b/base/buffer-dtype-enum/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { Collection } from '@stdlib/types/array'; * @returns data type enumeration constant or null * * @example -* var Float64Array = require( `@stdlib/array/float64` ); +* var Float64Array = require( '@stdlib/array/float64' ); * * var x = new Float64Array( 10 ); * diff --git a/base/data-buffer/docs/types/index.d.ts b/base/data-buffer/docs/types/index.d.ts index b999144f..33a824d8 100644 --- a/base/data-buffer/docs/types/index.d.ts +++ b/base/data-buffer/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { typedndarray, genericndarray, float64ndarray, float32ndarray, int32ndar * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float64' @@ -47,7 +47,7 @@ declare function data( x: float64ndarray ): float64ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float32' @@ -65,7 +65,7 @@ declare function data( x: float32ndarray ): float32ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'int32' @@ -83,7 +83,7 @@ declare function data( x: int32ndarray ): int32ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'int16' @@ -101,7 +101,7 @@ declare function data( x: int16ndarray ): int16ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'int8' @@ -119,7 +119,7 @@ declare function data( x: int8ndarray ): int8ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'uint32' @@ -137,7 +137,7 @@ declare function data( x: uint32ndarray ): uint32ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'uint16' @@ -155,7 +155,7 @@ declare function data( x: uint16ndarray ): uint16ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'uint8' @@ -173,7 +173,7 @@ declare function data( x: uint8ndarray ): uint8ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'uint8c' @@ -191,7 +191,7 @@ declare function data( x: uint8cndarray ): uint8cndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'complex128' @@ -209,7 +209,7 @@ declare function data( x: complex128ndarray ): complex128ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'complex64' @@ -227,7 +227,7 @@ declare function data( x: complex64ndarray ): complex64ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'generic' @@ -245,7 +245,7 @@ declare function data( x: genericndarray ): genericndarray[ ' * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float64' diff --git a/base/docs/types/index.d.ts b/base/docs/types/index.d.ts index 0561c77c..71d9e1d7 100644 --- a/base/docs/types/index.d.ts +++ b/base/docs/types/index.d.ts @@ -124,8 +124,8 @@ interface Namespace { * @throws arrays must have the same shape * * @example - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../../ctor' ); * * // Create data buffers: * var xbuf = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ] ); @@ -259,7 +259,7 @@ interface Namespace { * @returns broadcasted array * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns @@ -517,7 +517,7 @@ interface Namespace { * @returns data type enumeration constant or null * * @example - * var Float64Array = require( `@stdlib/array/float64` ); + * var Float64Array = require( '@stdlib/array/float64' ); * * var x = new Float64Array( 10 ); * @@ -612,7 +612,7 @@ interface Namespace { * @returns underlying data buffer * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../../zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float64' @@ -630,7 +630,7 @@ interface Namespace { * @returns data type * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../../zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'ns.dtype': 'float64' @@ -670,7 +670,7 @@ interface Namespace { * @returns data type string * * @example - * var str2enum = require( `@stdlib/ndarray/base/dtype-str2enum` ); + * var str2enum = require( './../../../base/dtype-str2enum' ); * * var v = str2enum( 'float64' ); * // returns @@ -703,7 +703,7 @@ interface Namespace { * @returns data type string * * @example - * var str2enum = require( `@stdlib/ndarray/base/dtype-str2enum` ); + * var str2enum = require( './../../../base/dtype-str2enum' ); * * var v = ns.dtypeResolveStr( str2enum( 'float64' ) ); * // returns 'float64' @@ -792,7 +792,7 @@ interface Namespace { * @returns output array * * @example - * var zeros = require( `@stdlib/ndarray/base/zeros` ); + * var zeros = require( './../../../base/zeros' ); * * var x = zeros( 'generic', [ 2, 2 ], 'row-major' ); * // returns @@ -826,7 +826,7 @@ interface Namespace { * @returns output array * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns @@ -862,9 +862,9 @@ interface Namespace { * @returns output array * * @example - * var typedarray = require( `@stdlib/array/typed` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var typedarray = require( '@stdlib/array/typed' ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -899,9 +899,9 @@ interface Namespace { * @returns output array * * @example - * var typedarray = require( `@stdlib/array/typed` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var typedarray = require( '@stdlib/array/typed' ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -1202,7 +1202,7 @@ interface Namespace { * @returns broadcasted array * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns @@ -1365,7 +1365,7 @@ interface Namespace { * @returns object containing ndarray data * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ] ); * @@ -1381,7 +1381,7 @@ interface Namespace { * @returns number of dimensions * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../../zeros' ); * * var n = ns.ndims( zeros( [ 3, 3, 3 ] ) ); * // returns 3 @@ -1495,8 +1495,8 @@ interface Namespace { * @param fcn - nullary callback * * @example - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../../ctor' ); * * function fcn() { * return 10.0; @@ -1590,7 +1590,7 @@ interface Namespace { * @returns index offset * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../../zeros' ); * * var n = ns.offset( zeros( [ 3, 3, 3 ] ) ); * // returns 0 @@ -1608,7 +1608,7 @@ interface Namespace { * @returns layout order (or null) * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../../zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'ns.order': 'row-major' @@ -1626,7 +1626,7 @@ interface Namespace { * @returns policy string * * @example - * var str2enum = require( `@stdlib/ndarray/base/output-policy-str2enum` ); + * var str2enum = require( './../../../base/output-policy-str2enum' ); * * var v = str2enum( 'same' ); * // returns @@ -1659,7 +1659,7 @@ interface Namespace { * @returns policy string * * @example - * var str2enum = require( `@stdlib/ndarray/base/output-policy-str2enum` ); + * var str2enum = require( './../../../base/output-policy-str2enum' ); * * var v = ns.outputPolicyResolveStr( str2enum( 'same' ) ); * // returns 'same' @@ -1690,7 +1690,7 @@ interface Namespace { * @returns output array * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns @@ -1730,7 +1730,7 @@ interface Namespace { * @returns squeezed array * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ], { * 'ndmin': 5 @@ -1768,9 +1768,9 @@ interface Namespace { * @returns output array * * @example - * var typedarray = require( `@stdlib/array/typed` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var typedarray = require( '@stdlib/array/typed' ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -1806,9 +1806,9 @@ interface Namespace { * @returns output array * * @example - * var typedarray = require( `@stdlib/array/typed` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var typedarray = require( '@stdlib/array/typed' ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -1900,7 +1900,7 @@ interface Namespace { * @returns serialized meta data * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * @@ -1921,7 +1921,7 @@ interface Namespace { * @returns shape * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../../zeros' ); * * var sh = ns.shape( zeros( [ 3, 3, 3 ] ), false ); * // returns [ 3, 3, 3 ] @@ -1974,10 +1974,10 @@ interface Namespace { * @returns output array * * @example - * var Slice = require( `@stdlib/ns.slice/ctor` ); - * var MultiSlice = require( `@stdlib/ns.slice/multi` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var Slice = require( '@stdlib/ns.slice/ctor' ); + * var MultiSlice = require( '@stdlib/ns.slice/multi' ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -2022,11 +2022,11 @@ interface Namespace { * @returns output array * * @example - * var Slice = require( `@stdlib/slice/ctor` ); - * var MultiSlice = require( `@stdlib/slice/multi` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndzeros = require( `@stdlib/ndarray/zeros` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var Slice = require( '@stdlib/slice/ctor' ); + * var MultiSlice = require( '@stdlib/slice/multi' ); + * var ndarray = require( './../../../ctor' ); + * var ndzeros = require( './../../../zeros' ); + * var ndarray2array = require( './../../../to-array' ); * * // Define an input array: * var buffer = [ 1, 2, 3, 4, 5, 6 ]; @@ -2078,9 +2078,9 @@ interface Namespace { * @returns output array * * @example - * var Slice = require( `@stdlib/slice/ctor` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var Slice = require( '@stdlib/slice/ctor' ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -2120,8 +2120,8 @@ interface Namespace { * @returns output array * * @example - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -2158,8 +2158,8 @@ interface Namespace { * @returns output array * * @example - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -2196,8 +2196,8 @@ interface Namespace { * @returns output array * * @example - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -2235,8 +2235,8 @@ interface Namespace { * @returns output array * * @example - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var ndarray = require( './../../../ctor' ); + * var ndarray2array = require( './../../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -2276,7 +2276,7 @@ interface Namespace { * @returns stride * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../../zeros' ); * * var st = ns.stride( zeros( [ 3, 3, 3 ] ), 0 ); * // returns 9 @@ -2295,7 +2295,7 @@ interface Namespace { * @returns strides * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../../zeros' ); * * var st = ns.strides( zeros( [ 3, 3, 3 ] ), false ); * // returns [ 9, 3, 1 ] @@ -2474,7 +2474,7 @@ interface Namespace { * @returns ndarray view * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'generic' @@ -2507,8 +2507,8 @@ interface Namespace { * @throws arrays must have the same shape * * @example - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../../ctor' ); * * function scale( x ) { * return x * 10.0; @@ -2552,9 +2552,9 @@ interface Namespace { * @throws arrays must have the same shape * * @example - * var identity = require( `@stdlib/math/base/special/identity` ); - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); + * var identity = require( '@stdlib/math/base/special/identity' ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../../ctor' ); * * function scale( x ) { * return x * 10.0; @@ -2727,7 +2727,7 @@ interface Namespace { * @returns zero-filled array * * @example - * var zeros = require( `@stdlib/ndarray/base/zeros` ); + * var zeros = require( './../../../base/zeros' ); * * var x = zeros( 'generic', [ 2, 2 ], 'row-major' ); * // returns diff --git a/base/dtype-enum2str/docs/types/index.d.ts b/base/dtype-enum2str/docs/types/index.d.ts index b6215a05..d08bc520 100644 --- a/base/dtype-enum2str/docs/types/index.d.ts +++ b/base/dtype-enum2str/docs/types/index.d.ts @@ -25,7 +25,7 @@ * @returns data type string * * @example -* var str2enum = require( `@stdlib/ndarray/base/dtype-str2enum` ); +* var str2enum = require( '@stdlib/ndarray/base/dtype-str2enum' ); * * var v = str2enum( 'float64' ); * // returns diff --git a/base/dtype-resolve-str/docs/types/index.d.ts b/base/dtype-resolve-str/docs/types/index.d.ts index 8eb00d8a..718d4208 100644 --- a/base/dtype-resolve-str/docs/types/index.d.ts +++ b/base/dtype-resolve-str/docs/types/index.d.ts @@ -25,7 +25,7 @@ * @returns data type string * * @example -* var str2enum = require( `@stdlib/ndarray/base/dtype-str2enum` ); +* var str2enum = require( '@stdlib/ndarray/base/dtype-str2enum' ); * * var v = resolve( str2enum( 'float64' ) ); * // returns 'float64' diff --git a/base/dtype/docs/types/index.d.ts b/base/dtype/docs/types/index.d.ts index df1b26e2..ad3b9769 100644 --- a/base/dtype/docs/types/index.d.ts +++ b/base/dtype/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray, DataType } from '@stdlib/types/ndarray'; * @returns data type * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float64' diff --git a/base/empty-like/docs/types/index.d.ts b/base/empty-like/docs/types/index.d.ts index ed1891ee..86c7a36f 100644 --- a/base/empty-like/docs/types/index.d.ts +++ b/base/empty-like/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray, typedndarray, float64ndarray, float32ndarray, int32ndarray, in * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'float64', [ 2, 2 ], 'row-major' ); * // returns @@ -58,7 +58,7 @@ declare function emptyLike( x: float64ndarray ): float64ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'float32', [ 2, 2 ], 'row-major' ); * // returns @@ -87,7 +87,7 @@ declare function emptyLike( x: float32ndarray ): float32ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'complex128', [ 2, 2 ], 'row-major' ); * // returns @@ -116,7 +116,7 @@ declare function emptyLike( x: complex128ndarray ): complex128ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'complex64', [ 2, 2 ], 'row-major' ); * // returns @@ -145,7 +145,7 @@ declare function emptyLike( x: complex64ndarray ): complex64ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'int32', [ 2, 2 ], 'row-major' ); * // returns @@ -174,7 +174,7 @@ declare function emptyLike( x: int32ndarray ): int32ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'int16', [ 2, 2 ], 'row-major' ); * // returns @@ -203,7 +203,7 @@ declare function emptyLike( x: int16ndarray ): int16ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'int8', [ 2, 2 ], 'row-major' ); * // returns @@ -232,7 +232,7 @@ declare function emptyLike( x: int8ndarray ): int8ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'uint32', [ 2, 2 ], 'row-major' ); * // returns @@ -261,7 +261,7 @@ declare function emptyLike( x: uint32ndarray ): uint32ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'uint16', [ 2, 2 ], 'row-major' ); * // returns @@ -290,7 +290,7 @@ declare function emptyLike( x: uint16ndarray ): uint16ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'uint8', [ 2, 2 ], 'row-major' ); * // returns @@ -319,7 +319,7 @@ declare function emptyLike( x: uint8ndarray ): uint8ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'uint8c', [ 2, 2 ], 'row-major' ); * // returns @@ -348,7 +348,7 @@ declare function emptyLike( x: uint8cndarray ): uint8cndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'generic', [ 2, 2 ], 'row-major' ); * // returns diff --git a/base/expand-dimensions/docs/types/index.d.ts b/base/expand-dimensions/docs/types/index.d.ts index 5160a530..b6883ebd 100644 --- a/base/expand-dimensions/docs/types/index.d.ts +++ b/base/expand-dimensions/docs/types/index.d.ts @@ -34,7 +34,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns output array * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns diff --git a/base/flag/docs/types/index.d.ts b/base/flag/docs/types/index.d.ts index 940fff3c..0b08bb24 100644 --- a/base/flag/docs/types/index.d.ts +++ b/base/flag/docs/types/index.d.ts @@ -30,7 +30,7 @@ import { ndarray, Flags } from '@stdlib/types/ndarray'; * @returns flag value * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var o = flag( zeros( [ 3, 3, 3 ] ), 'READONLY' ); * // returns diff --git a/base/flags/docs/types/index.d.ts b/base/flags/docs/types/index.d.ts index 54fa4a2b..7bb3a7c8 100644 --- a/base/flags/docs/types/index.d.ts +++ b/base/flags/docs/types/index.d.ts @@ -34,7 +34,7 @@ import { ndarray, Flags } from '@stdlib/types/ndarray'; * @returns flags * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var o = flags( zeros( [ 3, 3, 3 ] ), false ); * // returns {...} diff --git a/base/fliplr/docs/types/index.d.ts b/base/fliplr/docs/types/index.d.ts index a0737205..fc0dd72d 100644 --- a/base/fliplr/docs/types/index.d.ts +++ b/base/fliplr/docs/types/index.d.ts @@ -30,9 +30,9 @@ import { typedndarray, genericndarray, float64ndarray, float32ndarray, int32ndar * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -67,9 +67,9 @@ declare function fliplr( x: float64ndarray, writable: boolean ): float64ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -104,9 +104,9 @@ declare function fliplr( x: float32ndarray, writable: boolean ): float32ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -141,9 +141,9 @@ declare function fliplr( x: int32ndarray, writable: boolean ): int32ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -178,9 +178,9 @@ declare function fliplr( x: int16ndarray, writable: boolean ): int16ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -215,9 +215,9 @@ declare function fliplr( x: int8ndarray, writable: boolean ): int8ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -252,9 +252,9 @@ declare function fliplr( x: uint32ndarray, writable: boolean ): uint32ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -289,9 +289,9 @@ declare function fliplr( x: uint16ndarray, writable: boolean ): uint16ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -326,9 +326,9 @@ declare function fliplr( x: uint8ndarray, writable: boolean ): uint8ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -363,9 +363,9 @@ declare function fliplr( x: uint8cndarray, writable: boolean ): uint8cndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -394,9 +394,9 @@ declare function fliplr( x: complex128ndarray, writable: boolean ): complex128nd * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -425,9 +425,9 @@ declare function fliplr( x: complex64ndarray, writable: boolean ): complex64ndar * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -462,9 +462,9 @@ declare function fliplr( x: genericndarray, writable: boolean ): * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/base/flipud/docs/types/index.d.ts b/base/flipud/docs/types/index.d.ts index 897ea844..eaff4e9a 100644 --- a/base/flipud/docs/types/index.d.ts +++ b/base/flipud/docs/types/index.d.ts @@ -30,9 +30,9 @@ import { typedndarray, genericndarray, float64ndarray, float32ndarray, int32ndar * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -67,9 +67,9 @@ declare function flipud( x: float64ndarray, writable: boolean ): float64ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -104,9 +104,9 @@ declare function flipud( x: float32ndarray, writable: boolean ): float32ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -141,9 +141,9 @@ declare function flipud( x: int32ndarray, writable: boolean ): int32ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -178,9 +178,9 @@ declare function flipud( x: int16ndarray, writable: boolean ): int16ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -215,9 +215,9 @@ declare function flipud( x: int8ndarray, writable: boolean ): int8ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -252,9 +252,9 @@ declare function flipud( x: uint32ndarray, writable: boolean ): uint32ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -289,9 +289,9 @@ declare function flipud( x: uint16ndarray, writable: boolean ): uint16ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -326,9 +326,9 @@ declare function flipud( x: uint8ndarray, writable: boolean ): uint8ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -363,9 +363,9 @@ declare function flipud( x: uint8cndarray, writable: boolean ): uint8cndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -394,9 +394,9 @@ declare function flipud( x: complex128ndarray, writable: boolean ): complex128nd * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -425,9 +425,9 @@ declare function flipud( x: complex64ndarray, writable: boolean ): complex64ndar * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -462,9 +462,9 @@ declare function flipud( x: genericndarray, writable: boolean ): * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/base/from-scalar/docs/types/index.d.ts b/base/from-scalar/docs/types/index.d.ts index 4257046a..4fe5469f 100644 --- a/base/from-scalar/docs/types/index.d.ts +++ b/base/from-scalar/docs/types/index.d.ts @@ -82,7 +82,7 @@ declare function scalar2ndarray( value: number, dtype: 'float32', order: Order ) * @returns zero-dimensional ndarray * * @example -* var Complex128 = require( `@stdlib/complex/float64` ); +* var Complex128 = require( '@stdlib/complex/float64' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * @@ -121,7 +121,7 @@ declare function scalar2ndarray( value: number | ComplexLike, dtype: 'complex128 * @returns zero-dimensional ndarray * * @example -* var Complex64 = require( `@stdlib/complex/float32` ); +* var Complex64 = require( '@stdlib/complex/float32' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * diff --git a/base/maybe-broadcast-array/docs/types/index.d.ts b/base/maybe-broadcast-array/docs/types/index.d.ts index c5bf290c..c818b796 100644 --- a/base/maybe-broadcast-array/docs/types/index.d.ts +++ b/base/maybe-broadcast-array/docs/types/index.d.ts @@ -41,7 +41,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns broadcasted array * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns diff --git a/base/ndarraylike2object/docs/types/index.d.ts b/base/ndarraylike2object/docs/types/index.d.ts index 84487ed4..1d302c47 100644 --- a/base/ndarraylike2object/docs/types/index.d.ts +++ b/base/ndarraylike2object/docs/types/index.d.ts @@ -108,7 +108,7 @@ interface ndarrayObject { * @returns object containing ndarray data * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ] ); * diff --git a/base/ndims/docs/types/index.d.ts b/base/ndims/docs/types/index.d.ts index 3cb3e397..00f50fac 100644 --- a/base/ndims/docs/types/index.d.ts +++ b/base/ndims/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns number of dimensions * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var n = ndims( zeros( [ 3, 3, 3 ] ) ); * // returns 3 diff --git a/base/nullary/docs/types/index.d.ts b/base/nullary/docs/types/index.d.ts index 1a684ad4..017fe0df 100644 --- a/base/nullary/docs/types/index.d.ts +++ b/base/nullary/docs/types/index.d.ts @@ -37,8 +37,8 @@ type Nullary = () => any; * @param fcn - nullary callback * * @example -* var Float64Array = require( `@stdlib/array/float64` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); +* var Float64Array = require( '@stdlib/array/float64' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); * * function fcn() { * return 10.0; diff --git a/base/numel-dimension/docs/types/index.d.ts b/base/numel-dimension/docs/types/index.d.ts index c3730da9..90aaa91d 100644 --- a/base/numel-dimension/docs/types/index.d.ts +++ b/base/numel-dimension/docs/types/index.d.ts @@ -30,7 +30,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns dimension size * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var d = numelDimension( zeros( [ 4, 2, 3 ] ), 0 ); * // returns 4 diff --git a/base/offset/docs/types/index.d.ts b/base/offset/docs/types/index.d.ts index bc7ec544..4341b5dc 100644 --- a/base/offset/docs/types/index.d.ts +++ b/base/offset/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns index offset * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var n = offset( zeros( [ 3, 3, 3 ] ) ); * // returns 0 diff --git a/base/order/docs/types/index.d.ts b/base/order/docs/types/index.d.ts index e563c085..c692a04c 100644 --- a/base/order/docs/types/index.d.ts +++ b/base/order/docs/types/index.d.ts @@ -33,7 +33,7 @@ import { ndarray, Order } from '@stdlib/types/ndarray'; * @returns layout order (or null) * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'order': 'row-major' diff --git a/base/output-policy-enum2str/docs/types/index.d.ts b/base/output-policy-enum2str/docs/types/index.d.ts index 0c23fcb9..4f30bc23 100644 --- a/base/output-policy-enum2str/docs/types/index.d.ts +++ b/base/output-policy-enum2str/docs/types/index.d.ts @@ -25,7 +25,7 @@ * @returns policy string * * @example -* var str2enum = require( `@stdlib/ndarray/base/output-policy-str2enum` ); +* var str2enum = require( '@stdlib/ndarray/base/output-policy-str2enum' ); * * var v = str2enum( 'same' ); * // returns diff --git a/base/output-policy-resolve-str/docs/types/index.d.ts b/base/output-policy-resolve-str/docs/types/index.d.ts index ee129cea..de112eae 100644 --- a/base/output-policy-resolve-str/docs/types/index.d.ts +++ b/base/output-policy-resolve-str/docs/types/index.d.ts @@ -25,7 +25,7 @@ * @returns policy string * * @example -* var str2enum = require( `@stdlib/ndarray/base/output-policy-str2enum` ); +* var str2enum = require( '@stdlib/ndarray/base/output-policy-str2enum' ); * * var v = resolve( str2enum( 'same' ) ); * // returns 'same' diff --git a/base/prepend-singleton-dimensions/docs/types/index.d.ts b/base/prepend-singleton-dimensions/docs/types/index.d.ts index 942c9c2b..ccf1ef62 100644 --- a/base/prepend-singleton-dimensions/docs/types/index.d.ts +++ b/base/prepend-singleton-dimensions/docs/types/index.d.ts @@ -30,7 +30,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns output array * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns diff --git a/base/remove-singleton-dimensions/docs/types/index.d.ts b/base/remove-singleton-dimensions/docs/types/index.d.ts index cbc41b8e..edca2109 100644 --- a/base/remove-singleton-dimensions/docs/types/index.d.ts +++ b/base/remove-singleton-dimensions/docs/types/index.d.ts @@ -34,7 +34,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns squeezed array * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ], { * 'ndmin': 5 diff --git a/base/reverse-dimension/docs/types/index.d.ts b/base/reverse-dimension/docs/types/index.d.ts index 3b239b62..b7df591f 100644 --- a/base/reverse-dimension/docs/types/index.d.ts +++ b/base/reverse-dimension/docs/types/index.d.ts @@ -31,9 +31,9 @@ import { typedndarray, genericndarray, float64ndarray, float32ndarray, int32ndar * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -69,9 +69,9 @@ declare function reverseDimension( x: float64ndarray, dim: number, writable: boo * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -107,9 +107,9 @@ declare function reverseDimension( x: float32ndarray, dim: number, writable: boo * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -145,9 +145,9 @@ declare function reverseDimension( x: int32ndarray, dim: number, writable: boole * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -183,9 +183,9 @@ declare function reverseDimension( x: int16ndarray, dim: number, writable: boole * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -221,9 +221,9 @@ declare function reverseDimension( x: int8ndarray, dim: number, writable: boolea * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -259,9 +259,9 @@ declare function reverseDimension( x: uint32ndarray, dim: number, writable: bool * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -297,9 +297,9 @@ declare function reverseDimension( x: uint16ndarray, dim: number, writable: bool * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -335,9 +335,9 @@ declare function reverseDimension( x: uint8ndarray, dim: number, writable: boole * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -373,9 +373,9 @@ declare function reverseDimension( x: uint8cndarray, dim: number, writable: bool * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -405,9 +405,9 @@ declare function reverseDimension( x: complex128ndarray, dim: number, writable: * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -437,9 +437,9 @@ declare function reverseDimension( x: complex64ndarray, dim: number, writable: b * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -475,9 +475,9 @@ declare function reverseDimension( x: genericndarray, dim: numbe * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/base/reverse/docs/types/index.d.ts b/base/reverse/docs/types/index.d.ts index 1e185978..84473380 100644 --- a/base/reverse/docs/types/index.d.ts +++ b/base/reverse/docs/types/index.d.ts @@ -30,9 +30,9 @@ import { typedndarray, genericndarray, float64ndarray, float32ndarray, int32ndar * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -67,9 +67,9 @@ declare function reverse( x: float64ndarray, writable: boolean ): float64ndarray * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -104,9 +104,9 @@ declare function reverse( x: float32ndarray, writable: boolean ): float32ndarray * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -141,9 +141,9 @@ declare function reverse( x: int32ndarray, writable: boolean ): int32ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -178,9 +178,9 @@ declare function reverse( x: int16ndarray, writable: boolean ): int16ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -215,9 +215,9 @@ declare function reverse( x: int8ndarray, writable: boolean ): int8ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -252,9 +252,9 @@ declare function reverse( x: uint32ndarray, writable: boolean ): uint32ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -289,9 +289,9 @@ declare function reverse( x: uint16ndarray, writable: boolean ): uint16ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -326,9 +326,9 @@ declare function reverse( x: uint8ndarray, writable: boolean ): uint8ndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -363,9 +363,9 @@ declare function reverse( x: uint8cndarray, writable: boolean ): uint8cndarray; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -394,9 +394,9 @@ declare function reverse( x: complex128ndarray, writable: boolean ): complex128n * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -425,9 +425,9 @@ declare function reverse( x: complex64ndarray, writable: boolean ): complex64nda * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -462,9 +462,9 @@ declare function reverse( x: genericndarray, writable: boolean ) * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/base/serialize-meta-data/docs/types/index.d.ts b/base/serialize-meta-data/docs/types/index.d.ts index d545a6e8..8fe430cb 100644 --- a/base/serialize-meta-data/docs/types/index.d.ts +++ b/base/serialize-meta-data/docs/types/index.d.ts @@ -87,7 +87,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns serialized meta data * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * diff --git a/base/shape/docs/types/index.d.ts b/base/shape/docs/types/index.d.ts index 1d011d6f..5009f42f 100644 --- a/base/shape/docs/types/index.d.ts +++ b/base/shape/docs/types/index.d.ts @@ -34,7 +34,7 @@ import { ndarray, Shape } from '@stdlib/types/ndarray'; * @returns shape * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var sh = shape( zeros( [ 3, 3, 3 ] ), false ); * // returns [ 3, 3, 3 ] diff --git a/base/slice-assign/docs/types/index.d.ts b/base/slice-assign/docs/types/index.d.ts index 9ecba898..3a777912 100644 --- a/base/slice-assign/docs/types/index.d.ts +++ b/base/slice-assign/docs/types/index.d.ts @@ -38,12 +38,12 @@ import { MultiSlice } from '@stdlib/types/slice'; * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); @@ -99,12 +99,12 @@ declare function sliceAssign( x: ndarray, y: float64ndarray, s: MultiSlice, stri * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); @@ -160,12 +160,12 @@ declare function sliceAssign( x: ndarray, y: float32ndarray, s: MultiSlice, stri * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); @@ -221,12 +221,12 @@ declare function sliceAssign( x: ndarray, y: int32ndarray, s: MultiSlice, strict * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); @@ -282,12 +282,12 @@ declare function sliceAssign( x: ndarray, y: int16ndarray, s: MultiSlice, strict * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); @@ -343,12 +343,12 @@ declare function sliceAssign( x: ndarray, y: int8ndarray, s: MultiSlice, strict: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); @@ -404,12 +404,12 @@ declare function sliceAssign( x: ndarray, y: uint32ndarray, s: MultiSlice, stric * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); @@ -465,12 +465,12 @@ declare function sliceAssign( x: ndarray, y: uint16ndarray, s: MultiSlice, stric * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); @@ -526,12 +526,12 @@ declare function sliceAssign( x: ndarray, y: uint8ndarray, s: MultiSlice, strict * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); @@ -587,12 +587,12 @@ declare function sliceAssign( x: ndarray, y: uint8cndarray, s: MultiSlice, stric * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); @@ -642,12 +642,12 @@ declare function sliceAssign( x: ndarray, y: complex128ndarray, s: MultiSlice, s * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); @@ -697,11 +697,11 @@ declare function sliceAssign( x: ndarray, y: complex64ndarray, s: MultiSlice, st * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = [ 1, 2, 3, 4, 5, 6 ]; @@ -757,11 +757,11 @@ declare function sliceAssign( x: ndarray, y: genericndarray, s: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = [ 1, 2, 3, 4, 5, 6 ]; diff --git a/base/slice-dimension-from/docs/types/index.d.ts b/base/slice-dimension-from/docs/types/index.d.ts index 2d4595fa..0f59f58d 100644 --- a/base/slice-dimension-from/docs/types/index.d.ts +++ b/base/slice-dimension-from/docs/types/index.d.ts @@ -34,9 +34,9 @@ import { ArrayLike } from '@stdlib/types/array'; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -74,9 +74,9 @@ declare function sliceDimensionFrom( x: float64ndarray, dim: number, start: numb * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -114,9 +114,9 @@ declare function sliceDimensionFrom( x: float32ndarray, dim: number, start: numb * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -154,9 +154,9 @@ declare function sliceDimensionFrom( x: int32ndarray, dim: number, start: number * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -194,9 +194,9 @@ declare function sliceDimensionFrom( x: int16ndarray, dim: number, start: number * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -234,9 +234,9 @@ declare function sliceDimensionFrom( x: int8ndarray, dim: number, start: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -274,9 +274,9 @@ declare function sliceDimensionFrom( x: uint32ndarray, dim: number, start: numbe * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -314,9 +314,9 @@ declare function sliceDimensionFrom( x: uint16ndarray, dim: number, start: numbe * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -354,9 +354,9 @@ declare function sliceDimensionFrom( x: uint8ndarray, dim: number, start: number * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -394,9 +394,9 @@ declare function sliceDimensionFrom( x: uint8cndarray, dim: number, start: numbe * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -428,9 +428,9 @@ declare function sliceDimensionFrom( x: complex128ndarray, dim: number, start: n * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -462,8 +462,8 @@ declare function sliceDimensionFrom( x: complex64ndarray, dim: number, start: nu * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -500,8 +500,8 @@ declare function sliceDimensionFrom( x: genericndarray, dim: num * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/base/slice-dimension-to/docs/types/index.d.ts b/base/slice-dimension-to/docs/types/index.d.ts index f0a4996d..faf607c6 100644 --- a/base/slice-dimension-to/docs/types/index.d.ts +++ b/base/slice-dimension-to/docs/types/index.d.ts @@ -34,9 +34,9 @@ import { ArrayLike } from '@stdlib/types/array'; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -74,9 +74,9 @@ declare function sliceDimensionTo( x: float64ndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -114,9 +114,9 @@ declare function sliceDimensionTo( x: float32ndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -154,9 +154,9 @@ declare function sliceDimensionTo( x: int32ndarray, dim: number, stop: number, s * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -194,9 +194,9 @@ declare function sliceDimensionTo( x: int16ndarray, dim: number, stop: number, s * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -234,9 +234,9 @@ declare function sliceDimensionTo( x: int8ndarray, dim: number, stop: number, st * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -274,9 +274,9 @@ declare function sliceDimensionTo( x: uint32ndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -314,9 +314,9 @@ declare function sliceDimensionTo( x: uint16ndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -354,9 +354,9 @@ declare function sliceDimensionTo( x: uint8ndarray, dim: number, stop: number, s * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -394,9 +394,9 @@ declare function sliceDimensionTo( x: uint8cndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -428,9 +428,9 @@ declare function sliceDimensionTo( x: complex128ndarray, dim: number, stop: numb * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -462,8 +462,8 @@ declare function sliceDimensionTo( x: complex64ndarray, dim: number, stop: numbe * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -500,8 +500,8 @@ declare function sliceDimensionTo( x: genericndarray, dim: numbe * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/base/slice-dimension/docs/types/index.d.ts b/base/slice-dimension/docs/types/index.d.ts index 9786f6a2..96fbebf2 100644 --- a/base/slice-dimension/docs/types/index.d.ts +++ b/base/slice-dimension/docs/types/index.d.ts @@ -34,10 +34,10 @@ import { Slice } from '@stdlib/types/slice'; * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -78,10 +78,10 @@ declare function sliceDimension( x: float64ndarray, dim: number, s: Slice | numb * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -122,10 +122,10 @@ declare function sliceDimension( x: float32ndarray, dim: number, s: Slice | numb * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -166,10 +166,10 @@ declare function sliceDimension( x: int32ndarray, dim: number, s: Slice | number * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -210,10 +210,10 @@ declare function sliceDimension( x: int16ndarray, dim: number, s: Slice | number * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -254,10 +254,10 @@ declare function sliceDimension( x: int8ndarray, dim: number, s: Slice | number, * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -298,10 +298,10 @@ declare function sliceDimension( x: uint32ndarray, dim: number, s: Slice | numbe * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -342,10 +342,10 @@ declare function sliceDimension( x: uint16ndarray, dim: number, s: Slice | numbe * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -386,10 +386,10 @@ declare function sliceDimension( x: uint8ndarray, dim: number, s: Slice | number * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -430,10 +430,10 @@ declare function sliceDimension( x: uint8cndarray, dim: number, s: Slice | numbe * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -468,10 +468,10 @@ declare function sliceDimension( x: complex128ndarray, dim: number, s: Slice | n * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -506,9 +506,9 @@ declare function sliceDimension( x: complex64ndarray, dim: number, s: Slice | nu * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -549,9 +549,9 @@ declare function sliceDimension( x: genericndarray, dim: number, * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/base/slice-from/docs/types/index.d.ts b/base/slice-from/docs/types/index.d.ts index beff0728..c51e6ab8 100644 --- a/base/slice-from/docs/types/index.d.ts +++ b/base/slice-from/docs/types/index.d.ts @@ -43,9 +43,9 @@ type StartArgument = null | undefined | number; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -83,9 +83,9 @@ declare function sliceFrom( x: float64ndarray, start: ArrayLike, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -123,9 +123,9 @@ declare function sliceFrom( x: float32ndarray, start: ArrayLike, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -163,9 +163,9 @@ declare function sliceFrom( x: int32ndarray, start: ArrayLike, st * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -203,9 +203,9 @@ declare function sliceFrom( x: int16ndarray, start: ArrayLike, st * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -243,9 +243,9 @@ declare function sliceFrom( x: int8ndarray, start: ArrayLike, str * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -283,9 +283,9 @@ declare function sliceFrom( x: uint32ndarray, start: ArrayLike, s * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -323,9 +323,9 @@ declare function sliceFrom( x: uint16ndarray, start: ArrayLike, s * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -363,9 +363,9 @@ declare function sliceFrom( x: uint8ndarray, start: ArrayLike, st * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -403,9 +403,9 @@ declare function sliceFrom( x: uint8cndarray, start: ArrayLike, s * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -437,9 +437,9 @@ declare function sliceFrom( x: complex128ndarray, start: ArrayLike * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -510,8 +510,8 @@ declare function sliceFrom( x: genericndarray, start: ArrayLike< * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/base/slice-to/docs/types/index.d.ts b/base/slice-to/docs/types/index.d.ts index 72cf838d..f04cc90b 100644 --- a/base/slice-to/docs/types/index.d.ts +++ b/base/slice-to/docs/types/index.d.ts @@ -43,9 +43,9 @@ type StopArgument = null | undefined | number; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -83,9 +83,9 @@ declare function sliceTo( x: float64ndarray, stop: ArrayLike, stri * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -123,9 +123,9 @@ declare function sliceTo( x: float32ndarray, stop: ArrayLike, stri * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -163,9 +163,9 @@ declare function sliceTo( x: int32ndarray, stop: ArrayLike, strict * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -203,9 +203,9 @@ declare function sliceTo( x: int16ndarray, stop: ArrayLike, strict * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -243,9 +243,9 @@ declare function sliceTo( x: int8ndarray, stop: ArrayLike, strict: * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -283,9 +283,9 @@ declare function sliceTo( x: uint32ndarray, stop: ArrayLike, stric * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -323,9 +323,9 @@ declare function sliceTo( x: uint16ndarray, stop: ArrayLike, stric * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -363,9 +363,9 @@ declare function sliceTo( x: uint8ndarray, stop: ArrayLike, strict * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -403,9 +403,9 @@ declare function sliceTo( x: uint8cndarray, stop: ArrayLike, stric * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -437,9 +437,9 @@ declare function sliceTo( x: complex128ndarray, stop: ArrayLike, s * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -471,8 +471,8 @@ declare function sliceTo( x: complex64ndarray, stop: ArrayLike, st * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -510,8 +510,8 @@ declare function sliceTo( x: genericndarray, stop: ArrayLike( x: genericndarray, s: MultiSlice, strict * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/base/stride/docs/types/index.d.ts b/base/stride/docs/types/index.d.ts index e88d0f5c..da850bb2 100644 --- a/base/stride/docs/types/index.d.ts +++ b/base/stride/docs/types/index.d.ts @@ -34,7 +34,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns stride * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var st = stride( zeros( [ 3, 3, 3 ] ), 0 ); * // returns 9 diff --git a/base/strides/docs/types/index.d.ts b/base/strides/docs/types/index.d.ts index d03ea88d..32b75ae1 100644 --- a/base/strides/docs/types/index.d.ts +++ b/base/strides/docs/types/index.d.ts @@ -34,7 +34,7 @@ import { ndarray, Strides } from '@stdlib/types/ndarray'; * @returns strides * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var st = strides( zeros( [ 3, 3, 3 ] ), false ); * // returns [ 9, 3, 1 ] diff --git a/base/transpose/docs/types/index.d.ts b/base/transpose/docs/types/index.d.ts index 66cfda27..4ae8f5c4 100644 --- a/base/transpose/docs/types/index.d.ts +++ b/base/transpose/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray, float64ndarray, float32ndarray, int32ndarray, int16ndarray, in * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'float64' @@ -60,7 +60,7 @@ declare function transpose( x: float64ndarray ): float64ndarray; * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'float32' @@ -91,8 +91,8 @@ declare function transpose( x: float32ndarray ): float32ndarray; * @returns ndarray view * * @example -* var Complex128Array = require( `@stdlib/array/complex128` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); +* var Complex128Array = require( '@stdlib/array/complex128' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); * * var buf = new Complex128Array( [ 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6 ] ); * var x = ndarray( 'complex128', buf, [ 2, 3 ], [ 3, 1 ], 0, 'row-major' ); @@ -119,8 +119,8 @@ declare function transpose( x: complex128ndarray ): complex128ndarray; * @returns ndarray view * * @example -* var Complex64Array = require( `@stdlib/array/complex64` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); +* var Complex64Array = require( '@stdlib/array/complex64' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); * * var buf = new Complex64Array( [ 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6 ] ); * var x = ndarray( 'complex64', buf, [ 2, 3 ], [ 3, 1 ], 0, 'row-major' ); @@ -147,7 +147,7 @@ declare function transpose( x: complex64ndarray ): complex64ndarray; * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'int32' @@ -178,7 +178,7 @@ declare function transpose( x: int32ndarray ): int32ndarray; * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'int16' @@ -209,7 +209,7 @@ declare function transpose( x: int16ndarray ): int16ndarray; * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'int8' @@ -240,7 +240,7 @@ declare function transpose( x: int8ndarray ): int8ndarray; * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'uint32' @@ -271,7 +271,7 @@ declare function transpose( x: uint32ndarray ): uint32ndarray; * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'uint16' @@ -302,7 +302,7 @@ declare function transpose( x: uint16ndarray ): uint16ndarray; * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'uint8' @@ -333,7 +333,7 @@ declare function transpose( x: uint8ndarray ): uint8ndarray; * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'uint8c' @@ -364,7 +364,7 @@ declare function transpose( x: uint8cndarray ): uint8cndarray; * @returns ndarray view * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], { * 'dtype': 'generic' diff --git a/base/unary-by/docs/types/index.d.ts b/base/unary-by/docs/types/index.d.ts index 888fef7e..f0aa3997 100644 --- a/base/unary-by/docs/types/index.d.ts +++ b/base/unary-by/docs/types/index.d.ts @@ -98,9 +98,9 @@ type Unary = ( value: any ) => any; * @throws arrays must have the same shape * * @example -* var identity = require( `@stdlib/math/base/special/identity` ); -* var Float64Array = require( `@stdlib/array/float64` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); +* var identity = require( '@stdlib/math/base/special/identity' ); +* var Float64Array = require( '@stdlib/array/float64' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); * * function scale( x ) { * return x * 10.0; diff --git a/base/unary/docs/types/index.d.ts b/base/unary/docs/types/index.d.ts index 72f12579..b1a1fac4 100644 --- a/base/unary/docs/types/index.d.ts +++ b/base/unary/docs/types/index.d.ts @@ -40,8 +40,8 @@ type Unary = ( value: any ) => any; * @throws arrays must have the same shape * * @example -* var Float64Array = require( `@stdlib/array/float64` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); +* var Float64Array = require( '@stdlib/array/float64' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); * * function scale( x ) { * return x * 10.0; diff --git a/base/zeros-like/docs/types/index.d.ts b/base/zeros-like/docs/types/index.d.ts index 548411ff..6400f751 100644 --- a/base/zeros-like/docs/types/index.d.ts +++ b/base/zeros-like/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray, typedndarray, float64ndarray, float32ndarray, int32ndarray, in * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'float64', [ 2, 2 ], 'row-major' ); * // returns @@ -58,7 +58,7 @@ declare function zerosLike( x: float64ndarray ): float64ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'float32', [ 2, 2 ], 'row-major' ); * // returns @@ -87,7 +87,7 @@ declare function zerosLike( x: float32ndarray ): float32ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'complex128', [ 2, 2 ], 'row-major' ); * // returns @@ -116,7 +116,7 @@ declare function zerosLike( x: complex128ndarray ): complex128ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'complex64', [ 2, 2 ], 'row-major' ); * // returns @@ -145,7 +145,7 @@ declare function zerosLike( x: complex64ndarray ): complex64ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'int32', [ 2, 2 ], 'row-major' ); * // returns @@ -174,7 +174,7 @@ declare function zerosLike( x: int32ndarray ): int32ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'int16', [ 2, 2 ], 'row-major' ); * // returns @@ -203,7 +203,7 @@ declare function zerosLike( x: int16ndarray ): int16ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'int8', [ 2, 2 ], 'row-major' ); * // returns @@ -232,7 +232,7 @@ declare function zerosLike( x: int8ndarray ): int8ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'uint32', [ 2, 2 ], 'row-major' ); * // returns @@ -261,7 +261,7 @@ declare function zerosLike( x: uint32ndarray ): uint32ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'uint16', [ 2, 2 ], 'row-major' ); * // returns @@ -290,7 +290,7 @@ declare function zerosLike( x: uint16ndarray ): uint16ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'uint8', [ 2, 2 ], 'row-major' ); * // returns @@ -319,7 +319,7 @@ declare function zerosLike( x: uint8ndarray ): uint8ndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'uint8c', [ 2, 2 ], 'row-major' ); * // returns @@ -348,7 +348,7 @@ declare function zerosLike( x: uint8cndarray ): uint8cndarray; * @returns zero-filled array * * @example -* var zeros = require( `@stdlib/ndarray/base/zeros` ); +* var zeros = require( '@stdlib/ndarray/base/zeros' ); * * var x = zeros( 'generic', [ 2, 2 ], 'row-major' ); * // returns diff --git a/broadcast-array/docs/types/index.d.ts b/broadcast-array/docs/types/index.d.ts index d637a450..e2497f07 100644 --- a/broadcast-array/docs/types/index.d.ts +++ b/broadcast-array/docs/types/index.d.ts @@ -38,7 +38,7 @@ import { typedndarray, Shape } from '@stdlib/types/ndarray'; * @returns broadcasted array * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns diff --git a/data-buffer/docs/types/index.d.ts b/data-buffer/docs/types/index.d.ts index b999144f..33a824d8 100644 --- a/data-buffer/docs/types/index.d.ts +++ b/data-buffer/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { typedndarray, genericndarray, float64ndarray, float32ndarray, int32ndar * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float64' @@ -47,7 +47,7 @@ declare function data( x: float64ndarray ): float64ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float32' @@ -65,7 +65,7 @@ declare function data( x: float32ndarray ): float32ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'int32' @@ -83,7 +83,7 @@ declare function data( x: int32ndarray ): int32ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'int16' @@ -101,7 +101,7 @@ declare function data( x: int16ndarray ): int16ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'int8' @@ -119,7 +119,7 @@ declare function data( x: int8ndarray ): int8ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'uint32' @@ -137,7 +137,7 @@ declare function data( x: uint32ndarray ): uint32ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'uint16' @@ -155,7 +155,7 @@ declare function data( x: uint16ndarray ): uint16ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'uint8' @@ -173,7 +173,7 @@ declare function data( x: uint8ndarray ): uint8ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'uint8c' @@ -191,7 +191,7 @@ declare function data( x: uint8cndarray ): uint8cndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'complex128' @@ -209,7 +209,7 @@ declare function data( x: complex128ndarray ): complex128ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'complex64' @@ -227,7 +227,7 @@ declare function data( x: complex64ndarray ): complex64ndarray[ 'data' ]; * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'generic' @@ -245,7 +245,7 @@ declare function data( x: genericndarray ): genericndarray[ ' * @returns underlying data buffer * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float64' diff --git a/dispatch/docs/types/index.d.ts b/dispatch/docs/types/index.d.ts index bf753e99..b5542e8a 100644 --- a/dispatch/docs/types/index.d.ts +++ b/dispatch/docs/types/index.d.ts @@ -29,8 +29,8 @@ import { ndarray } from '@stdlib/types/ndarray'; * @param data - ndarray function data (e.g., a callback) * * @example -* var numel = require( `@stdlib/ndarray/base/numel` ); -* var ind2sub = require( `@stdlib/ndarray/ind2sub` ); +* var numel = require( '@stdlib/ndarray/base/numel' ); +* var ind2sub = require( '@stdlib/ndarray/ind2sub' ); * * function ndarrayFcn( arrays, fcn ) { * var xord; @@ -91,9 +91,9 @@ interface Dispatcher { * @returns destination array * * @example - * var nullary = require( `@stdlib/ndarray/base/nullary` ); - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); + * var nullary = require( './../../../base/nullary' ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../../ctor' ); * * function value() { * return 3.14; @@ -125,10 +125,10 @@ interface Dispatcher { * @returns destination array(s) * * @example - * var unary = require( `@stdlib/ndarray/base/unary` ); - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var abs = require( `@stdlib/math/base/special/abs` ); + * var unary = require( './../../../base/unary' ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../../ctor' ); + * var abs = require( '@stdlib/math/base/special/abs' ); * * var types = [ 'float64', 'float64' ]; * var data = [ abs ]; @@ -160,9 +160,9 @@ interface Dispatcher { * @returns destination array(s) * * @example - * var ternary = require( `@stdlib/ndarray/base/ternary` ); - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); + * var ternary = require( './../../../base/ternary' ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../../ctor' ); * * function add2( x, y ) { * return x + y; @@ -201,9 +201,9 @@ interface Dispatcher { * @returns destination array(s) * * @example - * var quaternary = require( `@stdlib/ndarray/base/quaternary` ); - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); + * var quaternary = require( './../../../base/quaternary' ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../../ctor' ); * * function add3( x, y, z ) { * return x + y + z; @@ -245,9 +245,9 @@ interface Dispatcher { * @returns destination array(s) * * @example - * var quinary = require( `@stdlib/ndarray/base/quinary` ); - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); + * var quinary = require( './../../../base/quinary' ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../../ctor' ); * * function add4( x, y, z, w ) { * return x + y + z + w; @@ -300,10 +300,10 @@ interface Dispatcher { * @returns ndarray function interface * * @example -* var unary = require( `@stdlib/ndarray/base/unary` ); -* var abs = require( `@stdlib/math/base/special/abs` ); -* var Float64Array = require( `@stdlib/array/float64` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); +* var unary = require( '@stdlib/ndarray/base/unary' ); +* var abs = require( '@stdlib/math/base/special/abs' ); +* var Float64Array = require( '@stdlib/array/float64' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); * * var types = [ * 'float64', 'float64' diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts index 0f5cb0cb..e9a3c323 100644 --- a/docs/types/index.d.ts +++ b/docs/types/index.d.ts @@ -146,7 +146,7 @@ interface Namespace { * @returns broadcasted array * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns @@ -246,7 +246,7 @@ interface Namespace { * @returns underlying data buffer * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float64' @@ -294,10 +294,10 @@ interface Namespace { * @returns ndarray function interface * * @example - * var unary = require( `@stdlib/ndarray/base/unary` ); - * var abs = require( `@stdlib/math/base/special/abs` ); - * var Float64Array = require( `@stdlib/array/float64` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); + * var unary = require( './../../base/unary' ); + * var abs = require( '@stdlib/math/base/special/abs' ); + * var Float64Array = require( '@stdlib/array/float64' ); + * var ndarray = require( './../../ctor' ); * * var types = [ * 'float64', 'float64' @@ -329,7 +329,7 @@ interface Namespace { * @returns data type * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'ns.ndarrayDataType': 'float64' @@ -410,7 +410,7 @@ interface Namespace { * @returns output array * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -585,7 +585,7 @@ interface Namespace { * @returns broadcasted array * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns @@ -659,7 +659,7 @@ interface Namespace { * @returns number of dimensions * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var n = ns.ndims( zeros( [ 3, 3, 3 ] ) ); * // returns 3 @@ -691,7 +691,7 @@ interface Namespace { * @returns number of elements * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var n = ns.numel( zeros( [ 3, 3, 3 ] ) ); * // returns 27 @@ -705,7 +705,7 @@ interface Namespace { * @returns index offset * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var n = ns.ndarrayOffset( zeros( [ 3, 3, 3 ] ) ); * // returns 0 @@ -723,7 +723,7 @@ interface Namespace { * @returns layout order (or null) * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'ns.ndarrayOrder': 'row-major' @@ -832,7 +832,7 @@ interface Namespace { * @returns shape * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var sh = ns.ndarrayShape( zeros( [ 3, 3, 3 ] ) ); * // returns [ 3, 3, 3 ] @@ -849,10 +849,10 @@ interface Namespace { * @returns output array * * @example - * var Slice = require( `@stdlib/ns.ndslice/ctor` ); - * var MultiSlice = require( `@stdlib/ns.ndslice/multi` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var Slice = require( '@stdlib/ns.ndslice/ctor' ); + * var MultiSlice = require( '@stdlib/ns.ndslice/multi' ); + * var ndarray = require( './../../ctor' ); + * var ndarray2array = require( './../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -898,11 +898,11 @@ interface Namespace { * @returns output array * * @example - * var Slice = require( `@stdlib/slice/ctor` ); - * var MultiSlice = require( `@stdlib/slice/multi` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndzeros = require( `@stdlib/ndarray/zeros` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var Slice = require( '@stdlib/slice/ctor' ); + * var MultiSlice = require( '@stdlib/slice/multi' ); + * var ndarray = require( './../../ctor' ); + * var ndzeros = require( './../../zeros' ); + * var ndarray2array = require( './../../to-array' ); * * // Define an input array: * var buffer = [ 1, 2, 3, 4, 5, 6 ]; @@ -953,9 +953,9 @@ interface Namespace { * @returns output array * * @example - * var Slice = require( `@stdlib/slice/ctor` ); - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var Slice = require( '@stdlib/slice/ctor' ); + * var ndarray = require( './../../ctor' ); + * var ndarray2array = require( './../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -995,8 +995,8 @@ interface Namespace { * @returns output array * * @example - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var ndarray = require( './../../ctor' ); + * var ndarray2array = require( './../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -1033,8 +1033,8 @@ interface Namespace { * @returns output array * * @example - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var ndarray = require( './../../ctor' ); + * var ndarray2array = require( './../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -1071,8 +1071,8 @@ interface Namespace { * @returns output array * * @example - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var ndarray = require( './../../ctor' ); + * var ndarray2array = require( './../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -1109,8 +1109,8 @@ interface Namespace { * @returns output array * * @example - * var ndarray = require( `@stdlib/ndarray/ctor` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var ndarray = require( './../../ctor' ); + * var ndarray2array = require( './../../to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -1149,7 +1149,7 @@ interface Namespace { * @returns stride * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var st = ns.ndarrayStride( zeros( [ 3, 3, 3 ] ), 0 ); * // returns 9 @@ -1163,7 +1163,7 @@ interface Namespace { * @returns strides * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var sh = ns.ndarrayStrides( zeros( [ 3, 3, 3 ] ) ); * // returns [ 9, 3, 1 ] @@ -1206,7 +1206,7 @@ interface Namespace { * @returns array (which may include nested arrays) * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../array' ); * * var arr = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * var out = ns.ndarray2array( arr ); @@ -1252,7 +1252,7 @@ interface Namespace { * @returns zero-filled array * * @example - * var zeros = require( `@stdlib/ndarray/zeros` ); + * var zeros = require( './../../zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' diff --git a/dtype/docs/types/index.d.ts b/dtype/docs/types/index.d.ts index df1b26e2..ad3b9769 100644 --- a/dtype/docs/types/index.d.ts +++ b/dtype/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray, DataType } from '@stdlib/types/ndarray'; * @returns data type * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'dtype': 'float64' diff --git a/empty-like/docs/types/index.d.ts b/empty-like/docs/types/index.d.ts index 8c939a4b..bb8dbd3a 100644 --- a/empty-like/docs/types/index.d.ts +++ b/empty-like/docs/types/index.d.ts @@ -237,7 +237,7 @@ interface OptionsWithDType extends Options { * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -273,7 +273,7 @@ declare function emptyLike( x: float64ndarray, options?: Options ): float64ndarr * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float32' @@ -309,7 +309,7 @@ declare function emptyLike( x: float32ndarray, options?: Options ): float32ndarr * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'complex128' @@ -345,7 +345,7 @@ declare function emptyLike( x: complex128ndarray, options?: Options ): complex12 * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'complex64' @@ -381,7 +381,7 @@ declare function emptyLike( x: complex64ndarray, options?: Options ): complex64n * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'int32' @@ -417,7 +417,7 @@ declare function emptyLike( x: int32ndarray, options?: Options ): int32ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'int16' @@ -453,7 +453,7 @@ declare function emptyLike( x: int16ndarray, options?: Options ): int16ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'int8' @@ -489,7 +489,7 @@ declare function emptyLike( x: int8ndarray, options?: Options ): int8ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'uint32' @@ -525,7 +525,7 @@ declare function emptyLike( x: uint32ndarray, options?: Options ): uint32ndarray * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'uint16' @@ -561,7 +561,7 @@ declare function emptyLike( x: uint16ndarray, options?: Options ): uint16ndarray * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'uint8' @@ -597,7 +597,7 @@ declare function emptyLike( x: uint8ndarray, options?: Options ): uint8ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'uint8c' @@ -634,7 +634,7 @@ declare function emptyLike( x: uint8cndarray, options?: Options ): uint8cndarray * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'generic' @@ -673,7 +673,7 @@ declare function emptyLike( x: ndarray, options: Float64Options ): float64ndarra * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -712,7 +712,7 @@ declare function emptyLike( x: ndarray, options: Float32Options ): float32ndarra * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -751,7 +751,7 @@ declare function emptyLike( x: ndarray, options: Complex128Options ): complex128 * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -790,7 +790,7 @@ declare function emptyLike( x: ndarray, options: Complex64Options ): complex64nd * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -829,7 +829,7 @@ declare function emptyLike( x: ndarray, options: Int32Options ): int32ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -868,7 +868,7 @@ declare function emptyLike( x: ndarray, options: Int16Options ): int16ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -907,7 +907,7 @@ declare function emptyLike( x: ndarray, options: Int8Options ): int8ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -946,7 +946,7 @@ declare function emptyLike( x: ndarray, options: Uint32Options ): uint32ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -985,7 +985,7 @@ declare function emptyLike( x: ndarray, options: Uint16Options ): uint16ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -1024,7 +1024,7 @@ declare function emptyLike( x: ndarray, options: Uint8Options ): uint8ndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' @@ -1063,7 +1063,7 @@ declare function emptyLike( x: ndarray, options: Uint8COptions ): uint8cndarray; * @returns output array * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 2, 2 ], { * 'dtype': 'float64' diff --git a/flag/docs/types/index.d.ts b/flag/docs/types/index.d.ts index 940fff3c..0b08bb24 100644 --- a/flag/docs/types/index.d.ts +++ b/flag/docs/types/index.d.ts @@ -30,7 +30,7 @@ import { ndarray, Flags } from '@stdlib/types/ndarray'; * @returns flag value * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var o = flag( zeros( [ 3, 3, 3 ] ), 'READONLY' ); * // returns diff --git a/flags/docs/types/index.d.ts b/flags/docs/types/index.d.ts index f90025c6..dc88c7d3 100644 --- a/flags/docs/types/index.d.ts +++ b/flags/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray, Flags } from '@stdlib/types/ndarray'; * @returns flags * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var o = flags( zeros( [ 3, 3, 3 ] ) ); * // returns {...} diff --git a/from-scalar/docs/types/index.d.ts b/from-scalar/docs/types/index.d.ts index 5e0417cd..366d2acb 100644 --- a/from-scalar/docs/types/index.d.ts +++ b/from-scalar/docs/types/index.d.ts @@ -218,7 +218,7 @@ declare function scalar2ndarray( value: number, options: Float32Options ): float * @returns zero-dimensional ndarray * * @example -* var Complex128 = require( `@stdlib/complex/float64` ); +* var Complex128 = require( '@stdlib/complex/float64' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * @@ -258,7 +258,7 @@ declare function scalar2ndarray( value: number | ComplexLike, options: Complex12 * @returns zero-dimensional ndarray * * @example -* var Complex64 = require( `@stdlib/complex/float64` ); +* var Complex64 = require( '@stdlib/complex/float64' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * diff --git a/iter/column-entries/docs/types/index.d.ts b/iter/column-entries/docs/types/index.d.ts index 74ab0e78..1ee64ffe 100644 --- a/iter/column-entries/docs/types/index.d.ts +++ b/iter/column-entries/docs/types/index.d.ts @@ -53,8 +53,8 @@ interface Options { * @returns iterator * * @example -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); -* var array = require( `@stdlib/ndarray/array` ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/iter/columns/docs/types/index.d.ts b/iter/columns/docs/types/index.d.ts index 84e7d6e6..08a936ba 100644 --- a/iter/columns/docs/types/index.d.ts +++ b/iter/columns/docs/types/index.d.ts @@ -49,8 +49,8 @@ interface Options { * @returns iterator * * @example -* var array = require( `@stdlib/ndarray/array` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var array = require( '@stdlib/ndarray/array' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/iter/docs/types/index.d.ts b/iter/docs/types/index.d.ts index 620ca04e..a7bca324 100644 --- a/iter/docs/types/index.d.ts +++ b/iter/docs/types/index.d.ts @@ -48,8 +48,8 @@ interface Namespace { * @returns iterator * * @example - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); - * var array = require( `@stdlib/ndarray/array` ); + * var ndarray2array = require( './../../../to-array' ); + * var array = require( './../../../array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' @@ -89,8 +89,8 @@ interface Namespace { * @returns iterator * * @example - * var array = require( `@stdlib/ndarray/array` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var array = require( './../../../array' ); + * var ndarray2array = require( './../../../to-array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' @@ -134,7 +134,7 @@ interface Namespace { * @returns iterator * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' @@ -165,7 +165,7 @@ interface Namespace { * @returns iterator * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' @@ -196,8 +196,8 @@ interface Namespace { * @returns iterator * * @example - * var array = require( `@stdlib/ndarray/array` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var array = require( './../../../array' ); + * var ndarray2array = require( './../../../to-array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' @@ -235,8 +235,8 @@ interface Namespace { * @returns iterator * * @example - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); - * var array = require( `@stdlib/ndarray/array` ); + * var ndarray2array = require( './../../../to-array' ); + * var array = require( './../../../array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' @@ -280,8 +280,8 @@ interface Namespace { * @returns iterator * * @example - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); - * var array = require( `@stdlib/ndarray/array` ); + * var ndarray2array = require( './../../../to-array' ); + * var array = require( './../../../array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' @@ -321,8 +321,8 @@ interface Namespace { * @returns iterator * * @example - * var array = require( `@stdlib/ndarray/array` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); + * var array = require( './../../../array' ); + * var ndarray2array = require( './../../../to-array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' @@ -364,9 +364,9 @@ interface Namespace { * @returns iterator * * @example - * var array = require( `@stdlib/ndarray/array` ); - * var ndarray2array = require( `@stdlib/ndarray/to-array` ); - * var nditerRows = require( `@stdlib/ndarray/iter/rows` ); + * var array = require( './../../../array' ); + * var ndarray2array = require( './../../../to-array' ); + * var nditerRows = require( './../../../iter/rows' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] ); * // returns @@ -395,7 +395,7 @@ interface Namespace { * @returns iterator * * @example - * var array = require( `@stdlib/ndarray/array` ); + * var array = require( './../../../array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/iter/entries/docs/types/index.d.ts b/iter/entries/docs/types/index.d.ts index f1d2638f..9b9dd8af 100644 --- a/iter/entries/docs/types/index.d.ts +++ b/iter/entries/docs/types/index.d.ts @@ -53,7 +53,7 @@ interface Options { * @returns iterator * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/iter/indices/docs/types/index.d.ts b/iter/indices/docs/types/index.d.ts index 4abef097..ac3b7903 100644 --- a/iter/indices/docs/types/index.d.ts +++ b/iter/indices/docs/types/index.d.ts @@ -49,7 +49,7 @@ interface Options { * @returns iterator * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/iter/matrices/docs/types/index.d.ts b/iter/matrices/docs/types/index.d.ts index 13680dfa..60453d1c 100644 --- a/iter/matrices/docs/types/index.d.ts +++ b/iter/matrices/docs/types/index.d.ts @@ -49,8 +49,8 @@ interface Options { * @returns iterator * * @example -* var array = require( `@stdlib/ndarray/array` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var array = require( '@stdlib/ndarray/array' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/iter/matrix-entries/docs/types/index.d.ts b/iter/matrix-entries/docs/types/index.d.ts index e89e0aaf..fbb8a6a9 100644 --- a/iter/matrix-entries/docs/types/index.d.ts +++ b/iter/matrix-entries/docs/types/index.d.ts @@ -53,8 +53,8 @@ interface Options { * @returns iterator * * @example -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); -* var array = require( `@stdlib/ndarray/array` ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/iter/row-entries/docs/types/index.d.ts b/iter/row-entries/docs/types/index.d.ts index f1b30edd..97e84587 100644 --- a/iter/row-entries/docs/types/index.d.ts +++ b/iter/row-entries/docs/types/index.d.ts @@ -53,8 +53,8 @@ interface Options { * @returns iterator * * @example -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); -* var array = require( `@stdlib/ndarray/array` ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/iter/rows/docs/types/index.d.ts b/iter/rows/docs/types/index.d.ts index b4f693a2..f739124a 100644 --- a/iter/rows/docs/types/index.d.ts +++ b/iter/rows/docs/types/index.d.ts @@ -49,8 +49,8 @@ interface Options { * @returns iterator * * @example -* var array = require( `@stdlib/ndarray/array` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var array = require( '@stdlib/ndarray/array' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/iter/to-array-each/docs/types/index.d.ts b/iter/to-array-each/docs/types/index.d.ts index 4169e481..ed3e3b6b 100644 --- a/iter/to-array-each/docs/types/index.d.ts +++ b/iter/to-array-each/docs/types/index.d.ts @@ -37,9 +37,9 @@ type Iterator = TypedIterator | TypedIterableIterator; * @returns iterator * * @example -* var array = require( `@stdlib/ndarray/array` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); -* var nditerRows = require( `@stdlib/ndarray/iter/rows` ); +* var array = require( '@stdlib/ndarray/array' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); +* var nditerRows = require( '@stdlib/ndarray/iter/rows' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] ); * // returns diff --git a/iter/values/docs/types/index.d.ts b/iter/values/docs/types/index.d.ts index 7d94501a..577f77d8 100644 --- a/iter/values/docs/types/index.d.ts +++ b/iter/values/docs/types/index.d.ts @@ -49,7 +49,7 @@ interface Options { * @returns iterator * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], { * 'dtype': 'float64' diff --git a/maybe-broadcast-array/docs/types/index.d.ts b/maybe-broadcast-array/docs/types/index.d.ts index 2b00bf30..8a043d87 100644 --- a/maybe-broadcast-array/docs/types/index.d.ts +++ b/maybe-broadcast-array/docs/types/index.d.ts @@ -39,7 +39,7 @@ import { typedndarray, Shape } from '@stdlib/types/ndarray'; * @returns broadcasted array * * @example -* var array = require( `@stdlib/ndarray/array` ); +* var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns diff --git a/ndims/docs/types/index.d.ts b/ndims/docs/types/index.d.ts index 3cb3e397..00f50fac 100644 --- a/ndims/docs/types/index.d.ts +++ b/ndims/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns number of dimensions * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var n = ndims( zeros( [ 3, 3, 3 ] ) ); * // returns 3 diff --git a/numel-dimension/docs/types/index.d.ts b/numel-dimension/docs/types/index.d.ts index c3730da9..90aaa91d 100644 --- a/numel-dimension/docs/types/index.d.ts +++ b/numel-dimension/docs/types/index.d.ts @@ -30,7 +30,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns dimension size * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var d = numelDimension( zeros( [ 4, 2, 3 ] ), 0 ); * // returns 4 diff --git a/numel/docs/types/index.d.ts b/numel/docs/types/index.d.ts index fc66fc00..0088170f 100644 --- a/numel/docs/types/index.d.ts +++ b/numel/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns number of elements * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var n = numel( zeros( [ 3, 3, 3 ] ) ); * // returns 27 diff --git a/offset/docs/types/index.d.ts b/offset/docs/types/index.d.ts index bc7ec544..4341b5dc 100644 --- a/offset/docs/types/index.d.ts +++ b/offset/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * @returns index offset * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var n = offset( zeros( [ 3, 3, 3 ] ) ); * // returns 0 diff --git a/order/docs/types/index.d.ts b/order/docs/types/index.d.ts index e563c085..c692a04c 100644 --- a/order/docs/types/index.d.ts +++ b/order/docs/types/index.d.ts @@ -33,7 +33,7 @@ import { ndarray, Order } from '@stdlib/types/ndarray'; * @returns layout order (or null) * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var x = zeros( [ 3, 3, 3 ], { * 'order': 'row-major' diff --git a/shape/docs/types/index.d.ts b/shape/docs/types/index.d.ts index d3fc1b8e..1360d472 100644 --- a/shape/docs/types/index.d.ts +++ b/shape/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { ndarray, Shape } from '@stdlib/types/ndarray'; * @returns shape * * @example -* var zeros = require( `@stdlib/ndarray/zeros` ); +* var zeros = require( '@stdlib/ndarray/zeros' ); * * var sh = shape( zeros( [ 3, 3, 3 ] ) ); * // returns [ 3, 3, 3 ] diff --git a/slice-assign/docs/types/index.d.ts b/slice-assign/docs/types/index.d.ts index 9ee40047..0d56f1c6 100644 --- a/slice-assign/docs/types/index.d.ts +++ b/slice-assign/docs/types/index.d.ts @@ -57,12 +57,12 @@ type SliceArgument = Slice | number | null | undefined; * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); @@ -119,12 +119,12 @@ declare function sliceAssign( x: ndarray, y: float64ndarray, s: MultiSlice, opti * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); @@ -179,12 +179,12 @@ declare function sliceAssign( x: ndarray, y: float64ndarray, s: ArrayLike( x: ndarray, y: genericndarray, s: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = [ 1, 2, 3, 4, 5, 6 ]; @@ -2148,11 +2148,11 @@ declare function sliceAssign( x: ndarray, y: genericndarray, s: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = [ 1, 2, 3, 4, 5, 6 ]; @@ -2208,11 +2208,11 @@ declare function sliceAssign( x: ndarray, y: genericndarray, ... * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = [ 1, 2, 3, 4, 5, 6 ]; @@ -2269,11 +2269,11 @@ declare function sliceAssign( x: ndarray, y: typedndarray, s: Mu * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = [ 1, 2, 3, 4, 5, 6 ]; @@ -2329,11 +2329,11 @@ declare function sliceAssign( x: ndarray, y: typedndarray, s: Ar * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndzeros = require( `@stdlib/ndarray/zeros` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndzeros = require( '@stdlib/ndarray/zeros' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * // Define an input array: * var buffer = [ 1, 2, 3, 4, 5, 6 ]; diff --git a/slice-dimension-from/docs/types/index.d.ts b/slice-dimension-from/docs/types/index.d.ts index e07e254c..50ce440e 100644 --- a/slice-dimension-from/docs/types/index.d.ts +++ b/slice-dimension-from/docs/types/index.d.ts @@ -44,9 +44,9 @@ interface Options { * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -84,9 +84,9 @@ declare function sliceDimensionFrom( x: float64ndarray, dim: number, start: numb * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -124,9 +124,9 @@ declare function sliceDimensionFrom( x: float32ndarray, dim: number, start: numb * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -164,9 +164,9 @@ declare function sliceDimensionFrom( x: int32ndarray, dim: number, start: number * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -204,9 +204,9 @@ declare function sliceDimensionFrom( x: int16ndarray, dim: number, start: number * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -244,9 +244,9 @@ declare function sliceDimensionFrom( x: int8ndarray, dim: number, start: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -284,9 +284,9 @@ declare function sliceDimensionFrom( x: uint32ndarray, dim: number, start: numbe * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -324,9 +324,9 @@ declare function sliceDimensionFrom( x: uint16ndarray, dim: number, start: numbe * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -364,9 +364,9 @@ declare function sliceDimensionFrom( x: uint8ndarray, dim: number, start: number * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -404,9 +404,9 @@ declare function sliceDimensionFrom( x: uint8cndarray, dim: number, start: numbe * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -438,9 +438,9 @@ declare function sliceDimensionFrom( x: complex128ndarray, dim: number, start: n * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -472,8 +472,8 @@ declare function sliceDimensionFrom( x: complex64ndarray, dim: number, start: nu * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -510,8 +510,8 @@ declare function sliceDimensionFrom( x: genericndarray, dim: num * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/slice-dimension-to/docs/types/index.d.ts b/slice-dimension-to/docs/types/index.d.ts index 8e28b81b..9dd3ef21 100644 --- a/slice-dimension-to/docs/types/index.d.ts +++ b/slice-dimension-to/docs/types/index.d.ts @@ -44,9 +44,9 @@ interface Options { * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -84,9 +84,9 @@ declare function sliceDimensionTo( x: float64ndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -124,9 +124,9 @@ declare function sliceDimensionTo( x: float32ndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -164,9 +164,9 @@ declare function sliceDimensionTo( x: int32ndarray, dim: number, stop: number, o * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -204,9 +204,9 @@ declare function sliceDimensionTo( x: int16ndarray, dim: number, stop: number, o * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -244,9 +244,9 @@ declare function sliceDimensionTo( x: int8ndarray, dim: number, stop: number, op * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -284,9 +284,9 @@ declare function sliceDimensionTo( x: uint32ndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -324,9 +324,9 @@ declare function sliceDimensionTo( x: uint16ndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -364,9 +364,9 @@ declare function sliceDimensionTo( x: uint8ndarray, dim: number, stop: number, o * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -404,9 +404,9 @@ declare function sliceDimensionTo( x: uint8cndarray, dim: number, stop: number, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -438,9 +438,9 @@ declare function sliceDimensionTo( x: complex128ndarray, dim: number, stop: numb * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -472,8 +472,8 @@ declare function sliceDimensionTo( x: complex64ndarray, dim: number, stop: numbe * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -510,8 +510,8 @@ declare function sliceDimensionTo( x: genericndarray, dim: numbe * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/slice-dimension/docs/types/index.d.ts b/slice-dimension/docs/types/index.d.ts index 61677959..08760237 100644 --- a/slice-dimension/docs/types/index.d.ts +++ b/slice-dimension/docs/types/index.d.ts @@ -49,10 +49,10 @@ type SliceArgument = Slice | number | null | undefined; * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -93,10 +93,10 @@ declare function sliceDimension( x: float64ndarray, dim: number, s: SliceArgumen * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -137,10 +137,10 @@ declare function sliceDimension( x: float32ndarray, dim: number, s: SliceArgumen * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -181,10 +181,10 @@ declare function sliceDimension( x: int32ndarray, dim: number, s: SliceArgument, * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -225,10 +225,10 @@ declare function sliceDimension( x: int16ndarray, dim: number, s: SliceArgument, * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -269,10 +269,10 @@ declare function sliceDimension( x: int8ndarray, dim: number, s: SliceArgument, * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -313,10 +313,10 @@ declare function sliceDimension( x: uint32ndarray, dim: number, s: SliceArgument * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -357,10 +357,10 @@ declare function sliceDimension( x: uint16ndarray, dim: number, s: SliceArgument * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -401,10 +401,10 @@ declare function sliceDimension( x: uint8ndarray, dim: number, s: SliceArgument, * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -445,10 +445,10 @@ declare function sliceDimension( x: uint8cndarray, dim: number, s: SliceArgument * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -483,10 +483,10 @@ declare function sliceDimension( x: complex128ndarray, dim: number, s: SliceArgu * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -521,9 +521,9 @@ declare function sliceDimension( x: complex64ndarray, dim: number, s: SliceArgum * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -564,9 +564,9 @@ declare function sliceDimension( x: genericndarray, dim: number, * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; diff --git a/slice-from/docs/types/index.d.ts b/slice-from/docs/types/index.d.ts index f46020fb..5b7da01f 100644 --- a/slice-from/docs/types/index.d.ts +++ b/slice-from/docs/types/index.d.ts @@ -55,9 +55,9 @@ type StartArgument = null | undefined | number; * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -95,9 +95,9 @@ declare function sliceFrom( x: float64ndarray, start: ArrayLike, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -134,9 +134,9 @@ declare function sliceFrom( x: float64ndarray, ...start: Array, * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -213,9 +213,9 @@ declare function sliceFrom( x: float32ndarray, ...start: Array, op * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -292,9 +292,9 @@ declare function sliceFrom( x: int32ndarray, ...start: Array, op * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -371,9 +371,9 @@ declare function sliceFrom( x: int16ndarray, ...start: Array, opt * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -450,9 +450,9 @@ declare function sliceFrom( x: int8ndarray, ...start: Array, o * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -529,9 +529,9 @@ declare function sliceFrom( x: uint32ndarray, ...start: Array, o * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -608,9 +608,9 @@ declare function sliceFrom( x: uint16ndarray, ...start: Array, op * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -687,9 +687,9 @@ declare function sliceFrom( x: uint8ndarray, ...start: Array, o * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -766,9 +766,9 @@ declare function sliceFrom( x: uint8cndarray, ...start: Array * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -900,8 +900,8 @@ declare function sliceFrom( x: complex64ndarray, ...start: Array( x: genericndarray, start: ArrayLike< * @returns output array * * @example -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -977,8 +977,8 @@ declare function sliceFrom( x: genericndarray, ...start: Array( x: typedndarray, start: ArrayLike, opti * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -134,9 +134,9 @@ declare function sliceTo( x: float64ndarray, ...stop: Array, opti * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -213,9 +213,9 @@ declare function sliceTo( x: float32ndarray, ...stop: Array, option * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -292,9 +292,9 @@ declare function sliceTo( x: int32ndarray, ...stop: Array, option * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -371,9 +371,9 @@ declare function sliceTo( x: int16ndarray, ...stop: Array, options * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -450,9 +450,9 @@ declare function sliceTo( x: int8ndarray, ...stop: Array * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -490,9 +490,9 @@ declare function sliceTo( x: uint32ndarray, stop: ArrayLike, optio * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -529,9 +529,9 @@ declare function sliceTo( x: uint32ndarray, ...stop: Array, optio * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -608,9 +608,9 @@ declare function sliceTo( x: uint16ndarray, ...stop: Array, option * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -687,9 +687,9 @@ declare function sliceTo( x: uint8ndarray, ...stop: Array, optio * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -766,9 +766,9 @@ declare function sliceTo( x: uint8cndarray, ...stop: Array, o * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -833,9 +833,9 @@ declare function sliceTo( x: complex128ndarray, ...stop: Array, op * @returns output array * * @example -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -900,8 +900,8 @@ declare function sliceTo( x: complex64ndarray, ...stop: Array( x: genericndarray, stop: ArrayLike( x: genericndarray, ...stop: Array( x: typedndarray, stop: ArrayLike, options? * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float64' ); * var shape = [ 3, 2 ]; @@ -185,11 +185,11 @@ declare function slice( x: float64ndarray, ...slices: Array, options? * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ], 'float32' ); * var shape = [ 3, 2 ]; @@ -319,11 +319,11 @@ declare function slice( x: float32ndarray, ...slices: Array, options?: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int32' ); * var shape = [ 3, 2 ]; @@ -454,11 +454,11 @@ declare function slice( x: int32ndarray, ...slices: Array, options?: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int16' ); * var shape = [ 3, 2 ]; @@ -589,11 +589,11 @@ declare function slice( x: int16ndarray, ...slices: Array, options?: O * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'int8' ); * var shape = [ 3, 2 ]; @@ -724,11 +724,11 @@ declare function slice( x: int8ndarray, ...slices: Array, options?: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint32' ); * var shape = [ 3, 2 ]; @@ -859,11 +859,11 @@ declare function slice( x: uint32ndarray, ...slices: Array, options?: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint16' ); * var shape = [ 3, 2 ]; @@ -994,11 +994,11 @@ declare function slice( x: uint16ndarray, ...slices: Array, options?: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8' ); * var shape = [ 3, 2 ]; @@ -1129,11 +1129,11 @@ declare function slice( x: uint8ndarray, ...slices: Array, options?: * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1, 2, 3, 4, 5, 6 ], 'uint8c' ); * var shape = [ 3, 2 ]; @@ -1264,11 +1264,11 @@ declare function slice( x: uint8cndarray, ...slices: Array, optio * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex128' ); * var shape = [ 3, 2 ]; @@ -1380,11 +1380,11 @@ declare function slice( x: complex128ndarray, ...slices: Array, option * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var typedarray = require( `@stdlib/array/typed` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var typedarray = require( '@stdlib/array/typed' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = typedarray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ], 'complex64' ); * var shape = [ 3, 2 ]; @@ -1496,10 +1496,10 @@ declare function slice( x: complex64ndarray, ...slices: Array( x: genericndarray, s: MultiSlice, option * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -1584,10 +1584,10 @@ declare function slice( x: genericndarray, s: ArrayLike( x: genericndarray, ...slices: Array( x: typedndarray, s: MultiSlice, options? * @returns output array * * @example -* var Slice = require( `@stdlib/slice/ctor` ); -* var MultiSlice = require( `@stdlib/slice/multi` ); -* var ndarray = require( `@stdlib/ndarray/ctor` ); -* var ndarray2array = require( `@stdlib/ndarray/to-array` ); +* var Slice = require( '@stdlib/slice/ctor' ); +* var MultiSlice = require( '@stdlib/slice/multi' ); +* var ndarray = require( '@stdlib/ndarray/ctor' ); +* var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -1715,10 +1715,10 @@ declare function slice( x: typedndarray, s: ArrayLike