From dbc10530e46bc52a04e5fed2eb62896fa56764fe Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 25 May 2024 08:51:25 +0000 Subject: [PATCH] Auto-generated commit --- base/accessor-setter/README.md | 6 +- base/accessor-setter/benchmark/benchmark.js | 4 +- base/accessor-setter/docs/types/index.d.ts | 4 +- base/accessor-setter/docs/types/test.ts | 4 +- base/accessor-setter/examples/index.js | 4 +- base/accessor-setter/lib/index.js | 2 +- base/accessor-setter/lib/main.js | 6 +- base/accessor-setter/test/test.js | 4 +- base/accessors/test/test.js | 2 +- base/arraylike2object/test/test.js | 2 +- base/assert/is-accessor-array/README.md | 2 +- base/at/test/test.js | 2 +- base/count-same-value-zero/lib/main.js | 2 +- base/count-same-value-zero/test/test.js | 2 +- base/count-same-value/lib/main.js | 2 +- base/count-same-value/test/test.js | 2 +- base/resolve-setter/docs/types/index.d.ts | 4 +- base/resolve-setter/docs/types/test.ts | 4 +- base/resolve-setter/test/test.js | 4 +- base/with/docs/types/index.d.ts | 2 +- base/with/test/test.js | 2 +- complex128/README.md | 54 ++++++++--------- complex128/benchmark/benchmark.at.js | 2 +- .../benchmark/benchmark.every.length.js | 2 +- complex128/benchmark/benchmark.fill.js | 2 +- complex128/benchmark/benchmark.fill.length.js | 2 +- .../benchmark/benchmark.filter.length.js | 2 +- complex128/benchmark/benchmark.find.length.js | 2 +- .../benchmark/benchmark.find_index.length.js | 2 +- .../benchmark/benchmark.find_last.length.js | 2 +- .../benchmark.find_last_index.length.js | 2 +- .../benchmark/benchmark.for_each.length.js | 2 +- complex128/benchmark/benchmark.includes.js | 2 +- .../benchmark/benchmark.includes.length.js | 2 +- complex128/benchmark/benchmark.index_of.js | 2 +- .../benchmark/benchmark.index_of.length.js | 2 +- complex128/benchmark/benchmark.join.length.js | 2 +- complex128/benchmark/benchmark.keys.length.js | 2 +- .../benchmark/benchmark.last_index_of.js | 2 +- .../benchmark.last_index_of.length.js | 2 +- complex128/benchmark/benchmark.map.js | 2 +- complex128/benchmark/benchmark.map.length.js | 2 +- .../benchmark/benchmark.reduce.length.js | 2 +- .../benchmark.reduce_right.length.js | 2 +- .../benchmark/benchmark.reverse.length.js | 2 +- .../benchmark/benchmark.slice.length.js | 2 +- complex128/benchmark/benchmark.some.length.js | 2 +- complex128/benchmark/benchmark.sort.length.js | 2 +- .../benchmark/benchmark.subarray.length.js | 2 +- .../benchmark.to_locale_string.length.js | 2 +- .../benchmark/benchmark.to_reversed.length.js | 2 +- .../benchmark/benchmark.to_sorted.length.js | 2 +- .../benchmark/benchmark.to_string.length.js | 2 +- .../benchmark/benchmark.values.length.js | 2 +- complex128/benchmark/benchmark.with.js | 2 +- complex128/benchmark/benchmark.with.length.js | 2 +- complex128/docs/types/index.d.ts | 18 +++--- complex128/docs/types/test.ts | 2 +- complex128/examples/index.js | 2 +- complex128/lib/main.js | 22 +++---- complex128/test/test.at.js | 2 +- complex128/test/test.copy_within.js | 2 +- complex128/test/test.fill.js | 2 +- complex128/test/test.from.js | 2 +- complex128/test/test.get.js | 2 +- complex128/test/test.includes.js | 2 +- complex128/test/test.index_of.js | 2 +- complex128/test/test.js | 2 +- complex128/test/test.last_index_of.js | 2 +- complex128/test/test.map.js | 2 +- complex128/test/test.of.js | 2 +- complex128/test/test.reduce.js | 2 +- complex128/test/test.reduce_right.js | 2 +- complex128/test/test.set.js | 2 +- complex128/test/test.values.js | 2 +- complex128/test/test.with.js | 2 +- complex64/README.md | 58 +++++++++---------- complex64/benchmark/benchmark.at.js | 2 +- complex64/benchmark/benchmark.copy_within.js | 2 +- .../benchmark/benchmark.copy_within.length.js | 2 +- complex64/benchmark/benchmark.entries.js | 2 +- complex64/benchmark/benchmark.every.length.js | 2 +- complex64/benchmark/benchmark.fill.js | 2 +- complex64/benchmark/benchmark.fill.length.js | 2 +- .../benchmark/benchmark.filter.length.js | 2 +- complex64/benchmark/benchmark.find.length.js | 2 +- .../benchmark/benchmark.find_index.length.js | 2 +- .../benchmark/benchmark.find_last.length.js | 2 +- .../benchmark.find_last_index.length.js | 2 +- .../benchmark/benchmark.for_each.length.js | 2 +- complex64/benchmark/benchmark.get.js | 2 +- complex64/benchmark/benchmark.includes.js | 2 +- .../benchmark/benchmark.includes.length.js | 2 +- complex64/benchmark/benchmark.index_of.js | 2 +- .../benchmark/benchmark.index_of.length.js | 2 +- complex64/benchmark/benchmark.join.length.js | 2 +- complex64/benchmark/benchmark.keys.length.js | 2 +- .../benchmark/benchmark.last_index_of.js | 2 +- .../benchmark.last_index_of.length.js | 2 +- complex64/benchmark/benchmark.map.js | 2 +- complex64/benchmark/benchmark.map.length.js | 2 +- complex64/benchmark/benchmark.of.js | 2 +- .../benchmark/benchmark.reduce.length.js | 2 +- .../benchmark.reduce_right.length.js | 2 +- .../benchmark/benchmark.reverse.length.js | 2 +- complex64/benchmark/benchmark.set.js | 2 +- complex64/benchmark/benchmark.set.length.js | 2 +- complex64/benchmark/benchmark.slice.length.js | 2 +- complex64/benchmark/benchmark.some.length.js | 2 +- complex64/benchmark/benchmark.sort.length.js | 2 +- .../benchmark/benchmark.subarray.length.js | 2 +- .../benchmark.to_locale_string.length.js | 2 +- .../benchmark/benchmark.to_reversed.length.js | 2 +- .../benchmark/benchmark.to_sorted.length.js | 2 +- .../benchmark/benchmark.to_string.length.js | 2 +- .../benchmark/benchmark.values.length.js | 2 +- complex64/benchmark/benchmark.with.js | 2 +- complex64/benchmark/benchmark.with.length.js | 2 +- complex64/docs/types/index.d.ts | 24 ++++---- complex64/docs/types/test.ts | 2 +- complex64/examples/index.js | 2 +- complex64/lib/main.js | 30 +++++----- complex64/test/test.at.js | 2 +- complex64/test/test.copy_within.js | 2 +- complex64/test/test.fill.js | 2 +- complex64/test/test.from.js | 2 +- complex64/test/test.get.js | 2 +- complex64/test/test.includes.js | 2 +- complex64/test/test.index_of.js | 2 +- complex64/test/test.js | 2 +- complex64/test/test.last_index_of.js | 2 +- complex64/test/test.map.js | 2 +- complex64/test/test.of.js | 2 +- complex64/test/test.reduce.js | 2 +- complex64/test/test.reduce_right.js | 2 +- complex64/test/test.set.js | 2 +- complex64/test/test.values.js | 2 +- complex64/test/test.with.js | 2 +- filled-by/benchmark/benchmark.js | 4 +- .../benchmark/benchmark.length.complex128.js | 2 +- .../benchmark/benchmark.length.complex64.js | 2 +- filled-by/test/test.js | 4 +- filled/benchmark/benchmark.js | 4 +- .../benchmark/benchmark.length.complex128.js | 2 +- .../benchmark/benchmark.length.complex64.js | 2 +- filled/test/test.js | 4 +- from-iterator/test/test.js | 2 +- from-scalar/README.md | 2 +- from-scalar/docs/types/index.d.ts | 8 +-- from-scalar/docs/types/test.ts | 4 +- from-scalar/examples/index.js | 2 +- from-scalar/test/test.js | 4 +- full-like/benchmark/benchmark.js | 4 +- .../benchmark/benchmark.length.complex128.js | 2 +- .../benchmark/benchmark.length.complex64.js | 2 +- full-like/docs/types/test.ts | 4 +- full-like/lib/main.js | 4 +- full-like/test/test.js | 4 +- full/benchmark/benchmark.js | 4 +- full/benchmark/benchmark.length.complex128.js | 2 +- full/benchmark/benchmark.length.complex64.js | 2 +- full/docs/types/test.ts | 2 +- full/test/test.js | 4 +- linspace/README.md | 2 +- ...chmark.assign.complex128_complex.length.js | 2 +- ...nchmark.assign.complex64_complex.length.js | 2 +- ...benchmark.assign.generic_complex.length.js | 2 +- linspace/benchmark/benchmark.assign.js | 4 +- .../benchmark.complex128_complex.length.js | 2 +- .../benchmark.complex64_complex.length.js | 2 +- .../benchmark.default_complex.length.js | 2 +- .../benchmark.generic_complex.length.js | 2 +- linspace/benchmark/benchmark.js | 4 +- linspace/docs/types/index.d.ts | 30 +++++----- linspace/docs/types/test.ts | 4 +- linspace/lib/accessors_complex.js | 4 +- linspace/lib/generic_complex.js | 4 +- linspace/test/test.assign.js | 4 +- linspace/test/test.main.js | 4 +- min-dtype/test/test.js | 4 +- nans-like/lib/main.js | 4 +- nans/lib/main.js | 4 +- ones-like/lib/main.js | 4 +- ones/lib/main.js | 4 +- pool/test/test.factory.js | 4 +- pool/test/test.js | 4 +- to-fancy/lib/validator.js | 4 +- to-fancy/test/test.set.integers.js | 2 +- to-fancy/test/test.set.slice.js | 2 +- to-fancy/test/test.set.subsequence.js | 2 +- to-iterator/test/test.js | 2 +- typed-complex/README.md | 2 +- typed-complex/examples/index.js | 2 +- 193 files changed, 346 insertions(+), 346 deletions(-) diff --git a/base/accessor-setter/README.md b/base/accessor-setter/README.md index 98121b06..9375aa6e 100644 --- a/base/accessor-setter/README.md +++ b/base/accessor-setter/README.md @@ -46,7 +46,7 @@ Returns an accessor function for setting an element in an array-like object supp ```javascript var Complex64Array = require( '@stdlib/array/complex64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -103,8 +103,8 @@ The returned accessor function accepts the following arguments: ```javascript var Complex128Array = require( '@stdlib/array/complex128' ); var Complex64Array = require( '@stdlib/array/complex64' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var zeroTo = require( '@stdlib/array/base/zero-to' ); var dtype = require( '@stdlib/array/dtype' ); var accessorSetter = require( '@stdlib/array/base/accessor-setter' ); diff --git a/base/accessor-setter/benchmark/benchmark.js b/base/accessor-setter/benchmark/benchmark.js index 37f724a1..2e73779c 100644 --- a/base/accessor-setter/benchmark/benchmark.js +++ b/base/accessor-setter/benchmark/benchmark.js @@ -28,8 +28,8 @@ var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); var filledBy = require( './../../../filled-by' ); var Complex128Array = require( './../../../complex128' ); var Complex64Array = require( './../../../complex64' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var realf = require( '@stdlib/complex/realf' ); diff --git a/base/accessor-setter/docs/types/index.d.ts b/base/accessor-setter/docs/types/index.d.ts index 7810bfa5..bb2cb047 100644 --- a/base/accessor-setter/docs/types/index.d.ts +++ b/base/accessor-setter/docs/types/index.d.ts @@ -58,7 +58,7 @@ type SetArrayLike = ( arr: AccessorArrayLike, idx: number, value: T ) => v * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * var real = require( '@stdlib/array/real' ); * var imag = require( '@stdlib/array/imag' ); * @@ -86,7 +86,7 @@ declare function setter( dtype: 'complex128' ): SetComplex128; * * @example * var Complex64Array = require( '@stdlib/array/complex64' ); -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/array/realf' ); * var imagf = require( '@stdlib/array/imagf' ); * diff --git a/base/accessor-setter/docs/types/test.ts b/base/accessor-setter/docs/types/test.ts index 42454d66..1fc5398e 100644 --- a/base/accessor-setter/docs/types/test.ts +++ b/base/accessor-setter/docs/types/test.ts @@ -19,8 +19,8 @@ import AccessorArray = require( './../../../../base/accessor' ); import Complex128Array = require( './../../../../complex128' ); import Complex64Array = require( './../../../../complex64' ); -import Complex128 = require( '@stdlib/complex/float64' ); -import Complex64 = require( '@stdlib/complex/float32' ); +import Complex128 = require( '@stdlib/complex/float64/ctor' ); +import Complex64 = require( '@stdlib/complex/float32/ctor' ); import setter = require( './index' ); // TESTS // diff --git a/base/accessor-setter/examples/index.js b/base/accessor-setter/examples/index.js index 8bc3552a..58f0a5b8 100644 --- a/base/accessor-setter/examples/index.js +++ b/base/accessor-setter/examples/index.js @@ -20,8 +20,8 @@ var Complex128Array = require( './../../../complex128' ); var Complex64Array = require( './../../../complex64' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var zeroTo = require( './../../../base/zero-to' ); var dtype = require( './../../../dtype' ); var accessorSetter = require( './../lib' ); diff --git a/base/accessor-setter/lib/index.js b/base/accessor-setter/lib/index.js index 48aaaf45..7f2e430a 100644 --- a/base/accessor-setter/lib/index.js +++ b/base/accessor-setter/lib/index.js @@ -25,7 +25,7 @@ * * @example * var Complex64Array = require( '@stdlib/array/complex64' ); -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * var dtype = require( '@stdlib/array/dtype' ); diff --git a/base/accessor-setter/lib/main.js b/base/accessor-setter/lib/main.js index 895a479c..effba152 100644 --- a/base/accessor-setter/lib/main.js +++ b/base/accessor-setter/lib/main.js @@ -39,7 +39,7 @@ var SETTERS = { * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * @@ -69,7 +69,7 @@ function setComplex128( arr, idx, value ) { * * @example * var Complex64Array = require( '@stdlib/array/complex64' ); -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -131,7 +131,7 @@ function setArrayLike( arr, idx, value ) { * * @example * var Complex64Array = require( '@stdlib/array/complex64' ); -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * var dtype = require( '@stdlib/array/dtype' ); diff --git a/base/accessor-setter/test/test.js b/base/accessor-setter/test/test.js index 3ef0138a..115a3220 100644 --- a/base/accessor-setter/test/test.js +++ b/base/accessor-setter/test/test.js @@ -23,8 +23,8 @@ var tape = require( 'tape' ); var Complex128Array = require( './../../../complex128' ); var Complex64Array = require( './../../../complex64' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var realf = require( '@stdlib/complex/realf' ); diff --git a/base/accessors/test/test.js b/base/accessors/test/test.js index 47014b37..76db8e27 100644 --- a/base/accessors/test/test.js +++ b/base/accessors/test/test.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var Float64Array = require( './../../../float64' ); var Complex64Array = require( './../../../complex64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var getter = require( './../../../base/getter' ); diff --git a/base/arraylike2object/test/test.js b/base/arraylike2object/test/test.js index 40c98ae6..de8cb18e 100644 --- a/base/arraylike2object/test/test.js +++ b/base/arraylike2object/test/test.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var Float64Array = require( './../../../float64' ); var Complex64Array = require( './../../../complex64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var arraylike2object = require( './../lib' ); diff --git a/base/assert/is-accessor-array/README.md b/base/assert/is-accessor-array/README.md index ed028172..225cc6d0 100644 --- a/base/assert/is-accessor-array/README.md +++ b/base/assert/is-accessor-array/README.md @@ -44,7 +44,7 @@ Tests if an array-like object supports the accessor (get/set) protocol. ```javascript var Complex128Array = require( '@stdlib/array/complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); // Create a new complex number array: var arr = new Complex128Array( 10 ); diff --git a/base/at/test/test.js b/base/at/test/test.js index f1d0a8fe..9b040929 100644 --- a/base/at/test/test.js +++ b/base/at/test/test.js @@ -25,7 +25,7 @@ var Int32Array = require( './../../../int32' ); var Complex128Array = require( './../../../complex128' ); var toAccessorArray = require( './../../../base/to-accessor-array' ); var isSameComplex128 = require( '@stdlib/assert/is-same-complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var at = require( './../lib' ); diff --git a/base/count-same-value-zero/lib/main.js b/base/count-same-value-zero/lib/main.js index 23efa38d..e131609b 100644 --- a/base/count-same-value-zero/lib/main.js +++ b/base/count-same-value-zero/lib/main.js @@ -101,7 +101,7 @@ function accessors( x, value ) { * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var x = new Complex128Array( [ 1.0, 2.0, 0.0, 0.0, 3.0, 4.0, 0.0, 0.0 ] ); * diff --git a/base/count-same-value-zero/test/test.js b/base/count-same-value-zero/test/test.js index edaa0ccd..66a4b66a 100644 --- a/base/count-same-value-zero/test/test.js +++ b/base/count-same-value-zero/test/test.js @@ -21,7 +21,7 @@ // MODULES // var tape = require( 'tape' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Complex128Array = require( './../../../complex128' ); var Int32Array = require( './../../../int32' ); var Float32Array = require( './../../../float32' ); diff --git a/base/count-same-value/lib/main.js b/base/count-same-value/lib/main.js index 3be24e82..aa061ab9 100644 --- a/base/count-same-value/lib/main.js +++ b/base/count-same-value/lib/main.js @@ -101,7 +101,7 @@ function accessors( x, value ) { * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var x = new Complex128Array( [ 1.0, 2.0, 0.0, 0.0, 3.0, 4.0, 0.0, 0.0 ] ); * diff --git a/base/count-same-value/test/test.js b/base/count-same-value/test/test.js index a2d628d9..c62dbbff 100644 --- a/base/count-same-value/test/test.js +++ b/base/count-same-value/test/test.js @@ -21,7 +21,7 @@ // MODULES // var tape = require( 'tape' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Complex128Array = require( './../../../complex128' ); var Int32Array = require( './../../../int32' ); var Float32Array = require( './../../../float32' ); diff --git a/base/resolve-setter/docs/types/index.d.ts b/base/resolve-setter/docs/types/index.d.ts index 89c69e49..c7f96fb7 100644 --- a/base/resolve-setter/docs/types/index.d.ts +++ b/base/resolve-setter/docs/types/index.d.ts @@ -201,7 +201,7 @@ declare function resolveSetter( x: Float32Array ): SetFloat32; * @example * var resolveGetter = require( '@stdlib/array/base/resolve-getter' ); * var Complex128Array = require( '@stdlib/array/complex128' ); -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * var real = require( '@stdlib/array/real' ); * var imag = require( '@stdlib/array/imag' ); * @@ -231,7 +231,7 @@ declare function resolveSetter( x: Complex128Array ): SetComplex128; * @example * var resolveGetter = require( '@stdlib/array/base/resolve-getter' ); * var Complex64Array = require( '@stdlib/array/complex64' ); -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/array/realf' ); * var imagf = require( '@stdlib/array/imagf' ); * diff --git a/base/resolve-setter/docs/types/test.ts b/base/resolve-setter/docs/types/test.ts index ddb735bc..0e2f6cc2 100644 --- a/base/resolve-setter/docs/types/test.ts +++ b/base/resolve-setter/docs/types/test.ts @@ -19,8 +19,8 @@ import AccessorArray = require( './../../../../base/accessor' ); import Complex128Array = require( './../../../../complex128' ); import Complex64Array = require( './../../../../complex64' ); -import Complex128 = require( '@stdlib/complex/float64' ); -import Complex64 = require( '@stdlib/complex/float32' ); +import Complex128 = require( '@stdlib/complex/float64/ctor' ); +import Complex64 = require( '@stdlib/complex/float32/ctor' ); import resolveSetter = require( './index' ); diff --git a/base/resolve-setter/test/test.js b/base/resolve-setter/test/test.js index acd34928..fccc36b9 100644 --- a/base/resolve-setter/test/test.js +++ b/base/resolve-setter/test/test.js @@ -25,8 +25,8 @@ var filled = require( './../../../filled' ); var accessorArray = require( './../../../base/accessor' ); var Complex128Array = require( './../../../complex128' ); var Complex64Array = require( './../../../complex64' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var realf = require( '@stdlib/complex/realf' ); diff --git a/base/with/docs/types/index.d.ts b/base/with/docs/types/index.d.ts index 860ad758..e73909ef 100644 --- a/base/with/docs/types/index.d.ts +++ b/base/with/docs/types/index.d.ts @@ -33,7 +33,7 @@ import { ComplexLike } from '@stdlib/types/complex'; * * @example * var Complex128Array = require( '@stdlib/array/complex128' ); -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] ); * diff --git a/base/with/test/test.js b/base/with/test/test.js index d1cd22a2..08048378 100644 --- a/base/with/test/test.js +++ b/base/with/test/test.js @@ -25,7 +25,7 @@ var Int32Array = require( './../../../int32' ); var Float64Array = require( './../../../float64' ); var Complex128Array = require( './../../../complex128' ); var AccessorArray = require( './../../../base/accessor' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isSameComplex128Array = require( '@stdlib/assert/is-same-complex128array' ); var isArray = require( '@stdlib/assert/is-array' ); var isFloat64Array = require( '@stdlib/assert/is-float64array' ); diff --git a/complex128/README.md b/complex128/README.md index 9e1f5288..beb84a8e 100644 --- a/complex128/README.md +++ b/complex128/README.md @@ -100,7 +100,7 @@ var len = arr.length; Creates a 128-bit complex number array from an array-like object or iterable. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); // From an array of interleaved real and imaginary components: var arr1 = new Complex128Array( [ 1.0, -1.0, 2.0, -2.0 ] ); @@ -260,7 +260,7 @@ var len = arr.length; Creates a new 128-bit complex number array from an array-like object or an iterable. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); // Create an array from interleaved real and imaginary components: var arr = Complex128Array.from( [ 1.0, -1.0 ] ); @@ -344,7 +344,7 @@ if ( ITERATOR_SYMBOL === null ) { To invoke a function for each `src` value, provide a callback function. If `src` is an iterable or an array-like object containing complex numbers, the callback must return either a complex number ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -376,7 +376,7 @@ or an array-like object containing real and imaginary components ```javascript var Float64Array = require( '@stdlib/array/float64' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -425,7 +425,7 @@ If `src` is an array-like object containing interleaved real and imaginary compo ```javascript var Float64Array = require( '@stdlib/array/float64' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -461,7 +461,7 @@ A callback function is provided two arguments: To set the callback execution context, provide a `thisArg`. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -496,7 +496,7 @@ var n = ctx.count; Creates a new 128-bit complex number array from a variable number of arguments. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var arr = Complex128Array.of( 1.0, -1.0, 2.0, -2.0 ); // returns @@ -571,7 +571,7 @@ z = arr.at( -100 ); Copies a sequence of elements within the array starting at `start` and ending at `end` (non-inclusive) to the position starting at `target`. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -630,7 +630,7 @@ im = imag( z ); By default, `end` equals the number of array elements (i.e., one more than the last array index). To limit the sequence length, provide an `end` argument. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -689,7 +689,7 @@ im = imag( z ); When a `target`, `start`, and/or `end` index is negative, the respective index is determined relative to the last array element. The following example achieves the same behavior as the previous example: ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -752,7 +752,7 @@ im = imag( z ); Returns an iterator for iterating over array key-value pairs. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -863,7 +863,7 @@ var count = context.count; Returns a modified typed array filled with a fill value. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -936,7 +936,7 @@ im = imag( z ); When a `start` and/or `end` index is negative, the respective index is determined relative to the last array element. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -1310,7 +1310,7 @@ var count = context.count; Invokes a function once for each array element. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); function log( v, i ) { console.log( '%s: %s', i, v.toString() ); @@ -1340,7 +1340,7 @@ The invoked function is provided three arguments: To set the function execution context, provide a `thisArg`. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); function fcn( v, i ) { this.count += 1; @@ -1411,7 +1411,7 @@ var z = arr.get( 100 ); Returns a boolean indicating whether an array includes a provided value. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var arr = new Complex128Array( 5 ); @@ -1438,7 +1438,7 @@ bool = arr.includes( new Complex128( 4.0, -4.0 ), -3 ); Returns the first index at which a given element can be found. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var arr = new Complex128Array( 5 ); @@ -1461,7 +1461,7 @@ idx = arr.indexOf( new Complex128( 4.0, -4.0 ), -3 ); If `searchElement` is not present in the array, the method returns `-1`. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var arr = new Complex128Array( 5 ); @@ -1541,7 +1541,7 @@ The returned [iterator][mdn-iterator-protocol] protocol-compliant object has the Returns the last index at which a given element can be found. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var arr = new Complex128Array( 5 ); @@ -1564,7 +1564,7 @@ idx = arr.lastIndexOf( new Complex128( 4.0, -4.0 ), -1 ); If `searchElement` is not present in the array, the method returns `-1`. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var arr = new Complex128Array( 5 ); @@ -1585,7 +1585,7 @@ idx = arr.lastIndexOf( new Complex128( 2.0, -2.0 ), 0 ); Returns a new array with each element being the result of a provided callback function. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -1622,7 +1622,7 @@ The callback function is provided three arguments: To set the function execution context, provide a `thisArg`. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -1811,7 +1811,7 @@ im = imag( z ); Sets one or more array elements. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -1844,7 +1844,7 @@ im = imag( z ); By default, the method sets array elements starting at position (index) `i = 0`. To set elements starting elsewhere in the array, provide an index argument `i`. ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -1877,7 +1877,7 @@ im = imag( z ); In addition to providing a complex number, to set one or more array elements, provide an array-like object containing either complex numbers ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); @@ -2490,7 +2490,7 @@ Returns a new typed array with the element at a provided index replaced with a p ```javascript var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var arr = new Complex128Array( 3 ); @@ -2545,7 +2545,7 @@ var im = imag( z ); ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Float64Array = require( '@stdlib/array/float64' ); var logEach = require( '@stdlib/console/log-each' ); var Complex128Array = require( '@stdlib/array/complex128' ); diff --git a/complex128/benchmark/benchmark.at.js b/complex128/benchmark/benchmark.at.js index 2ec18232..dbdf2178 100644 --- a/complex128/benchmark/benchmark.at.js +++ b/complex128/benchmark/benchmark.at.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isComplex128 = require( '@stdlib/assert/is-complex128' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.every.length.js b/complex128/benchmark/benchmark.every.length.js index b2004e98..cfcd673d 100644 --- a/complex128/benchmark/benchmark.every.length.js +++ b/complex128/benchmark/benchmark.every.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var pkg = require( './../package.json' ).name; diff --git a/complex128/benchmark/benchmark.fill.js b/complex128/benchmark/benchmark.fill.js index 5091b595..4fe6492b 100644 --- a/complex128/benchmark/benchmark.fill.js +++ b/complex128/benchmark/benchmark.fill.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.fill.length.js b/complex128/benchmark/benchmark.fill.length.js index 724ec366..d711e008 100644 --- a/complex128/benchmark/benchmark.fill.length.js +++ b/complex128/benchmark/benchmark.fill.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isComplex128Array = require('@stdlib/assert/is-complex128array'); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.filter.length.js b/complex128/benchmark/benchmark.filter.length.js index b9936b56..3cc0ea9a 100644 --- a/complex128/benchmark/benchmark.filter.length.js +++ b/complex128/benchmark/benchmark.filter.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var pkg = require( './../package.json' ).name; diff --git a/complex128/benchmark/benchmark.find.length.js b/complex128/benchmark/benchmark.find.length.js index c1abb0ee..13a6a3ae 100644 --- a/complex128/benchmark/benchmark.find.length.js +++ b/complex128/benchmark/benchmark.find.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isComplex128 = require( '@stdlib/assert/is-complex128' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); diff --git a/complex128/benchmark/benchmark.find_index.length.js b/complex128/benchmark/benchmark.find_index.length.js index 901953a8..fe01d203 100644 --- a/complex128/benchmark/benchmark.find_index.length.js +++ b/complex128/benchmark/benchmark.find_index.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isInteger = require( '@stdlib/assert/is-integer' ).isPrimitive; var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); diff --git a/complex128/benchmark/benchmark.find_last.length.js b/complex128/benchmark/benchmark.find_last.length.js index 81c9abf6..d34d395f 100644 --- a/complex128/benchmark/benchmark.find_last.length.js +++ b/complex128/benchmark/benchmark.find_last.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isComplex128 = require( '@stdlib/assert/is-complex128' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); diff --git a/complex128/benchmark/benchmark.find_last_index.length.js b/complex128/benchmark/benchmark.find_last_index.length.js index 8d5f9ecd..7f743853 100644 --- a/complex128/benchmark/benchmark.find_last_index.length.js +++ b/complex128/benchmark/benchmark.find_last_index.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isInteger = require( '@stdlib/assert/is-integer' ).isPrimitive; var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); diff --git a/complex128/benchmark/benchmark.for_each.length.js b/complex128/benchmark/benchmark.for_each.length.js index 765590af..d6c4abdb 100644 --- a/complex128/benchmark/benchmark.for_each.length.js +++ b/complex128/benchmark/benchmark.for_each.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var pkg = require( './../package.json' ).name; diff --git a/complex128/benchmark/benchmark.includes.js b/complex128/benchmark/benchmark.includes.js index 89a2e39d..0c80ec1d 100644 --- a/complex128/benchmark/benchmark.includes.js +++ b/complex128/benchmark/benchmark.includes.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.includes.length.js b/complex128/benchmark/benchmark.includes.length.js index 2a43e46f..fe8e43a1 100644 --- a/complex128/benchmark/benchmark.includes.length.js +++ b/complex128/benchmark/benchmark.includes.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.index_of.js b/complex128/benchmark/benchmark.index_of.js index f72af2d1..3b532b50 100644 --- a/complex128/benchmark/benchmark.index_of.js +++ b/complex128/benchmark/benchmark.index_of.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isInteger = require('@stdlib/assert/is-integer' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.index_of.length.js b/complex128/benchmark/benchmark.index_of.length.js index f2ef3231..bd7c0ae8 100644 --- a/complex128/benchmark/benchmark.index_of.length.js +++ b/complex128/benchmark/benchmark.index_of.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isInteger = require('@stdlib/assert/is-integer' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.join.length.js b/complex128/benchmark/benchmark.join.length.js index 45dddc50..139e0056 100644 --- a/complex128/benchmark/benchmark.join.length.js +++ b/complex128/benchmark/benchmark.join.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.keys.length.js b/complex128/benchmark/benchmark.keys.length.js index a585ec6e..602bf4b3 100644 --- a/complex128/benchmark/benchmark.keys.length.js +++ b/complex128/benchmark/benchmark.keys.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isIteratorLike = require('@stdlib/assert/is-iterator-like'); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.last_index_of.js b/complex128/benchmark/benchmark.last_index_of.js index c4a21f5a..bbad202a 100644 --- a/complex128/benchmark/benchmark.last_index_of.js +++ b/complex128/benchmark/benchmark.last_index_of.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isInteger = require('@stdlib/assert/is-integer' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.last_index_of.length.js b/complex128/benchmark/benchmark.last_index_of.length.js index 4d0c9184..2d508813 100644 --- a/complex128/benchmark/benchmark.last_index_of.length.js +++ b/complex128/benchmark/benchmark.last_index_of.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isInteger = require('@stdlib/assert/is-integer' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.map.js b/complex128/benchmark/benchmark.map.js index 384b6f5a..034137d3 100644 --- a/complex128/benchmark/benchmark.map.js +++ b/complex128/benchmark/benchmark.map.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); -var Complex128 = require('@stdlib/complex/float64'); +var Complex128 = require('@stdlib/complex/float64/ctor'); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.map.length.js b/complex128/benchmark/benchmark.map.length.js index 7bfa687e..ca1e844b 100644 --- a/complex128/benchmark/benchmark.map.length.js +++ b/complex128/benchmark/benchmark.map.length.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var pow = require( '@stdlib/math/base/special/pow' ); var identity = require( '@stdlib/utils/identity-function' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.reduce.length.js b/complex128/benchmark/benchmark.reduce.length.js index 538b8a1e..d1f3414f 100644 --- a/complex128/benchmark/benchmark.reduce.length.js +++ b/complex128/benchmark/benchmark.reduce.length.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var cadd = require( '@stdlib/math/base/ops/cadd' ); var isComplexLike = require('@stdlib/assert/is-complex-like' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.reduce_right.length.js b/complex128/benchmark/benchmark.reduce_right.length.js index 53d29e2b..82ee4db8 100644 --- a/complex128/benchmark/benchmark.reduce_right.length.js +++ b/complex128/benchmark/benchmark.reduce_right.length.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var cadd = require( '@stdlib/math/base/ops/cadd' ); var isComplexLike = require('@stdlib/assert/is-complex-like' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.reverse.length.js b/complex128/benchmark/benchmark.reverse.length.js index ad21fae7..292deee9 100644 --- a/complex128/benchmark/benchmark.reverse.length.js +++ b/complex128/benchmark/benchmark.reverse.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.slice.length.js b/complex128/benchmark/benchmark.slice.length.js index 83b073f2..33042387 100644 --- a/complex128/benchmark/benchmark.slice.length.js +++ b/complex128/benchmark/benchmark.slice.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.some.length.js b/complex128/benchmark/benchmark.some.length.js index a5ee44cb..eae179f0 100644 --- a/complex128/benchmark/benchmark.some.length.js +++ b/complex128/benchmark/benchmark.some.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var pkg = require( './../package.json' ).name; diff --git a/complex128/benchmark/benchmark.sort.length.js b/complex128/benchmark/benchmark.sort.length.js index 52d6f5ec..13552c2c 100644 --- a/complex128/benchmark/benchmark.sort.length.js +++ b/complex128/benchmark/benchmark.sort.length.js @@ -25,7 +25,7 @@ var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.subarray.length.js b/complex128/benchmark/benchmark.subarray.length.js index 194ed267..c7eda076 100644 --- a/complex128/benchmark/benchmark.subarray.length.js +++ b/complex128/benchmark/benchmark.subarray.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.to_locale_string.length.js b/complex128/benchmark/benchmark.to_locale_string.length.js index d4a4a5fd..c521cd47 100644 --- a/complex128/benchmark/benchmark.to_locale_string.length.js +++ b/complex128/benchmark/benchmark.to_locale_string.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.to_reversed.length.js b/complex128/benchmark/benchmark.to_reversed.length.js index ed93a9fd..09dc1209 100644 --- a/complex128/benchmark/benchmark.to_reversed.length.js +++ b/complex128/benchmark/benchmark.to_reversed.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.to_sorted.length.js b/complex128/benchmark/benchmark.to_sorted.length.js index 9c3981c1..4ef157e7 100644 --- a/complex128/benchmark/benchmark.to_sorted.length.js +++ b/complex128/benchmark/benchmark.to_sorted.length.js @@ -25,7 +25,7 @@ var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.to_string.length.js b/complex128/benchmark/benchmark.to_string.length.js index f8cfcfd0..d93da12f 100644 --- a/complex128/benchmark/benchmark.to_string.length.js +++ b/complex128/benchmark/benchmark.to_string.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.values.length.js b/complex128/benchmark/benchmark.values.length.js index 938f75a6..0a43ff04 100644 --- a/complex128/benchmark/benchmark.values.length.js +++ b/complex128/benchmark/benchmark.values.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isIteratorLike = require('@stdlib/assert/is-iterator-like'); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.with.js b/complex128/benchmark/benchmark.with.js index 7575694c..5f85a2ab 100644 --- a/complex128/benchmark/benchmark.with.js +++ b/complex128/benchmark/benchmark.with.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isComplex128Array = require( '@stdlib/assert/is-complex128array' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/benchmark/benchmark.with.length.js b/complex128/benchmark/benchmark.with.length.js index 442d62da..acbf6e28 100644 --- a/complex128/benchmark/benchmark.with.length.js +++ b/complex128/benchmark/benchmark.with.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var isComplex128Array = require('@stdlib/assert/is-complex128array' ); var pkg = require( './../package.json' ).name; var Complex128Array = require( './../lib' ); diff --git a/complex128/docs/types/index.d.ts b/complex128/docs/types/index.d.ts index 27d49715..c2fef781 100644 --- a/complex128/docs/types/index.d.ts +++ b/complex128/docs/types/index.d.ts @@ -421,7 +421,7 @@ declare class Complex128Array implements Complex128ArrayInterface { * @returns modified array * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * @@ -453,7 +453,7 @@ declare class Complex128Array implements Complex128ArrayInterface { * @returns iterator * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = [ * new Complex128( 1.0, 1.0 ), @@ -704,7 +704,7 @@ declare class Complex128Array implements Complex128ArrayInterface { * @returns undefined * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * function log( v, i ) { * console.log( '%s: %s', i, v.toString() ); @@ -751,7 +751,7 @@ declare class Complex128Array implements Complex128ArrayInterface { * @returns boolean indicating whether an array contains a provided value * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = new Complex128Array( 5 ); * @@ -851,7 +851,7 @@ declare class Complex128Array implements Complex128ArrayInterface { * @returns index or -1 * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = new Complex128Array( 5 ); * @@ -880,7 +880,7 @@ declare class Complex128Array implements Complex128ArrayInterface { * @returns new array containing transformed elements * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * @@ -1514,7 +1514,7 @@ declare class Complex128Array implements Complex128ArrayInterface { * @example * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = new Complex128Array( 3 ); * @@ -1716,7 +1716,7 @@ interface Complex128ArrayConstructor { * // returns 1 * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = Complex128Array.from( [ new Complex128( 1.0, 1.0 ) ] ); * // returns @@ -1725,7 +1725,7 @@ interface Complex128ArrayConstructor { * // returns 1 * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * diff --git a/complex128/docs/types/test.ts b/complex128/docs/types/test.ts index 9b2e3739..b5f85adb 100644 --- a/complex128/docs/types/test.ts +++ b/complex128/docs/types/test.ts @@ -19,7 +19,7 @@ /* eslint-disable @typescript-eslint/no-unused-expressions */ import Complex128Array = require( './index' ); -import Complex128 = require( '@stdlib/complex/float64' ); +import Complex128 = require( '@stdlib/complex/float64/ctor' ); import ArrayBuffer = require( './../../../buffer' ); import real = require( '@stdlib/complex/real' ); import imag = require( '@stdlib/complex/imag' ); diff --git a/complex128/examples/index.js b/complex128/examples/index.js index f50c7900..82e0b18c 100644 --- a/complex128/examples/index.js +++ b/complex128/examples/index.js @@ -18,7 +18,7 @@ 'use strict'; -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Float64Array = require( './../../float64' ); var logEach = require( '@stdlib/console/log-each' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/lib/main.js b/complex128/lib/main.js index c63d9d6d..0557bd2d 100644 --- a/complex128/lib/main.js +++ b/complex128/lib/main.js @@ -41,7 +41,7 @@ var ITERATOR_SYMBOL = require( '@stdlib/symbol/iterator' ); var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' ); var setReadOnlyAccessor = require( '@stdlib/utils/define-nonenumerable-read-only-accessor' ); var Float64Array = require( './../../float64' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var floor = require( '@stdlib/math/base/special/floor' ); @@ -355,7 +355,7 @@ setReadOnly( Complex128Array, 'name', 'Complex128Array' ); * // returns 1 * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = Complex128Array.from( [ new Complex128( 1.0, 1.0 ) ] ); * // returns @@ -364,7 +364,7 @@ setReadOnly( Complex128Array, 'name', 'Complex128Array' ); * // returns 1 * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * @@ -692,7 +692,7 @@ setReadOnly( Complex128Array.prototype, 'BYTES_PER_ELEMENT', Complex128Array.BYT * @returns {Complex128Array} modified array * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * @@ -739,7 +739,7 @@ setReadOnly( Complex128Array.prototype, 'copyWithin', function copyWithin( targe * @returns {Iterator} iterator * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = [ * new Complex128( 1.0, 1.0 ), @@ -1269,7 +1269,7 @@ setReadOnly( Complex128Array.prototype, 'findLastIndex', function findLastIndex( * @throws {TypeError} first argument must be a function * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * function log( v, i ) { * console.log( '%s: %s', i, v.toString() ); @@ -1384,7 +1384,7 @@ setReadOnlyAccessor( Complex128Array.prototype, 'length', function get() { * @returns {boolean} boolean indicating whether an array includes a provided value * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = new Complex128Array( 5 ); * @@ -1454,7 +1454,7 @@ setReadOnly( Complex128Array.prototype, 'includes', function includes( searchEle * @returns {integer} index or -1 * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = new Complex128Array( 5 ); * @@ -1671,7 +1671,7 @@ setReadOnly( Complex128Array.prototype, 'keys', function keys() { * @returns {integer} index or -1 * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = new Complex128Array( 5 ); * @@ -1742,7 +1742,7 @@ setReadOnly( Complex128Array.prototype, 'lastIndexOf', function lastIndexOf( sea * @returns {Complex128Array} complex number array * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); * @@ -2983,7 +2983,7 @@ setReadOnly( Complex128Array.prototype, 'values', function values() { * @example * var real = require( '@stdlib/complex/real' ); * var imag = require( '@stdlib/complex/imag' ); -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var arr = new Complex128Array( 3 ); * diff --git a/complex128/test/test.at.js b/complex128/test/test.at.js index 67d7e0a6..8b397f3a 100644 --- a/complex128/test/test.at.js +++ b/complex128/test/test.at.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.copy_within.js b/complex128/test/test.copy_within.js index 9a19ed09..d73149a4 100644 --- a/complex128/test/test.copy_within.js +++ b/complex128/test/test.copy_within.js @@ -25,7 +25,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var isPositiveZero = require( '@stdlib/assert/is-positive-zero' ).isPrimitive; var isNegativeZero = require( '@stdlib/assert/is-negative-zero' ).isPrimitive; -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Float64Array = require( './../../float64' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.fill.js b/complex128/test/test.fill.js index 16cb63ff..e26a78fd 100644 --- a/complex128/test/test.fill.js +++ b/complex128/test/test.fill.js @@ -25,7 +25,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var Float64Array = require( './../../float64' ); var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.from.js b/complex128/test/test.from.js index 65693107..0c839c35 100644 --- a/complex128/test/test.from.js +++ b/complex128/test/test.from.js @@ -26,7 +26,7 @@ var Float64Array = require( './../../float64' ); var Complex64Array = require( './../../complex64' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var real = require( '@stdlib/complex/real' ); diff --git a/complex128/test/test.get.js b/complex128/test/test.get.js index 02bf56b6..abf1a53c 100644 --- a/complex128/test/test.get.js +++ b/complex128/test/test.get.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex128 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float32/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.includes.js b/complex128/test/test.includes.js index 8360e941..61185e6a 100644 --- a/complex128/test/test.includes.js +++ b/complex128/test/test.includes.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.index_of.js b/complex128/test/test.index_of.js index a5249d48..92a35694 100644 --- a/complex128/test/test.index_of.js +++ b/complex128/test/test.index_of.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.js b/complex128/test/test.js index aeb3ae4d..544e29ab 100644 --- a/complex128/test/test.js +++ b/complex128/test/test.js @@ -27,7 +27,7 @@ var Float64Array = require( './../../float64' ); var Complex64Array = require( './../../complex64' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isArrayBuffer = require( '@stdlib/assert/is-arraybuffer' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.last_index_of.js b/complex128/test/test.last_index_of.js index 2d116789..ced31bf2 100644 --- a/complex128/test/test.last_index_of.js +++ b/complex128/test/test.last_index_of.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.map.js b/complex128/test/test.map.js index 9a3cac00..e7982e6d 100644 --- a/complex128/test/test.map.js +++ b/complex128/test/test.map.js @@ -28,7 +28,7 @@ var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); -var Complex128 = require('@stdlib/complex/float64'); +var Complex128 = require('@stdlib/complex/float64/ctor'); var Float64Array = require( './../../float64' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.of.js b/complex128/test/test.of.js index c0e67105..7ff93649 100644 --- a/complex128/test/test.of.js +++ b/complex128/test/test.of.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.reduce.js b/complex128/test/test.reduce.js index 6d3292a9..397fb219 100644 --- a/complex128/test/test.reduce.js +++ b/complex128/test/test.reduce.js @@ -27,7 +27,7 @@ var cadd = require( '@stdlib/math/base/ops/cadd' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.reduce_right.js b/complex128/test/test.reduce_right.js index 3a9909e3..6cb86d7a 100644 --- a/complex128/test/test.reduce_right.js +++ b/complex128/test/test.reduce_right.js @@ -27,7 +27,7 @@ var cadd = require( '@stdlib/math/base/ops/cadd' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.set.js b/complex128/test/test.set.js index ef6259c8..f318c54f 100644 --- a/complex128/test/test.set.js +++ b/complex128/test/test.set.js @@ -25,7 +25,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var ArrayBuffer = require( './../../buffer' ); var Float64Array = require( './../../float64' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var Complex128Array = require( './../lib' ); diff --git a/complex128/test/test.values.js b/complex128/test/test.values.js index b448c467..2e910af3 100644 --- a/complex128/test/test.values.js +++ b/complex128/test/test.values.js @@ -25,7 +25,7 @@ var proxyquire = require( 'proxyquire' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var isComplex128 = require( '@stdlib/assert/is-complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var ITERATOR_SYMBOL = require( '@stdlib/symbol/iterator' ); diff --git a/complex128/test/test.with.js b/complex128/test/test.with.js index af74e1a5..27b65d77 100644 --- a/complex128/test/test.with.js +++ b/complex128/test/test.with.js @@ -25,7 +25,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var Float64Array = require( './../../float64' ); var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Complex128Array = require( './../lib' ); diff --git a/complex64/README.md b/complex64/README.md index 615f690e..abbd2c64 100644 --- a/complex64/README.md +++ b/complex64/README.md @@ -100,7 +100,7 @@ var len = arr.length; Creates a 64-bit complex number array from an array-like object or iterable. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); // From an array of interleaved real and imaginary components: var arr1 = new Complex64Array( [ 1.0, -1.0, 2.0, -2.0 ] ); @@ -260,7 +260,7 @@ var len = arr.length; Creates a new 64-bit complex number array from an array-like object or an iterable. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); // Create an array from interleaved real and imaginary components: var arr = Complex64Array.from( [ 1.0, -1.0 ] ); @@ -344,7 +344,7 @@ if ( ITERATOR_SYMBOL === null ) { To invoke a function for each `src` value, provide a callback function. If `src` is an iterable or an array-like object containing complex numbers, the callback must return either a complex number ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -376,7 +376,7 @@ or an array-like object containing real and imaginary components ```javascript var Float32Array = require( '@stdlib/array/float32' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -425,7 +425,7 @@ If `src` is an array-like object containing interleaved real and imaginary compo ```javascript var Float32Array = require( '@stdlib/array/float32' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -461,7 +461,7 @@ A callback function is provided two arguments: To set the callback execution context, provide a `thisArg`. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -496,7 +496,7 @@ var n = ctx.count; Creates a new 64-bit complex number array from a variable number of arguments. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var arr = Complex64Array.of( 1.0, -1.0, 2.0, -2.0 ); // returns @@ -571,7 +571,7 @@ z = arr.at( -100 ); Copies a sequence of elements within the array starting at `start` and ending at `end` (non-inclusive) to the position starting at `target`. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -630,7 +630,7 @@ im = imagf( z ); By default, `end` equals the number of array elements (i.e., one more than the last array index). To limit the sequence length, provide an `end` argument. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -689,7 +689,7 @@ im = imagf( z ); When a `target`, `start`, and/or `end` index is negative, the respective index is determined relative to the last array element. The following example achieves the same behavior as the previous example: ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -752,7 +752,7 @@ im = imagf( z ); Returns an iterator for iterating over array key-value pairs. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -868,7 +868,7 @@ var count = context.count; Returns a modified typed array filled with a fill value. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -941,7 +941,7 @@ im = imagf( z ); When a `start` and/or `end` index is negative, the respective index is determined relative to the last array element. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -1053,7 +1053,7 @@ Returns the first element in an array for which a predicate function returns a t ```javascript var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); function predicate( v ) { return ( realf( v ) === imagf( v ) ); @@ -1186,7 +1186,7 @@ Returns the last element in an array for which a predicate function returns a tr ```javascript var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); function predicate( v ) { return ( realf( v ) === imagf( v ) ); @@ -1317,7 +1317,7 @@ var count = context.count; Invokes a function once for each array element. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); function log( v, i ) { console.log( '%s: %s', i, v.toString() ); @@ -1347,7 +1347,7 @@ The invoked function is provided three arguments: To set the function execution context, provide a `thisArg`. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); function fcn( v, i ) { this.count += 1; @@ -1418,7 +1418,7 @@ var z = arr.get( 100 ); Returns a boolean indicating whether an array includes a provided value. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var arr = new Complex64Array( 5 ); @@ -1445,7 +1445,7 @@ bool = arr.includes( new Complex64( 4.0, -4.0 ), -3 ); Returns the first index at which a given element can be found. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var arr = new Complex64Array( 5 ); @@ -1468,7 +1468,7 @@ idx = arr.indexOf( new Complex64( 4.0, -4.0 ), -3 ); If `searchElement` is not present in the array, the method returns `-1`. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var arr = new Complex64Array( 10 ); @@ -1548,7 +1548,7 @@ The returned [iterator][mdn-iterator-protocol] protocol-compliant object has the Returns the last index at which a given element can be found. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var arr = new Complex64Array( 5 ); @@ -1571,7 +1571,7 @@ idx = arr.lastIndexOf( new Complex64( 4.0, -4.0 ), -1 ); If `searchElement` is not present in the array, the method returns `-1`. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var arr = new Complex64Array( 10 ); @@ -1592,7 +1592,7 @@ idx = arr.lastIndexOf( new Complex64( 2.0, -2.0 ), 0 ); Returns a new array with each element being the result of a provided callback function. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -1629,7 +1629,7 @@ The callback function is provided three arguments: To set the function execution context, provide a `thisArg`. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -1818,7 +1818,7 @@ im = imagf( z ); Sets one or more array elements. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -1851,7 +1851,7 @@ im = imagf( z ); By default, the method sets array elements starting at position (index) `i = 0`. To set elements starting elsewhere in the array, provide an index argument `i`. ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -1884,7 +1884,7 @@ im = imagf( z ); In addition to providing a complex number, to set one or more array elements, provide an array-like object containing either complex numbers ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -2497,7 +2497,7 @@ Returns a new typed array with the element at a provided index replaced with a p ```javascript var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var arr = new Complex64Array( 3 ); @@ -2552,7 +2552,7 @@ var im = imagf( z ); ```javascript -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Float32Array = require( '@stdlib/array/float32' ); var logEach = require( '@stdlib/console/log-each' ); var Complex64Array = require( '@stdlib/array/complex64' ); diff --git a/complex64/benchmark/benchmark.at.js b/complex64/benchmark/benchmark.at.js index 53f7fc34..3d5f948f 100644 --- a/complex64/benchmark/benchmark.at.js +++ b/complex64/benchmark/benchmark.at.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isComplex64 = require( '@stdlib/assert/is-complex64' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.copy_within.js b/complex64/benchmark/benchmark.copy_within.js index 6e15d7a5..dee62727 100644 --- a/complex64/benchmark/benchmark.copy_within.js +++ b/complex64/benchmark/benchmark.copy_within.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.copy_within.length.js b/complex64/benchmark/benchmark.copy_within.length.js index d7a3d892..898409cd 100644 --- a/complex64/benchmark/benchmark.copy_within.length.js +++ b/complex64/benchmark/benchmark.copy_within.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.entries.js b/complex64/benchmark/benchmark.entries.js index d760bc46..52eeda61 100644 --- a/complex64/benchmark/benchmark.entries.js +++ b/complex64/benchmark/benchmark.entries.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.every.length.js b/complex64/benchmark/benchmark.every.length.js index 81f97adb..468e0c00 100644 --- a/complex64/benchmark/benchmark.every.length.js +++ b/complex64/benchmark/benchmark.every.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var pkg = require( './../package.json' ).name; diff --git a/complex64/benchmark/benchmark.fill.js b/complex64/benchmark/benchmark.fill.js index 3c7c7d85..0c3d9e2a 100644 --- a/complex64/benchmark/benchmark.fill.js +++ b/complex64/benchmark/benchmark.fill.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.fill.length.js b/complex64/benchmark/benchmark.fill.length.js index 9a8b1d66..ef367e07 100644 --- a/complex64/benchmark/benchmark.fill.length.js +++ b/complex64/benchmark/benchmark.fill.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isComplex64Array = require('@stdlib/assert/is-complex64array'); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.filter.length.js b/complex64/benchmark/benchmark.filter.length.js index d1dcd9df..106e899a 100644 --- a/complex64/benchmark/benchmark.filter.length.js +++ b/complex64/benchmark/benchmark.filter.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var pkg = require( './../package.json' ).name; diff --git a/complex64/benchmark/benchmark.find.length.js b/complex64/benchmark/benchmark.find.length.js index 5f76136c..359a566f 100644 --- a/complex64/benchmark/benchmark.find.length.js +++ b/complex64/benchmark/benchmark.find.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isComplex64 = require( '@stdlib/assert/is-complex64' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); diff --git a/complex64/benchmark/benchmark.find_index.length.js b/complex64/benchmark/benchmark.find_index.length.js index 8fcf6d38..297c4579 100644 --- a/complex64/benchmark/benchmark.find_index.length.js +++ b/complex64/benchmark/benchmark.find_index.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isInteger = require( '@stdlib/assert/is-integer' ).isPrimitive; var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); diff --git a/complex64/benchmark/benchmark.find_last.length.js b/complex64/benchmark/benchmark.find_last.length.js index 2389e550..fad599a8 100644 --- a/complex64/benchmark/benchmark.find_last.length.js +++ b/complex64/benchmark/benchmark.find_last.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isComplex64 = require( '@stdlib/assert/is-complex64' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); diff --git a/complex64/benchmark/benchmark.find_last_index.length.js b/complex64/benchmark/benchmark.find_last_index.length.js index 489b168d..450dc65f 100644 --- a/complex64/benchmark/benchmark.find_last_index.length.js +++ b/complex64/benchmark/benchmark.find_last_index.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isInteger = require( '@stdlib/assert/is-integer' ).isPrimitive; var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); diff --git a/complex64/benchmark/benchmark.for_each.length.js b/complex64/benchmark/benchmark.for_each.length.js index 9f54a0fa..2e42f191 100644 --- a/complex64/benchmark/benchmark.for_each.length.js +++ b/complex64/benchmark/benchmark.for_each.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var pkg = require( './../package.json' ).name; diff --git a/complex64/benchmark/benchmark.get.js b/complex64/benchmark/benchmark.get.js index d6daa1c0..08ded3b5 100644 --- a/complex64/benchmark/benchmark.get.js +++ b/complex64/benchmark/benchmark.get.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isComplex64 = require( '@stdlib/assert/is-complex64' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.includes.js b/complex64/benchmark/benchmark.includes.js index d049d2c7..a591b394 100644 --- a/complex64/benchmark/benchmark.includes.js +++ b/complex64/benchmark/benchmark.includes.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.includes.length.js b/complex64/benchmark/benchmark.includes.length.js index 5afaf70c..7c5ad838 100644 --- a/complex64/benchmark/benchmark.includes.length.js +++ b/complex64/benchmark/benchmark.includes.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.index_of.js b/complex64/benchmark/benchmark.index_of.js index 3da67805..cd2d0043 100644 --- a/complex64/benchmark/benchmark.index_of.js +++ b/complex64/benchmark/benchmark.index_of.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isInteger = require('@stdlib/assert/is-integer' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.index_of.length.js b/complex64/benchmark/benchmark.index_of.length.js index 06ec2b53..bc1ef879 100644 --- a/complex64/benchmark/benchmark.index_of.length.js +++ b/complex64/benchmark/benchmark.index_of.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isInteger = require('@stdlib/assert/is-integer' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.join.length.js b/complex64/benchmark/benchmark.join.length.js index 0dbd042f..2fbba07f 100644 --- a/complex64/benchmark/benchmark.join.length.js +++ b/complex64/benchmark/benchmark.join.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.keys.length.js b/complex64/benchmark/benchmark.keys.length.js index ece6056b..3a1eec4e 100644 --- a/complex64/benchmark/benchmark.keys.length.js +++ b/complex64/benchmark/benchmark.keys.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isIteratorLike = require('@stdlib/assert/is-iterator-like'); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.last_index_of.js b/complex64/benchmark/benchmark.last_index_of.js index e09f4dd2..2014e68c 100644 --- a/complex64/benchmark/benchmark.last_index_of.js +++ b/complex64/benchmark/benchmark.last_index_of.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isInteger = require('@stdlib/assert/is-integer' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.last_index_of.length.js b/complex64/benchmark/benchmark.last_index_of.length.js index 0cf748a1..32247367 100644 --- a/complex64/benchmark/benchmark.last_index_of.length.js +++ b/complex64/benchmark/benchmark.last_index_of.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isInteger = require('@stdlib/assert/is-integer' ).isPrimitive; var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.map.js b/complex64/benchmark/benchmark.map.js index b0b0eae5..2a18b870 100644 --- a/complex64/benchmark/benchmark.map.js +++ b/complex64/benchmark/benchmark.map.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); -var Complex64 = require('@stdlib/complex/float32'); +var Complex64 = require('@stdlib/complex/float32/ctor'); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.map.length.js b/complex64/benchmark/benchmark.map.length.js index eb5466b3..07e81e1e 100644 --- a/complex64/benchmark/benchmark.map.length.js +++ b/complex64/benchmark/benchmark.map.length.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var pow = require( '@stdlib/math/base/special/pow' ); var identity = require( '@stdlib/utils/identity-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.of.js b/complex64/benchmark/benchmark.of.js index b33e0b96..06b280a3 100644 --- a/complex64/benchmark/benchmark.of.js +++ b/complex64/benchmark/benchmark.of.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.reduce.length.js b/complex64/benchmark/benchmark.reduce.length.js index 1015ae33..a2a61b48 100644 --- a/complex64/benchmark/benchmark.reduce.length.js +++ b/complex64/benchmark/benchmark.reduce.length.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var caddf = require( '@stdlib/math/base/ops/caddf' ); var isComplexLike = require('@stdlib/assert/is-complex-like'); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.reduce_right.length.js b/complex64/benchmark/benchmark.reduce_right.length.js index 3b6ba9d0..4742aa6b 100644 --- a/complex64/benchmark/benchmark.reduce_right.length.js +++ b/complex64/benchmark/benchmark.reduce_right.length.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var caddf = require( '@stdlib/math/base/ops/caddf' ); var isComplexLike = require( '@stdlib/assert/is-complex-like' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.reverse.length.js b/complex64/benchmark/benchmark.reverse.length.js index 1c0b13bb..9343b34b 100644 --- a/complex64/benchmark/benchmark.reverse.length.js +++ b/complex64/benchmark/benchmark.reverse.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.set.js b/complex64/benchmark/benchmark.set.js index 34a40e3e..38af92c2 100644 --- a/complex64/benchmark/benchmark.set.js +++ b/complex64/benchmark/benchmark.set.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var Float32Array = require( './../../float32' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.set.length.js b/complex64/benchmark/benchmark.set.length.js index cab3b8b9..731f7ff7 100644 --- a/complex64/benchmark/benchmark.set.length.js +++ b/complex64/benchmark/benchmark.set.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var randu = require( '@stdlib/random/base/randu' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.slice.length.js b/complex64/benchmark/benchmark.slice.length.js index 2a50bfbe..7cc75f78 100644 --- a/complex64/benchmark/benchmark.slice.length.js +++ b/complex64/benchmark/benchmark.slice.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.some.length.js b/complex64/benchmark/benchmark.some.length.js index 88f1c985..28dd2fc2 100644 --- a/complex64/benchmark/benchmark.some.length.js +++ b/complex64/benchmark/benchmark.some.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var pkg = require( './../package.json' ).name; diff --git a/complex64/benchmark/benchmark.sort.length.js b/complex64/benchmark/benchmark.sort.length.js index 1b2c5117..c40c093d 100644 --- a/complex64/benchmark/benchmark.sort.length.js +++ b/complex64/benchmark/benchmark.sort.length.js @@ -25,7 +25,7 @@ var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.subarray.length.js b/complex64/benchmark/benchmark.subarray.length.js index 0f33609c..a261987c 100644 --- a/complex64/benchmark/benchmark.subarray.length.js +++ b/complex64/benchmark/benchmark.subarray.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.to_locale_string.length.js b/complex64/benchmark/benchmark.to_locale_string.length.js index 9dff69b7..2a815bca 100644 --- a/complex64/benchmark/benchmark.to_locale_string.length.js +++ b/complex64/benchmark/benchmark.to_locale_string.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.to_reversed.length.js b/complex64/benchmark/benchmark.to_reversed.length.js index 7efae27c..9d8e7f6f 100644 --- a/complex64/benchmark/benchmark.to_reversed.length.js +++ b/complex64/benchmark/benchmark.to_reversed.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.to_sorted.length.js b/complex64/benchmark/benchmark.to_sorted.length.js index e5a9f85e..fd5146d7 100644 --- a/complex64/benchmark/benchmark.to_sorted.length.js +++ b/complex64/benchmark/benchmark.to_sorted.length.js @@ -25,7 +25,7 @@ var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.to_string.length.js b/complex64/benchmark/benchmark.to_string.length.js index f1f9af12..b9a3ddbb 100644 --- a/complex64/benchmark/benchmark.to_string.length.js +++ b/complex64/benchmark/benchmark.to_string.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.values.length.js b/complex64/benchmark/benchmark.values.length.js index 245a6f46..384b6bfd 100644 --- a/complex64/benchmark/benchmark.values.length.js +++ b/complex64/benchmark/benchmark.values.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isIteratorLike = require('@stdlib/assert/is-iterator-like'); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.with.js b/complex64/benchmark/benchmark.with.js index 72732c14..4216eb3f 100644 --- a/complex64/benchmark/benchmark.with.js +++ b/complex64/benchmark/benchmark.with.js @@ -21,7 +21,7 @@ // MODULES // var bench = require( '@stdlib/bench' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isComplex64Array = require( '@stdlib/assert/is-complex64array' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/benchmark/benchmark.with.length.js b/complex64/benchmark/benchmark.with.length.js index cb9e156e..7fca12e0 100644 --- a/complex64/benchmark/benchmark.with.length.js +++ b/complex64/benchmark/benchmark.with.length.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var isComplex64Array = require('@stdlib/assert/is-complex64array' ); var pkg = require( './../package.json' ).name; var Complex64Array = require( './../lib' ); diff --git a/complex64/docs/types/index.d.ts b/complex64/docs/types/index.d.ts index e643f408..62fbd72c 100644 --- a/complex64/docs/types/index.d.ts +++ b/complex64/docs/types/index.d.ts @@ -421,7 +421,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @returns modified array * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -453,7 +453,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @returns iterator * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = [ * new Complex64( 1.0, 1.0 ), @@ -590,7 +590,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @example * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * function predicate( v ) { * return ( realf( v ) === imagf( v ) ); @@ -621,7 +621,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @returns index or -1 * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -650,7 +650,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @example * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * function predicate( v ) { * return ( realf( v ) === imagf( v ) ); @@ -681,7 +681,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @returns index or -1 * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -708,7 +708,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @returns undefined * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * function log( v, i ) { * console.log( '%s: %s', i, v.toString() ); @@ -853,7 +853,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @returns index or -1 * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = new Complex64Array( 5 ); * @@ -882,7 +882,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @returns new array containing transformed elements * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -1516,7 +1516,7 @@ declare class Complex64Array implements Complex64ArrayInterface { * @example * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = new Complex64Array( 3 ); * @@ -1718,7 +1718,7 @@ interface Complex64ArrayConstructor { * // returns 1 * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = Complex64Array.from( [ new Complex64( 1.0, 1.0 ) ] ); * // returns @@ -1727,7 +1727,7 @@ interface Complex64ArrayConstructor { * // returns 1 * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * diff --git a/complex64/docs/types/test.ts b/complex64/docs/types/test.ts index 1229ac35..9943ff0a 100644 --- a/complex64/docs/types/test.ts +++ b/complex64/docs/types/test.ts @@ -19,7 +19,7 @@ /* eslint-disable @typescript-eslint/no-unused-expressions */ import Complex64Array = require( './index' ); -import Complex64 = require( '@stdlib/complex/float32' ); +import Complex64 = require( '@stdlib/complex/float32/ctor' ); import ArrayBuffer = require( './../../../buffer' ); import realf = require( '@stdlib/complex/realf' ); import imagf = require( '@stdlib/complex/imagf' ); diff --git a/complex64/examples/index.js b/complex64/examples/index.js index 9e019884..dfbfde43 100644 --- a/complex64/examples/index.js +++ b/complex64/examples/index.js @@ -18,7 +18,7 @@ 'use strict'; -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Float32Array = require( './../../float32' ); var logEach = require( '@stdlib/console/log-each' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/lib/main.js b/complex64/lib/main.js index 5ffbd7b5..0ec58fb3 100644 --- a/complex64/lib/main.js +++ b/complex64/lib/main.js @@ -41,7 +41,7 @@ var ITERATOR_SYMBOL = require( '@stdlib/symbol/iterator' ); var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' ); var setReadOnlyAccessor = require( '@stdlib/utils/define-nonenumerable-read-only-accessor' ); var Float32Array = require( './../../float32' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var format = require( '@stdlib/string/format' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); @@ -355,7 +355,7 @@ setReadOnly( Complex64Array, 'name', 'Complex64Array' ); * // returns 1 * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = Complex64Array.from( [ new Complex64( 1.0, 1.0 ) ] ); * // returns @@ -364,7 +364,7 @@ setReadOnly( Complex64Array, 'name', 'Complex64Array' ); * // returns 1 * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -691,7 +691,7 @@ setReadOnly( Complex64Array.prototype, 'BYTES_PER_ELEMENT', Complex64Array.BYTES * @returns {Complex64Array} modified array * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -738,7 +738,7 @@ setReadOnly( Complex64Array.prototype, 'copyWithin', function copyWithin( target * @returns {Iterator} iterator * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = [ * new Complex64( 1.0, 1.0 ), @@ -1060,7 +1060,7 @@ setReadOnly( Complex64Array.prototype, 'filter', function filter( predicate, thi * @example * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * function predicate( v ) { * return ( realf( v ) === imagf( v ) ); @@ -1113,7 +1113,7 @@ setReadOnly( Complex64Array.prototype, 'find', function find( predicate, thisArg * @returns {integer} index or -1 * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -1165,7 +1165,7 @@ setReadOnly( Complex64Array.prototype, 'findIndex', function findIndex( predicat * @example * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * function predicate( v ) { * return ( realf( v ) === imagf( v ) ); @@ -1218,7 +1218,7 @@ setReadOnly( Complex64Array.prototype, 'findLast', function findLast( predicate, * @returns {integer} index or -1 * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -1267,7 +1267,7 @@ setReadOnly( Complex64Array.prototype, 'findLastIndex', function findLastIndex( * @throws {TypeError} first argument must be a function * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * function log( v, i ) { * console.log( '%s: %s', i, v.toString() ); @@ -1364,7 +1364,7 @@ setReadOnly( Complex64Array.prototype, 'get', function get( idx ) { * @returns {boolean} boolean indicating whether an array includes a provided value * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = new Complex64Array( 5 ); * @@ -1434,7 +1434,7 @@ setReadOnly( Complex64Array.prototype, 'includes', function includes( searchElem * @returns {integer} index or -1 * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = new Complex64Array( 10 ); * @@ -1651,7 +1651,7 @@ setReadOnly( Complex64Array.prototype, 'keys', function keys() { * @returns {integer} index or -1 * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = new Complex64Array( 5 ); * @@ -1740,7 +1740,7 @@ setReadOnlyAccessor( Complex64Array.prototype, 'length', function get() { * @returns {Complex64Array} complex number array * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); * @@ -2981,7 +2981,7 @@ setReadOnly( Complex64Array.prototype, 'values', function values() { * @example * var realf = require( '@stdlib/complex/realf' ); * var imagf = require( '@stdlib/complex/imagf' ); -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var arr = new Complex64Array( 3 ); * diff --git a/complex64/test/test.at.js b/complex64/test/test.at.js index afbcd931..0d4fc69f 100644 --- a/complex64/test/test.at.js +++ b/complex64/test/test.at.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.copy_within.js b/complex64/test/test.copy_within.js index ce102194..163e5e6e 100644 --- a/complex64/test/test.copy_within.js +++ b/complex64/test/test.copy_within.js @@ -25,7 +25,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var isPositiveZero = require( '@stdlib/assert/is-positive-zero' ).isPrimitive; var isNegativeZero = require( '@stdlib/assert/is-negative-zero' ).isPrimitive; -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Float32Array = require( './../../float32' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.fill.js b/complex64/test/test.fill.js index 25cffe29..5171e567 100644 --- a/complex64/test/test.fill.js +++ b/complex64/test/test.fill.js @@ -25,7 +25,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var Float32Array = require( './../../float32' ); var reinterpret64 = require( '@stdlib/strided/base/reinterpret-complex64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.from.js b/complex64/test/test.from.js index 133b322d..26916f5a 100644 --- a/complex64/test/test.from.js +++ b/complex64/test/test.from.js @@ -26,7 +26,7 @@ var Float32Array = require( './../../float32' ); var Complex128Array = require( './../../complex128' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var real = require( '@stdlib/complex/real' ); diff --git a/complex64/test/test.get.js b/complex64/test/test.get.js index 0f370573..8c064e72 100644 --- a/complex64/test/test.get.js +++ b/complex64/test/test.get.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.includes.js b/complex64/test/test.includes.js index 2023246b..feaf0caf 100644 --- a/complex64/test/test.includes.js +++ b/complex64/test/test.includes.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.index_of.js b/complex64/test/test.index_of.js index 82613089..9f569805 100644 --- a/complex64/test/test.index_of.js +++ b/complex64/test/test.index_of.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.js b/complex64/test/test.js index 889bdfd8..0a9add2e 100644 --- a/complex64/test/test.js +++ b/complex64/test/test.js @@ -27,7 +27,7 @@ var Float32Array = require( './../../float32' ); var Complex128Array = require( './../../complex128' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isArrayBuffer = require( '@stdlib/assert/is-arraybuffer' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.last_index_of.js b/complex64/test/test.last_index_of.js index 7aa2302e..458eaaed 100644 --- a/complex64/test/test.last_index_of.js +++ b/complex64/test/test.last_index_of.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.map.js b/complex64/test/test.map.js index f17185be..9e45abda 100644 --- a/complex64/test/test.map.js +++ b/complex64/test/test.map.js @@ -28,7 +28,7 @@ var reinterpret64 = require( '@stdlib/strided/base/reinterpret-complex64' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); -var Complex64 = require('@stdlib/complex/float32'); +var Complex64 = require('@stdlib/complex/float32/ctor'); var Float32Array = require( './../../float32' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.of.js b/complex64/test/test.of.js index 49b0e351..0afb7b12 100644 --- a/complex64/test/test.of.js +++ b/complex64/test/test.of.js @@ -23,7 +23,7 @@ var tape = require( 'tape' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.reduce.js b/complex64/test/test.reduce.js index 30b1ed09..8bf0be2d 100644 --- a/complex64/test/test.reduce.js +++ b/complex64/test/test.reduce.js @@ -27,7 +27,7 @@ var caddf = require( '@stdlib/math/base/ops/caddf' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); -var Complex64 = require('@stdlib/complex/float32'); +var Complex64 = require('@stdlib/complex/float32/ctor'); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.reduce_right.js b/complex64/test/test.reduce_right.js index d08d03e9..46668e4d 100644 --- a/complex64/test/test.reduce_right.js +++ b/complex64/test/test.reduce_right.js @@ -27,7 +27,7 @@ var caddf = require( '@stdlib/math/base/ops/caddf' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.set.js b/complex64/test/test.set.js index 344a228c..3f64d035 100644 --- a/complex64/test/test.set.js +++ b/complex64/test/test.set.js @@ -25,7 +25,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var ArrayBuffer = require( './../../buffer' ); var Float32Array = require( './../../float32' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var Complex64Array = require( './../lib' ); diff --git a/complex64/test/test.values.js b/complex64/test/test.values.js index 993787e5..7603ec37 100644 --- a/complex64/test/test.values.js +++ b/complex64/test/test.values.js @@ -25,7 +25,7 @@ var proxyquire = require( 'proxyquire' ); var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var isComplex64 = require( '@stdlib/assert/is-complex64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var ITERATOR_SYMBOL = require( '@stdlib/symbol/iterator' ); diff --git a/complex64/test/test.with.js b/complex64/test/test.with.js index 64afe7df..4aefaddc 100644 --- a/complex64/test/test.with.js +++ b/complex64/test/test.with.js @@ -25,7 +25,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var isFunction = require( '@stdlib/assert/is-function' ); var Float32Array = require( './../../float32' ); var reinterpret64 = require( '@stdlib/strided/base/reinterpret-complex64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Complex64Array = require( './../lib' ); diff --git a/filled-by/benchmark/benchmark.js b/filled-by/benchmark/benchmark.js index b02ddfeb..f21a37b1 100644 --- a/filled-by/benchmark/benchmark.js +++ b/filled-by/benchmark/benchmark.js @@ -24,8 +24,8 @@ var bench = require( '@stdlib/bench' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); var isArray = require( '@stdlib/assert/is-array' ); var constantFunction = require( '@stdlib/utils/constant-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var filledarrayBy = require( './../lib' ); diff --git a/filled-by/benchmark/benchmark.length.complex128.js b/filled-by/benchmark/benchmark.length.complex128.js index 34a10054..9cb7fbce 100644 --- a/filled-by/benchmark/benchmark.length.complex128.js +++ b/filled-by/benchmark/benchmark.length.complex128.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); var constantFunction = require( '@stdlib/utils/constant-function' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var filledarray = require( './../lib' ); diff --git a/filled-by/benchmark/benchmark.length.complex64.js b/filled-by/benchmark/benchmark.length.complex64.js index f5b04e31..3f91f18b 100644 --- a/filled-by/benchmark/benchmark.length.complex64.js +++ b/filled-by/benchmark/benchmark.length.complex64.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); var constantFunction = require( '@stdlib/utils/constant-function' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var filledarray = require( './../lib' ); diff --git a/filled-by/test/test.js b/filled-by/test/test.js index d51abf72..38b2519c 100644 --- a/filled-by/test/test.js +++ b/filled-by/test/test.js @@ -38,8 +38,8 @@ var Complex128Array = require( './../../complex128' ); var ArrayBuffer = require( './../../buffer' ); var reinterpret64 = require( '@stdlib/strided/base/reinterpret-complex64' ); var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var iterConstant = require( '@stdlib/iter/constant' ); var constantFunction = require( '@stdlib/utils/constant-function' ); diff --git a/filled/benchmark/benchmark.js b/filled/benchmark/benchmark.js index 8d1d2fe6..78c258c9 100644 --- a/filled/benchmark/benchmark.js +++ b/filled/benchmark/benchmark.js @@ -23,8 +23,8 @@ var bench = require( '@stdlib/bench' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); var isArray = require( '@stdlib/assert/is-array' ); -var Complex64 = require( '@stdlib/complex/float32' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var filledarray = require( './../lib' ); diff --git a/filled/benchmark/benchmark.length.complex128.js b/filled/benchmark/benchmark.length.complex128.js index 9a535c90..29bbc5a5 100644 --- a/filled/benchmark/benchmark.length.complex128.js +++ b/filled/benchmark/benchmark.length.complex128.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var filledarray = require( './../lib' ); diff --git a/filled/benchmark/benchmark.length.complex64.js b/filled/benchmark/benchmark.length.complex64.js index c3c0f5b2..1fb372cc 100644 --- a/filled/benchmark/benchmark.length.complex64.js +++ b/filled/benchmark/benchmark.length.complex64.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var filledarray = require( './../lib' ); diff --git a/filled/test/test.js b/filled/test/test.js index 9fd03050..5315f796 100644 --- a/filled/test/test.js +++ b/filled/test/test.js @@ -36,8 +36,8 @@ var Complex128Array = require( './../../complex128' ); var ArrayBuffer = require( './../../buffer' ); var reinterpret64 = require( '@stdlib/strided/base/reinterpret-complex64' ); var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var iterConstant = require( '@stdlib/iter/constant' ); var hasIteratorSymbolSupport = require( '@stdlib/assert/has-iterator-symbol-support' ); diff --git a/from-iterator/test/test.js b/from-iterator/test/test.js index 647c3f0a..ee138e2f 100644 --- a/from-iterator/test/test.js +++ b/from-iterator/test/test.js @@ -26,7 +26,7 @@ var randu = require( '@stdlib/random/iter/randu' ); var Float64Array = require( './../../float64' ); var Complex64Array = require( './../../complex64' ); var array2iterator = require( './../../to-iterator' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); var iterator2array = require( './../lib' ); diff --git a/from-scalar/README.md b/from-scalar/README.md index 1175eccf..fa7aeed8 100644 --- a/from-scalar/README.md +++ b/from-scalar/README.md @@ -89,7 +89,7 @@ var x = scalar2array( 3.0, 'float32' ); ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var array2scalar = require( '@stdlib/array/from-scalar' ); var x = array2scalar( 3.0 ); diff --git a/from-scalar/docs/types/index.d.ts b/from-scalar/docs/types/index.d.ts index 6681994b..f86459a1 100644 --- a/from-scalar/docs/types/index.d.ts +++ b/from-scalar/docs/types/index.d.ts @@ -61,7 +61,7 @@ declare function scalar2array( value: number, dtype: 'float32' ): Float32Array; * @returns output array * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var v = new Complex128( 1.0, 2.0 ); * @@ -82,7 +82,7 @@ declare function scalar2array( value: number | ComplexLike, dtype: 'complex128' * @returns output array * * @example -* var Complex64 = require( '@stdlib/complex/float64' ); +* var Complex64 = require( '@stdlib/complex/float64/ctor' ); * * var v = new Complex64( 1.0, 2.0 ); * @@ -216,7 +216,7 @@ declare function scalar2array( value: number ): Float64Array; * @returns output array * * @example -* var Complex64 = require( '@stdlib/complex/float32' ); +* var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var z = new Complex64( 3.0, 4.0 ); * @@ -233,7 +233,7 @@ declare function scalar2array( value: Complex64 ): Complex64Array; * @returns output array * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var z = new Complex128( 3.0, 4.0 ); * diff --git a/from-scalar/docs/types/test.ts b/from-scalar/docs/types/test.ts index 0234b3dd..f13cbe63 100644 --- a/from-scalar/docs/types/test.ts +++ b/from-scalar/docs/types/test.ts @@ -16,8 +16,8 @@ * limitations under the License. */ -import Complex128 = require( '@stdlib/complex/float64' ); -import Complex64 = require( '@stdlib/complex/float32' ); +import Complex128 = require( '@stdlib/complex/float64/ctor' ); +import Complex64 = require( '@stdlib/complex/float32/ctor' ); import array2scalar = require( './index' ); diff --git a/from-scalar/examples/index.js b/from-scalar/examples/index.js index 8447537d..93904a34 100644 --- a/from-scalar/examples/index.js +++ b/from-scalar/examples/index.js @@ -18,7 +18,7 @@ 'use strict'; -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var array2scalar = require( './../lib' ); var x = array2scalar( 3.0 ); diff --git a/from-scalar/test/test.js b/from-scalar/test/test.js index ef4a0c6e..2656f4dc 100644 --- a/from-scalar/test/test.js +++ b/from-scalar/test/test.js @@ -21,8 +21,8 @@ // MODULES // var tape = require( 'tape' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Complex128Array = require( './../../complex128' ); var Complex64Array = require( './../../complex64' ); var Float64Array = require( './../../float64' ); diff --git a/full-like/benchmark/benchmark.js b/full-like/benchmark/benchmark.js index 84bb2a20..82028d51 100644 --- a/full-like/benchmark/benchmark.js +++ b/full-like/benchmark/benchmark.js @@ -24,8 +24,8 @@ var bench = require( '@stdlib/bench' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); var isArray = require( '@stdlib/assert/is-array' ); var zeros = require( './../../zeros' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var fullLike = require( './../lib' ); diff --git a/full-like/benchmark/benchmark.length.complex128.js b/full-like/benchmark/benchmark.length.complex128.js index 73bf4947..e2e61f7c 100644 --- a/full-like/benchmark/benchmark.length.complex128.js +++ b/full-like/benchmark/benchmark.length.complex128.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); var zeros = require( './../../zeros' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var fullLike = require( './../lib' ); diff --git a/full-like/benchmark/benchmark.length.complex64.js b/full-like/benchmark/benchmark.length.complex64.js index 668cf987..392cae3e 100644 --- a/full-like/benchmark/benchmark.length.complex64.js +++ b/full-like/benchmark/benchmark.length.complex64.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); var zeros = require( './../../zeros' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var fullLike = require( './../lib' ); diff --git a/full-like/docs/types/test.ts b/full-like/docs/types/test.ts index 3d5f6bf7..3d26818c 100644 --- a/full-like/docs/types/test.ts +++ b/full-like/docs/types/test.ts @@ -18,8 +18,8 @@ import Complex128Array = require( './../../../complex128' ); import Complex64Array = require( './../../../complex64' ); -import Complex128 = require( '@stdlib/complex/float64' ); -import Complex64 = require( '@stdlib/complex/float32' ); +import Complex128 = require( '@stdlib/complex/float64/ctor' ); +import Complex64 = require( '@stdlib/complex/float32/ctor' ); import fullLike = require( './index' ); diff --git a/full-like/lib/main.js b/full-like/lib/main.js index 9f401a48..2860b8c1 100644 --- a/full-like/lib/main.js +++ b/full-like/lib/main.js @@ -23,8 +23,8 @@ var format = require( '@stdlib/string/format' ); var dtype = require( './../../dtype' ); var full = require( './../../full' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); // MAIN // diff --git a/full-like/test/test.js b/full-like/test/test.js index 9f5f3809..13b36026 100644 --- a/full-like/test/test.js +++ b/full-like/test/test.js @@ -34,8 +34,8 @@ var Complex64Array = require( './../../complex64' ); var Complex128Array = require( './../../complex128' ); var reinterpret64 = require( '@stdlib/strided/base/reinterpret-complex64' ); var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var fullLike = require( './../lib' ); diff --git a/full/benchmark/benchmark.js b/full/benchmark/benchmark.js index 7816a0db..3092dff7 100644 --- a/full/benchmark/benchmark.js +++ b/full/benchmark/benchmark.js @@ -23,8 +23,8 @@ var bench = require( '@stdlib/bench' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); var isArray = require( '@stdlib/assert/is-array' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var full = require( './../lib' ); diff --git a/full/benchmark/benchmark.length.complex128.js b/full/benchmark/benchmark.length.complex128.js index 83c2e457..517bb30b 100644 --- a/full/benchmark/benchmark.length.complex128.js +++ b/full/benchmark/benchmark.length.complex128.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var full = require( './../lib' ); diff --git a/full/benchmark/benchmark.length.complex64.js b/full/benchmark/benchmark.length.complex64.js index ea23d928..3dd42fd9 100644 --- a/full/benchmark/benchmark.length.complex64.js +++ b/full/benchmark/benchmark.length.complex64.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isTypedArrayLike = require( '@stdlib/assert/is-typed-array-like' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var full = require( './../lib' ); diff --git a/full/docs/types/test.ts b/full/docs/types/test.ts index cfb26c6f..ff890426 100644 --- a/full/docs/types/test.ts +++ b/full/docs/types/test.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -import Complex128 = require( '@stdlib/complex/float64' ); +import Complex128 = require( '@stdlib/complex/float64/ctor' ); import full = require( './index' ); diff --git a/full/test/test.js b/full/test/test.js index 69915ee9..9a8a721d 100644 --- a/full/test/test.js +++ b/full/test/test.js @@ -34,8 +34,8 @@ var Complex64Array = require( './../../complex64' ); var Complex128Array = require( './../../complex128' ); var reinterpret64 = require( '@stdlib/strided/base/reinterpret-complex64' ); var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var full = require( './../lib' ); diff --git a/linspace/README.md b/linspace/README.md index f77e66a0..3fce57b3 100644 --- a/linspace/README.md +++ b/linspace/README.md @@ -100,7 +100,7 @@ When either `start` or `stop` is a complex number, the default output array data ```javascript -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); diff --git a/linspace/benchmark/benchmark.assign.complex128_complex.length.js b/linspace/benchmark/benchmark.assign.complex128_complex.length.js index 42776a65..2d29a17d 100644 --- a/linspace/benchmark/benchmark.assign.complex128_complex.length.js +++ b/linspace/benchmark/benchmark.assign.complex128_complex.length.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' ); var Complex128Array = require( './../../complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var linspace = require( './../lib' ); diff --git a/linspace/benchmark/benchmark.assign.complex64_complex.length.js b/linspace/benchmark/benchmark.assign.complex64_complex.length.js index a454ef8b..467633c9 100644 --- a/linspace/benchmark/benchmark.assign.complex64_complex.length.js +++ b/linspace/benchmark/benchmark.assign.complex64_complex.length.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' ); var Complex64Array = require( './../../complex64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var linspace = require( './../lib' ); diff --git a/linspace/benchmark/benchmark.assign.generic_complex.length.js b/linspace/benchmark/benchmark.assign.generic_complex.length.js index a83a1c5e..5e8a6449 100644 --- a/linspace/benchmark/benchmark.assign.generic_complex.length.js +++ b/linspace/benchmark/benchmark.assign.generic_complex.length.js @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' ); var zeros = require( './../../base/zeros' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var linspace = require( './../lib' ); diff --git a/linspace/benchmark/benchmark.assign.js b/linspace/benchmark/benchmark.assign.js index 01f559eb..cababf24 100644 --- a/linspace/benchmark/benchmark.assign.js +++ b/linspace/benchmark/benchmark.assign.js @@ -22,8 +22,8 @@ var bench = require( '@stdlib/bench' ); var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Complex128Array = require( './../../complex128' ); var Complex64Array = require( './../../complex64' ); var Float64Array = require( './../../float64' ); diff --git a/linspace/benchmark/benchmark.complex128_complex.length.js b/linspace/benchmark/benchmark.complex128_complex.length.js index aae31c6b..0f7355ef 100644 --- a/linspace/benchmark/benchmark.complex128_complex.length.js +++ b/linspace/benchmark/benchmark.complex128_complex.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var linspace = require( './../lib' ); diff --git a/linspace/benchmark/benchmark.complex64_complex.length.js b/linspace/benchmark/benchmark.complex64_complex.length.js index 32f43f95..7645306a 100644 --- a/linspace/benchmark/benchmark.complex64_complex.length.js +++ b/linspace/benchmark/benchmark.complex64_complex.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var linspace = require( './../lib' ); diff --git a/linspace/benchmark/benchmark.default_complex.length.js b/linspace/benchmark/benchmark.default_complex.length.js index b8780175..c62d1ea6 100644 --- a/linspace/benchmark/benchmark.default_complex.length.js +++ b/linspace/benchmark/benchmark.default_complex.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var linspace = require( './../lib' ); diff --git a/linspace/benchmark/benchmark.generic_complex.length.js b/linspace/benchmark/benchmark.generic_complex.length.js index ce37a5e7..fb184b7f 100644 --- a/linspace/benchmark/benchmark.generic_complex.length.js +++ b/linspace/benchmark/benchmark.generic_complex.length.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var pkg = require( './../package.json' ).name; var linspace = require( './../lib' ); diff --git a/linspace/benchmark/benchmark.js b/linspace/benchmark/benchmark.js index 30f8c475..79dd2a47 100644 --- a/linspace/benchmark/benchmark.js +++ b/linspace/benchmark/benchmark.js @@ -22,8 +22,8 @@ var bench = require( '@stdlib/bench' ); var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var pkg = require( './../package.json' ).name; var linspace = require( './../lib' ); diff --git a/linspace/docs/types/index.d.ts b/linspace/docs/types/index.d.ts index 00e9d651..f9ad4847 100644 --- a/linspace/docs/types/index.d.ts +++ b/linspace/docs/types/index.d.ts @@ -182,7 +182,7 @@ interface Linspace { * @returns linearly spaced array * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var start = new Complex64( 0.0, 0.0 ); * var stop = new Complex64( 100.0, 10.0 ); @@ -191,7 +191,7 @@ interface Linspace { * // returns * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var start = new Complex64( 0.0, 0.0 ); * var stop = new Complex64( 100.0, 10.0 ); @@ -216,7 +216,7 @@ interface Linspace { * @returns linearly spaced array * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var start = new Complex64( 0.0, 0.0 ); * var stop = new Complex64( 100.0, 10.0 ); @@ -241,7 +241,7 @@ interface Linspace { * @returns linearly spaced array * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var start = new Complex64( 0.0, 0.0 ); * var stop = new Complex64( 100.0, 10.0 ); @@ -266,7 +266,7 @@ interface Linspace { * @returns linearly spaced array * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var start = new Complex128( 0.0, 0.0 ); * var stop = new Complex128( 100.0, 10.0 ); @@ -291,7 +291,7 @@ interface Linspace { * @returns linearly spaced array * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var start = new Complex128( 0.0, 0.0 ); * var stop = new Complex128( 100.0, 10.0 ); @@ -316,7 +316,7 @@ interface Linspace { * @returns linearly spaced array * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var start = new Complex128( 0.0, 0.0 ); * var stop = 100.0; @@ -325,7 +325,7 @@ interface Linspace { * // returns * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var start = new Complex128( 0.0, 0.0 ); * var stop = 100.0; @@ -350,7 +350,7 @@ interface Linspace { * @returns linearly spaced array * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var start = 0.0; * var stop = new Complex128( 100.0, 10.0 ); @@ -359,7 +359,7 @@ interface Linspace { * // returns * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var start = 0.0; * var stop = new Complex128( 100.0, 10.0 ); @@ -478,7 +478,7 @@ interface Linspace { * @returns output array * * @example - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var start = new Complex64( 0.0, 0.0 ); * var stop = new Complex64( 100.0, 10.0 ); @@ -500,7 +500,7 @@ interface Linspace { * @returns output array * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var start = new Complex128( 0.0, 0.0 ); * var stop = new Complex128( 100.0, 10.0 ); @@ -522,7 +522,7 @@ interface Linspace { * @returns output array * * @example - * var Complex128 = require( '@stdlib/complex/float64' ); + * var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var start = new Complex128( 0.0, 0.0 ); * var stop = new Complex128( 100.0, 10.0 ); @@ -602,7 +602,7 @@ interface Linspace { * * @example * var Float64Array = require( './../../../float64' ); - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var start = new Complex64( 0.0, 0.0 ); * var stop = new Complex64( 100.0, 10.0 ); @@ -625,7 +625,7 @@ interface Linspace { * * @example * var Float64Array = require( './../../../float64' ); - * var Complex64 = require( '@stdlib/complex/float32' ); + * var Complex64 = require( '@stdlib/complex/float32/ctor' ); * * var start = new Complex64( 0.0, 0.0 ); * var stop = new Complex64( 100.0, 10.0 ); diff --git a/linspace/docs/types/test.ts b/linspace/docs/types/test.ts index 14780d62..9e6638f9 100644 --- a/linspace/docs/types/test.ts +++ b/linspace/docs/types/test.ts @@ -16,8 +16,8 @@ * limitations under the License. */ -import Complex64 = require( '@stdlib/complex/float32' ); -import Complex128 = require( '@stdlib/complex/float64' ); +import Complex64 = require( '@stdlib/complex/float32/ctor' ); +import Complex128 = require( '@stdlib/complex/float64/ctor' ); import Complex128Array = require( './../../../complex128' ); import Complex64Array = require( './../../../complex64' ); import linspace = require( './index' ); diff --git a/linspace/lib/accessors_complex.js b/linspace/lib/accessors_complex.js index 4562d84b..3969ee59 100644 --- a/linspace/lib/accessors_complex.js +++ b/linspace/lib/accessors_complex.js @@ -20,8 +20,8 @@ // MODULES // -var Complex64 = require( '@stdlib/complex/float32' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var realf = require( '@stdlib/complex/realf' ); diff --git a/linspace/lib/generic_complex.js b/linspace/lib/generic_complex.js index c859eaeb..30bc9bf6 100644 --- a/linspace/lib/generic_complex.js +++ b/linspace/lib/generic_complex.js @@ -20,8 +20,8 @@ // MODULES // -var Complex64 = require( '@stdlib/complex/float32' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var real = require( '@stdlib/complex/real' ); var imag = require( '@stdlib/complex/imag' ); var realf = require( '@stdlib/complex/realf' ); diff --git a/linspace/test/test.assign.js b/linspace/test/test.assign.js index 85a7bfca..f4085299 100644 --- a/linspace/test/test.assign.js +++ b/linspace/test/test.assign.js @@ -23,8 +23,8 @@ // MODULES // var tape = require( 'tape' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Float64Array = require( './../../float64' ); var Float32Array = require( './../../float32' ); var Complex128Array = require( './../../complex128' ); diff --git a/linspace/test/test.main.js b/linspace/test/test.main.js index d2618ab2..d29dcd22 100644 --- a/linspace/test/test.main.js +++ b/linspace/test/test.main.js @@ -23,8 +23,8 @@ // MODULES // var tape = require( 'tape' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var Float64Array = require( './../../float64' ); var Float32Array = require( './../../float32' ); var isComplex128 = require( '@stdlib/assert/is-complex128' ); diff --git a/min-dtype/test/test.js b/min-dtype/test/test.js index 112881d3..3075eb88 100644 --- a/min-dtype/test/test.js +++ b/min-dtype/test/test.js @@ -23,8 +23,8 @@ var tape = require( 'tape' ); var PINF = require( '@stdlib/constants/float64/pinf' ); var NINF = require( '@stdlib/constants/float64/ninf' ); -var Complex64 = require( '@stdlib/complex/float32' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var minDataType = require( './../lib' ); diff --git a/nans-like/lib/main.js b/nans-like/lib/main.js index 66f990e2..9499473b 100644 --- a/nans-like/lib/main.js +++ b/nans-like/lib/main.js @@ -22,8 +22,8 @@ var dtype = require( './../../dtype' ); var full = require( './../../full' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var format = require( '@stdlib/string/format' ); diff --git a/nans/lib/main.js b/nans/lib/main.js index debeba1f..496ba17b 100644 --- a/nans/lib/main.js +++ b/nans/lib/main.js @@ -21,8 +21,8 @@ // MODULES // var contains = require( './../../base/assert/contains' ).factory; -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var full = require( './../../full' ); var defaults = require( './../../defaults' ); var dtypes = require( './../../dtypes' ); diff --git a/ones-like/lib/main.js b/ones-like/lib/main.js index 6dda1c34..92bd05f7 100644 --- a/ones-like/lib/main.js +++ b/ones-like/lib/main.js @@ -22,8 +22,8 @@ var dtype = require( './../../dtype' ); var full = require( './../../full' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var format = require( '@stdlib/string/format' ); diff --git a/ones/lib/main.js b/ones/lib/main.js index 73fe4117..a7b4505d 100644 --- a/ones/lib/main.js +++ b/ones/lib/main.js @@ -20,8 +20,8 @@ // MODULES // -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var full = require( './../../full' ); var defaults = require( './../../defaults' ); diff --git a/pool/test/test.factory.js b/pool/test/test.factory.js index da6711f8..53d61487 100644 --- a/pool/test/test.factory.js +++ b/pool/test/test.factory.js @@ -36,8 +36,8 @@ var Complex64Array = require( './../../complex64' ); var Complex128Array = require( './../../complex128' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var randu = require( '@stdlib/random/base/randu' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var real = require( '@stdlib/complex/real' ); var realf = require( '@stdlib/complex/realf' ); var imag = require( '@stdlib/complex/imag' ); diff --git a/pool/test/test.js b/pool/test/test.js index e1c45f2e..6db2d45c 100644 --- a/pool/test/test.js +++ b/pool/test/test.js @@ -36,8 +36,8 @@ var Complex64Array = require( './../../complex64' ); var Complex128Array = require( './../../complex128' ); var instanceOf = require( '@stdlib/assert/instance-of' ); var randu = require( '@stdlib/random/base/randu' ); -var Complex128 = require( '@stdlib/complex/float64' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var real = require( '@stdlib/complex/real' ); var realf = require( '@stdlib/complex/realf' ); var imag = require( '@stdlib/complex/imag' ); diff --git a/to-fancy/lib/validator.js b/to-fancy/lib/validator.js index 853e387d..cd66ee3a 100644 --- a/to-fancy/lib/validator.js +++ b/to-fancy/lib/validator.js @@ -64,7 +64,7 @@ function validateGeneric() { * // returns null * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var err = validateRealFloating( new Complex128( 5.0, 6.0 ), 'float64' ); * // returns @@ -88,7 +88,7 @@ function validateRealFloating( value, dtype ) { * @returns {(Error|null)} error object or null * * @example -* var Complex128 = require( '@stdlib/complex/float64' ); +* var Complex128 = require( '@stdlib/complex/float64/ctor' ); * * var err = validateComplexFloating( new Complex128( 5.0, 6.0 ), 'complex128' ); * // returns null diff --git a/to-fancy/test/test.set.integers.js b/to-fancy/test/test.set.integers.js index 6004ab33..1c336f4d 100644 --- a/to-fancy/test/test.set.integers.js +++ b/to-fancy/test/test.set.integers.js @@ -30,7 +30,7 @@ var Int32Array = require( './../../int32' ); var Float64Array = require( './../../float64' ); var Complex64Array = require( './../../complex64' ); var Complex128Array = require( './../../complex128' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var array2fancy = require( './../lib' ); diff --git a/to-fancy/test/test.set.slice.js b/to-fancy/test/test.set.slice.js index fcaf51e6..0fc8109a 100644 --- a/to-fancy/test/test.set.slice.js +++ b/to-fancy/test/test.set.slice.js @@ -25,7 +25,7 @@ var hasProxySupport = require( '@stdlib/assert/has-proxy-support' ); var isSameComplex128Array = require( '@stdlib/assert/is-same-complex128array' ); var isSameComplex64Array = require( '@stdlib/assert/is-same-complex64array' ); var Slice = require( '@stdlib/slice/ctor' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Float64Array = require( './../../float64' ); var Float32Array = require( './../../float32' ); var Int32Array = require( './../../int32' ); diff --git a/to-fancy/test/test.set.subsequence.js b/to-fancy/test/test.set.subsequence.js index 395b3cfe..1cde203e 100644 --- a/to-fancy/test/test.set.subsequence.js +++ b/to-fancy/test/test.set.subsequence.js @@ -24,7 +24,7 @@ var tape = require( 'tape' ); var hasProxySupport = require( '@stdlib/assert/has-proxy-support' ); var isSameComplex128Array = require( '@stdlib/assert/is-same-complex128array' ); var isSameComplex64Array = require( '@stdlib/assert/is-same-complex64array' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var Float64Array = require( './../../float64' ); var Float32Array = require( './../../float32' ); var Int32Array = require( './../../int32' ); diff --git a/to-iterator/test/test.js b/to-iterator/test/test.js index 60b2ea25..79e958ad 100644 --- a/to-iterator/test/test.js +++ b/to-iterator/test/test.js @@ -27,7 +27,7 @@ var noop = require( '@stdlib/utils/noop' ); var Complex64Array = require( './../../complex64' ); var realf = require( '@stdlib/complex/realf' ); var imagf = require( '@stdlib/complex/imagf' ); -var Complex64 = require( '@stdlib/complex/float32' ); +var Complex64 = require( '@stdlib/complex/float32/ctor' ); var array2iterator = require( './../lib' ); diff --git a/typed-complex/README.md b/typed-complex/README.md index a30405c3..dfbd13e4 100644 --- a/typed-complex/README.md +++ b/typed-complex/README.md @@ -152,7 +152,7 @@ var arr6 = complexarray( buf, 24, 4, 'complex64' ); ```javascript var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ); var gfillBy = require( '@stdlib/blas/ext/base/gfill-by' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' ); var complexarray = require( '@stdlib/array/typed-complex' ); diff --git a/typed-complex/examples/index.js b/typed-complex/examples/index.js index 078fa774..d812af15 100644 --- a/typed-complex/examples/index.js +++ b/typed-complex/examples/index.js @@ -20,7 +20,7 @@ var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ); var gfillBy = require( '@stdlib/blas/ext/base/gfill-by' ); -var Complex128 = require( '@stdlib/complex/float64' ); +var Complex128 = require( '@stdlib/complex/float64/ctor' ); var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' ); var complexarray = require( './../lib' );