diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/README.md b/lib/node_modules/@stdlib/blas/base/dzasum/README.md
new file mode 100644
index 000000000000..63ca6c05d191
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/README.md
@@ -0,0 +1,242 @@
+
+
+# dzasum
+
+> Compute the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array.
+
+
+
+## Usage
+
+```javascript
+var dzasum = require( '@stdlib/blas/base/dzasum' );
+```
+
+#### dzasum( N, x, strideX )
+
+Computes the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array.
+
+```javascript
+var Complex128Array = require( '@stdlib/array/complex128' );
+
+var x = new Complex128Array( [ 0.3, 0.1, 0.5, 0.0, 0.0, 0.5, 0.0, 0.2 ] );
+
+var out = dzasum( 4, x, 1 );
+// returns ~1.6
+```
+
+The function has the following parameters:
+
+- **N**: number of indexed elements.
+- **x**: input [`Complex128Array`][@stdlib/array/complex128].
+- **strideX**: stride length.
+
+The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to traverse every other value,
+
+```javascript
+var Complex128Array = require( '@stdlib/array/complex128' );
+
+var x = new Complex128Array( [ -2.0, 1.0, 3.0, -5.0, 4.0, 0.0, -1.0, -3.0 ] );
+
+var out = dzasum( 2, x, 2 );
+// returns 7.0
+```
+
+Note that indexing is relative to the first index. To introduce an offset, use [`typed array`][mdn-typed-array] views.
+
+```javascript
+var Complex128Array = require( '@stdlib/array/complex128' );
+
+// Initial array:
+var x0 = new Complex128Array( [ 1.0, -2.0, 3.0, -4.0, 5.0, -6.0 ] );
+
+// Create an offset view:
+var x1 = new Complex128Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
+
+// Compute the sum of absolute values:
+var out = dzasum( 2, x1, 1 );
+// returns 18.0
+```
+
+#### dzasum.ndarray( N, x, strideX, offsetX )
+
+Computes the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array using alternative indexing semantics.
+
+```javascript
+var Complex128Array = require( '@stdlib/array/complex128' );
+
+var x = new Complex128Array( [ 0.3, 0.1, 0.5, 0.0, 0.0, 0.5, 0.0, 0.2 ] );
+
+var out = dzasum.ndarray( 4, x, 1, 0 );
+// returns ~1.6
+```
+
+The function has the following additional parameters:
+
+- **offsetX**: starting index.
+
+While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameter supports indexing semantics based on a starting index. For example, to start from the second element
+
+```javascript
+var Complex128Array = require( '@stdlib/array/complex128' );
+
+var x = new Complex128Array( [ 1.0, -2.0, 3.0, -4.0, 5.0, -6.0 ] );
+
+var out = dzasum.ndarray( 2, x, 1, 1 );
+// returns 18.0
+```
+
+
+
+
+
+
+
+## Notes
+
+- If `N <= 0`, both functions return `0.0`.
+- `dzasum()` corresponds to the [BLAS][blas] level 1 function [`dzasum`][dzasum].
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
+var filledarrayBy = require( '@stdlib/array/filled-by' );
+var Complex128 = require( '@stdlib/complex/float64/ctor' );
+var dzasum = require( '@stdlib/blas/base/dzasum' );
+
+function rand() {
+ return new Complex128( discreteUniform( 0, 10 ), discreteUniform( -5, 5 ) );
+}
+
+var x = filledarrayBy( 10, 'complex128', rand );
+console.log( x.toString() );
+
+// Compute the sum of the absolute values of real and imaginary components:
+var out = dzasum( x.length, x, 1 );
+console.log( out );
+```
+
+
+
+
+
+
+
+* * *
+
+
+
+## C APIs
+
+
+
+
+
+
+
+
+
+
+
+### Usage
+
+```c
+TODO
+```
+
+#### TODO
+
+TODO.
+
+```c
+TODO
+```
+
+TODO
+
+```c
+TODO
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+### Examples
+
+```c
+TODO
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[blas]: http://www.netlib.org/blas
+
+[dzasum]: https://www.netlib.org/lapack/explore-html/d5/d72/group__asum_ga89c76eef329f84ba9ed106b34fedab16.html#ga89c76eef329f84ba9ed106b34fedab16
+
+[@stdlib/array/complex128]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/complex128
+
+[mdn-typed-array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
+
+
+
+
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/benchmark/benchmark.js b/lib/node_modules/@stdlib/blas/base/dzasum/benchmark/benchmark.js
new file mode 100644
index 000000000000..b77c8efa24d6
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/benchmark/benchmark.js
@@ -0,0 +1,104 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var uniform = require( '@stdlib/random/array/uniform' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var pow = require( '@stdlib/math/base/special/pow' );
+var Complex128Array = require( '@stdlib/array/complex128' );
+var format = require( '@stdlib/string/format' );
+var pkg = require( './../package.json' ).name;
+var dzasum = require( './../lib/dzasum.js' );
+
+
+// VARIABLES //
+
+var options = {
+ 'dtype': 'float64'
+};
+
+
+// FUNCTIONS //
+
+/**
+* Create a benchmark function.
+*
+* @private
+* @param {PositiveInteger} len - array length
+* @returns {Function} benchmark function
+*/
+function createBenchmark( len ) {
+ var x = new Complex128Array( uniform( len*2, -10.0, 10.0, options ) );
+ return benchmark;
+
+ /**
+ * Benchmark function.
+ *
+ * @private
+ * @param {Benchmark} b - benchmark instance
+ */
+ function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = dzasum( x.length, x, 1 );
+ if ( isnan( out ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( isnan( out ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+ }
+}
+
+
+// MAIN //
+
+/**
+* Main execution sequence.
+*
+* @private
+*/
+function main() {
+ var len;
+ var min;
+ var max;
+ var f;
+ var i;
+
+ min = 1; // 10^min
+ max = 6; // 10^max
+
+ for ( i = min; i <= max; i++ ) {
+ len = pow( 10, i );
+ f = createBenchmark( len );
+ bench( format( '%s:len=%d', pkg, len ), f );
+ }
+}
+
+main();
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/benchmark/benchmark.ndarray.js b/lib/node_modules/@stdlib/blas/base/dzasum/benchmark/benchmark.ndarray.js
new file mode 100644
index 000000000000..adfd2d68559f
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/benchmark/benchmark.ndarray.js
@@ -0,0 +1,104 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var uniform = require( '@stdlib/random/array/uniform' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var pow = require( '@stdlib/math/base/special/pow' );
+var Complex128Array = require( '@stdlib/array/complex128' );
+var format = require( '@stdlib/string/format' );
+var pkg = require( './../package.json' ).name;
+var dzasum = require( './../lib/ndarray.js' );
+
+
+// VARIABLES //
+
+var options = {
+ 'dtype': 'float64'
+};
+
+
+// FUNCTIONS //
+
+/**
+* Create a benchmark function.
+*
+* @private
+* @param {PositiveInteger} len - array length
+* @returns {Function} benchmark function
+*/
+function createBenchmark( len ) {
+ var x = new Complex128Array( uniform( len*2, -10.0, 10.0, options ) );
+ return benchmark;
+
+ /**
+ * Benchmark function.
+ *
+ * @private
+ * @param {Benchmark} b - benchmark instance
+ */
+ function benchmark( b ) {
+ var out;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ out = dzasum( x.length, x, 1, 0 );
+ if ( isnan( out ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( isnan( out ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+ }
+}
+
+
+// MAIN //
+
+/**
+* Main execution sequence.
+*
+* @private
+*/
+function main() {
+ var len;
+ var min;
+ var max;
+ var f;
+ var i;
+
+ min = 1; // 10^min
+ max = 6; // 10^max
+
+ for ( i = min; i <= max; i++ ) {
+ len = pow( 10, i );
+ f = createBenchmark( len );
+ bench( format( '%s:ndarray:len=%d', pkg, len ), f );
+ }
+}
+
+main();
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/dzasum/docs/repl.txt
new file mode 100644
index 000000000000..e389ed150653
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/docs/repl.txt
@@ -0,0 +1,91 @@
+
+{{alias}}( N, x, strideX )
+ Computes the sum of the absolute values of the real and imaginary components
+ of a double-precision complex floating-point strided array.
+
+ The `N` and stride parameters determine which elements in the strided array
+ are accessed at runtime.
+
+ Indexing is relative to the first index. To introduce an offset, use typed
+ array views.
+
+ If `N <= 0`, the function returns `0.0`.
+
+ Parameters
+ ----------
+ N: integer
+ Number of indexed elements.
+
+ x: Complex128Array
+ Input array.
+
+ strideX: integer
+ Stride length.
+
+ Returns
+ -------
+ out: number
+ Result.
+
+ Examples
+ --------
+ // Standard Usage:
+ > var x = new {{alias:@stdlib/array/complex128}}( [ 0.3, 0.1, 0.5, 0.0, 0.0, 0.5, 0.0, 0.2 ] );
+ > var out = {{alias}}( 4, x, 1 )
+ ~1.6
+
+ // Using `N` and stride parameters:
+ > x = new {{alias:@stdlib/array/complex128}}( [ 3.0, -4.0, 0.0, 0.0, 5.0, -6.0 ] );
+ > out = {{alias}}( 2, x, 2 )
+ 18.0
+
+ // Using view offsets:
+ > var x0 = new {{alias:@stdlib/array/complex128}}( [ 1.0, -2.0, 3.0, -4.0, 5.0, -6.0 ] );
+ > var x1 = new {{alias:@stdlib/array/complex128}}( x0.buffer, x0.BYTES_PER_ELEMENT*1 );
+ > out = {{alias}}( 2, x1, 1 )
+ 18.0
+
+
+{{alias}}.ndarray( N, x, strideX, offsetX )
+ Computes the sum of the absolute values of the real and imaginary components
+ of a double-precision complex floating-point strided array using alternative
+ indexing semantics.
+
+ While typed array views mandate a view offset based on the underlying
+ buffer, the offset parameter supports indexing semantics based on a starting
+ index.
+
+ Parameters
+ ----------
+ N: integer
+ Number of indexed elements.
+
+ x: Complex128Array
+ Input array.
+
+ strideX: integer
+ Stride length.
+
+ offsetX: integer
+ Starting index.
+
+ Returns
+ -------
+ out: number
+ Result.
+
+ Examples
+ --------
+ // Standard Usage:
+ > var x = new {{alias:@stdlib/array/complex128}}( [ 3.0, -4.0, 0.0, 0.0, 5.0, -6.0 ] );
+ > var out = {{alias}}.ndarray( 2, x, 2, 0 )
+ 18.0
+
+ // Using an index offset:
+ > x = new {{alias:@stdlib/array/complex128}}( [ 1.0, -2.0, 3.0, -4.0, 5.0, -6.0 ] );
+ > out = {{alias}}.ndarray( 2, x, 1, 1 )
+ 18.0
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/base/dzasum/docs/types/index.d.ts
new file mode 100644
index 000000000000..0d988db3f3ce
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/docs/types/index.d.ts
@@ -0,0 +1,96 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+///
+
+import { Complex128Array } from '@stdlib/types/array';
+
+/**
+* Interface describing `dzasum`.
+*/
+interface Routine {
+ /**
+ * Computes the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array.
+ *
+ * @param N - number of indexed elements
+ * @param x - input array
+ * @param strideX - stride length
+ * @returns sum
+ *
+ * @example
+ * var Complex128Array = require( '@stdlib/array/complex128' );
+ *
+ * var x = new Complex128Array( [ 0.3, 0.1, 0.5, 0.0, 0.0, 0.5, 0.0, 0.2, 2.0, 3.0 ] );
+ *
+ * var out = dzasum( 5, x, 1 );
+ * // returns ~6.6
+ */
+ ( N: number, x: Complex128Array, strideX: number ): number;
+
+ /**
+ * Computes the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array using alternative indexing semantics.
+ *
+ * @param N - number of indexed elements
+ * @param x - input array
+ * @param strideX - stride length
+ * @param offsetX - starting index
+ * @returns sum
+ *
+ * @example
+ * var Complex128Array = require( '@stdlib/array/complex128' );
+ *
+ * var x = new Complex128Array( [ 0.3, 0.1, 0.5, 0.0, 0.0, 0.5, 0.0, 0.2, 2.0, 3.0 ] );
+ *
+ * var out = dzasum.ndarray( 5, x, 1, 0 );
+ * // returns ~6.6
+ */
+ ndarray( N: number, x: Complex128Array, strideX: number, offsetX: number ): number;
+}
+
+/**
+* Computes the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array.
+*
+* @param N - number of indexed elements
+* @param x - input array
+* @param strideX - stride length
+* @returns out
+*
+* @example
+* var Complex128Array = require( '@stdlib/array/complex128' );
+*
+* var x = new Complex128Array( [ 0.3, 0.1, 5.0, 8.0, 0.5, 0.0, 6.0, 9.0, 0.0, 0.5, 8.0, 3.0, 0.0, 0.2, 9.0, 4.0 ] );
+*
+* var out = dzasum( 4, x, 2 );
+* // returns ~1.6
+*
+* @example
+* var Complex128Array = require( '@stdlib/array/complex128' );
+*
+* var x = new Complex128Array( [ 0.3, 0.1, 5.0, 8.0, 0.5, 0.0, 6.0, 9.0, 0.0, 0.5, 8.0, 3.0, 0.0, 0.2, 9.0, 4.0 ] );
+*
+* var out = dzasum.ndarray( 4, x, 2, 0 );
+* // returns ~1.6
+*/
+declare var dzasum: Routine;
+
+
+// EXPORTS //
+
+export = dzasum;
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/docs/types/test.ts b/lib/node_modules/@stdlib/blas/base/dzasum/docs/types/test.ts
new file mode 100644
index 000000000000..7d25b9f4dfd7
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/docs/types/test.ts
@@ -0,0 +1,158 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import Complex128Array = require( '@stdlib/array/complex128' );
+import dzasum = require( './index' );
+
+
+// TESTS //
+
+// The function returns a number...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum( x.length, x, 1 ); // $ExpectType number
+}
+
+// The compiler throws an error if the function is provided a first argument which is not a number...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum( '10', x, 1 ); // $ExpectError
+ dzasum( true, x, 1 ); // $ExpectError
+ dzasum( false, x, 1 ); // $ExpectError
+ dzasum( null, x, 1 ); // $ExpectError
+ dzasum( undefined, x, 1 ); // $ExpectError
+ dzasum( [], x, 1 ); // $ExpectError
+ dzasum( {}, x, 1 ); // $ExpectError
+ dzasum( ( x: number ): number => x, x, 1 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a second argument which is not a Complex128Array...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum( x.length, 10, 1 ); // $ExpectError
+ dzasum( x.length, '10', 1 ); // $ExpectError
+ dzasum( x.length, true, 1 ); // $ExpectError
+ dzasum( x.length, false, 1 ); // $ExpectError
+ dzasum( x.length, null, 1 ); // $ExpectError
+ dzasum( x.length, undefined, 1 ); // $ExpectError
+ dzasum( x.length, [], 1 ); // $ExpectError
+ dzasum( x.length, {}, 1 ); // $ExpectError
+ dzasum( x.length, ( x: number ): number => x, 1 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a third argument which is not a number...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum( x.length, x, '10' ); // $ExpectError
+ dzasum( x.length, x, true ); // $ExpectError
+ dzasum( x.length, x, false ); // $ExpectError
+ dzasum( x.length, x, null ); // $ExpectError
+ dzasum( x.length, x, undefined ); // $ExpectError
+ dzasum( x.length, x, [] ); // $ExpectError
+ dzasum( x.length, x, {} ); // $ExpectError
+ dzasum( x.length, x, ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum(); // $ExpectError
+ dzasum( x.length ); // $ExpectError
+ dzasum( x.length, x ); // $ExpectError
+ dzasum( x.length, x, 1, 10 ); // $ExpectError
+}
+
+// Attached to main export is an `ndarray` method which returns a number...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum.ndarray( x.length, x, 1, 0 ); // $ExpectType number
+}
+
+// The compiler throws an error if the `ndarray` method is provided a first argument which is not a number...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum.ndarray( '10', x, 1, 0 ); // $ExpectError
+ dzasum.ndarray( true, x, 1, 0 ); // $ExpectError
+ dzasum.ndarray( false, x, 1, 0 ); // $ExpectError
+ dzasum.ndarray( null, x, 1, 0 ); // $ExpectError
+ dzasum.ndarray( undefined, x, 1, 0 ); // $ExpectError
+ dzasum.ndarray( [], x, 1, 0 ); // $ExpectError
+ dzasum.ndarray( {}, x, 1, 0 ); // $ExpectError
+ dzasum.ndarray( ( x: number ): number => x, x, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the `ndarray` method is provided a second argument which is not a Complex128Array...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum.ndarray( x.length, 10, 1, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, '10', 1, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, true, 1, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, false, 1, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, null, 1, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, undefined, 1, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, [], 1, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, {}, 1, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, ( x: number ): number => x, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the `ndarray` method is provided a third argument which is not a number...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum.ndarray( x.length, x, '10', 0 ); // $ExpectError
+ dzasum.ndarray( x.length, x, true, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, x, false, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, x, null, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, x, undefined, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, x, [], 0 ); // $ExpectError
+ dzasum.ndarray( x.length, x, {}, 0 ); // $ExpectError
+ dzasum.ndarray( x.length, x, ( x: number ): number => x, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the `ndarray` method is provided a fourth argument which is not a number...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum.ndarray( x.length, x, 1, '10' ); // $ExpectError
+ dzasum.ndarray( x.length, x, 1, true ); // $ExpectError
+ dzasum.ndarray( x.length, x, 1, false ); // $ExpectError
+ dzasum.ndarray( x.length, x, 1, null ); // $ExpectError
+ dzasum.ndarray( x.length, x, 1, undefined ); // $ExpectError
+ dzasum.ndarray( x.length, x, 1, [] ); // $ExpectError
+ dzasum.ndarray( x.length, x, 1, {} ); // $ExpectError
+ dzasum.ndarray( x.length, x, 1, ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the `ndarray` method is provided an unsupported number of arguments...
+{
+ const x = new Complex128Array( 10 );
+
+ dzasum.ndarray(); // $ExpectError
+ dzasum.ndarray( x.length ); // $ExpectError
+ dzasum.ndarray( x.length, x ); // $ExpectError
+ dzasum.ndarray( x.length, x, 1 ); // $ExpectError
+ dzasum.ndarray( x.length, x, 1, 0, 10 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/examples/index.js b/lib/node_modules/@stdlib/blas/base/dzasum/examples/index.js
new file mode 100644
index 000000000000..d5c271b8e2c5
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/examples/index.js
@@ -0,0 +1,35 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/base/discrete-uniform' );
+var filledarrayBy = require( '@stdlib/array/filled-by' );
+var Complex128 = require( '@stdlib/complex/float64/ctor' );
+var dzasum = require( './../lib' );
+
+function rand() {
+ return new Complex128( discreteUniform( 0, 10 ), discreteUniform( -5, 5 ) );
+}
+
+var x = filledarrayBy( 10, 'complex128', rand );
+console.log( x.toString() );
+
+// Compute the sum of the absolute values of the real and imaginary components:
+var out = dzasum( x.length, x, 1 );
+console.log( out );
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/lib/dzasum.js b/lib/node_modules/@stdlib/blas/base/dzasum/lib/dzasum.js
new file mode 100644
index 000000000000..607cb6661754
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/lib/dzasum.js
@@ -0,0 +1,53 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var stride2offset = require( '@stdlib/strided/base/stride2offset' );
+var ndarray = require( './ndarray.js' );
+
+
+// MAIN //
+
+/**
+* Computes the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {Complex128Array} x - input array
+* @param {integer} strideX - stride length
+* @returns {number} result
+*
+* @example
+* var Complex128Array = require( '@stdlib/array/complex128' );
+*
+* var x = new Complex128Array( [ 5.0, -3.0, 6.0, 4.0 ] );
+*
+* var out = dzasum( x.length, x, 1 );
+* // returns 18.0
+*/
+function dzasum( N, x, strideX ) {
+ var ox = stride2offset( N, strideX );
+ return ndarray( N, x, strideX, ox );
+}
+
+
+// EXPORTS //
+
+module.exports = dzasum;
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/lib/index.js b/lib/node_modules/@stdlib/blas/base/dzasum/lib/index.js
new file mode 100644
index 000000000000..42e9699f9541
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/lib/index.js
@@ -0,0 +1,68 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* BLAS level 1 routine to compute the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array.
+*
+* @module @stdlib/blas/base/dzasum
+*
+* @example
+* var Complex128Array = require( '@stdlib/array/complex128' );
+* var dzasum = require( '@stdlib/blas/base/dzasum' );
+*
+* var x = new Complex128Array( [ -2.0, 1.0, 3.0, -5.0, 4.0, 0.0, -1.0, -3.0 ] );
+*
+* var out = dzasum( x.length, x, 1 );
+* // returns 19.0
+*
+* @example
+* var Complex128Array = require( '@stdlib/array/complex128' );
+* var dzasum = require( '@stdlib/blas/base/dzasum' );
+*
+* var x = new Complex128Array( [ -2.0, 1.0, 3.0, -5.0, 4.0, 0.0, -1.0, -3.0 ] );
+*
+* var out = dzasum.ndarray( x.length, x, 1, 0 );
+* // returns 19.0
+*/
+
+// MODULES //
+
+var join = require( 'path' ).join;
+var tryRequire = require( '@stdlib/utils/try-require' );
+var isError = require( '@stdlib/assert/is-error' );
+var main = require( './main.js' );
+
+
+// MAIN //
+
+var dzasum;
+var tmp = tryRequire( join( __dirname, './native.js' ) );
+if ( isError( tmp ) ) {
+ dzasum = main;
+} else {
+ dzasum = tmp;
+}
+
+
+// EXPORTS //
+
+module.exports = dzasum;
+
+// exports: { "ndarray": "dzasum.ndarray" }
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/lib/main.js b/lib/node_modules/@stdlib/blas/base/dzasum/lib/main.js
new file mode 100644
index 000000000000..1dfa09e73ab1
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/lib/main.js
@@ -0,0 +1,35 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var dzasum = require( './dzasum.js' );
+var ndarray = require( './ndarray.js' );
+
+
+// MAIN //
+
+setReadOnly( dzasum, 'ndarray', ndarray );
+
+
+// EXPORTS //
+
+module.exports = dzasum;
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/lib/ndarray.js b/lib/node_modules/@stdlib/blas/base/dzasum/lib/ndarray.js
new file mode 100644
index 000000000000..235d1050425a
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/lib/ndarray.js
@@ -0,0 +1,70 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var abs = require( '@stdlib/math/base/special/abs' );
+var reinterpret = require( '@stdlib/strided/base/reinterpret-complex128' );
+
+
+// MAIN //
+
+/**
+* Computes the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array.
+*
+* @param {PositiveInteger} N - number of indexed elements
+* @param {Complex128Array} x - input array
+* @param {integer} strideX - stride length
+* @param {NonNegativeInteger} offsetX - starting index
+* @returns {number} result
+*
+* @example
+* var Complex128Array = require( '@stdlib/array/complex128' );
+*
+* var x = new Complex128Array( [ 5.0, -3.0, 6.0, 4.0 ] );
+*
+* var out = dzasum( x.length, x, 1, 0 );
+* // returns 18.0
+*/
+function dzasum( N, x, strideX, offsetX ) {
+ var viewX;
+ var stemp;
+ var ix;
+ var sx;
+ var i;
+
+ stemp = 0.0;
+ if ( N <= 0 ) {
+ return stemp;
+ }
+ viewX = reinterpret( x, 0 );
+ sx = strideX * 2;
+ ix = offsetX * 2;
+ for ( i = 0; i < N; i++ ) {
+ stemp += abs( viewX[ ix ] ) + abs( viewX[ ix+1 ] );
+ ix += sx;
+ }
+ return stemp;
+}
+
+
+// EXPORTS //
+
+module.exports = dzasum;
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/package.json b/lib/node_modules/@stdlib/blas/base/dzasum/package.json
new file mode 100644
index 000000000000..8b570d5bc94b
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/package.json
@@ -0,0 +1,79 @@
+{
+ "name": "@stdlib/blas/base/dzasum",
+ "version": "0.0.0",
+ "description": "Compute the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "stdmath",
+ "mathematics",
+ "math",
+ "blas",
+ "level 1",
+ "linear",
+ "algebra",
+ "subroutines",
+ "dcabs1",
+ "absolute",
+ "value",
+ "sum",
+ "l1norm",
+ "norm",
+ "taxicab",
+ "manhattan",
+ "vector",
+ "array",
+ "ndarray",
+ "double",
+ "complex128",
+ "complex128array"
+ ],
+ "__stdlib__": {
+ "wasm": false
+ }
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/test/test.dzasum.js b/lib/node_modules/@stdlib/blas/base/dzasum/test/test.dzasum.js
new file mode 100644
index 000000000000..bfefd7a1caca
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/test/test.dzasum.js
@@ -0,0 +1,214 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Complex128Array = require( '@stdlib/array/complex128' );
+var EPS = require( '@stdlib/constants/float64/eps' );
+var abs = require( '@stdlib/math/base/special/abs' );
+var dzasum = require( './../lib/dzasum.js' );
+
+
+// FUNCTIONS //
+
+/**
+* Tests for element-wise approximate equality.
+*
+* @private
+* @param {Object} t - test object
+* @param {number} actual - actual value
+* @param {number} expected - expected value
+* @param {number} rtol - relative tolerance
+*/
+function isApprox( t, actual, expected, rtol ) {
+ var delta;
+ var tol;
+
+ if ( actual === expected ) {
+ t.strictEqual( actual, expected, 'returns expected value' );
+ } else {
+ delta = abs( actual - expected );
+ tol = rtol * EPS * abs( expected );
+ t.ok( delta <= tol, 'within tolerance. actual: '+actual+'. expected: '+expected+'. delta: '+delta+'. tol: '+tol+'.' );
+ }
+}
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof dzasum, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function has an arity of 3', function test( t ) {
+ t.strictEqual( dzasum.length, 3, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function computes the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 0.3, // 1
+ 0.1, // 1
+ 0.5, // 2
+ 0.0, // 2
+ 0.0, // 3
+ 0.5, // 3
+ 0.0, // 4
+ 0.2, // 4
+ 2.0,
+ 3.0
+ ]);
+ expected = 1.6;
+
+ actual = dzasum( 4, x, 1 );
+ isApprox( t, actual, expected, 2.0 );
+
+ x = new Complex128Array([
+ 0.1, // 1
+ 0.1, // 1
+ -0.6, // 2
+ 0.1, // 2
+ 0.1, // 3
+ -0.3, // 3
+ 7.0,
+ 8.0
+ ]);
+ expected = 1.3;
+
+ actual = dzasum( 3, x, 1 );
+ isApprox( t, actual, expected, 2.0 );
+ t.end();
+});
+
+tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 1.0,
+ 2.0,
+ 3.0,
+ 4.0
+ ]);
+ expected = 0.0;
+
+ actual = dzasum( 0, x, 1 );
+ t.strictEqual( actual, expected, 'returns expected value' );
+
+ x = new Complex128Array([
+ 1.0,
+ 2.0,
+ 3.0,
+ 4.0
+ ]);
+ expected = 0.0;
+
+ actual = dzasum( -1, x, 1 );
+ t.strictEqual( actual, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function supports specifying a stride', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 0.3, // 1
+ 0.1, // 1
+ 5.0,
+ 8.0,
+ 0.5, // 2
+ 0.0, // 2
+ 6.0,
+ 9.0,
+ 0.0, // 3
+ 0.5, // 3
+ 8.0,
+ 3.0,
+ 0.0, // 4
+ 0.2, // 4
+ 9.0,
+ 4.0
+ ]);
+ expected = 1.6;
+
+ actual = dzasum( 4, x, 2 );
+ isApprox( t, actual, expected, 2.0 );
+ t.end();
+});
+
+tape( 'the function supports specifying a negative stride', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 0.3, // 4
+ 0.1, // 4
+ 5.0, // 3
+ 8.0, // 3
+ 0.5, // 2
+ 0.0, // 2
+ 6.0, // 1
+ 9.0 // 1
+ ]);
+ expected = 28.9;
+
+ actual = dzasum( 4, x, -1 );
+ isApprox( t, actual, expected, 2.0 );
+ t.end();
+});
+
+tape( 'the function supports view offsets', function test( t ) {
+ var expected;
+ var actual;
+ var x0;
+ var x1;
+
+ x0 = new Complex128Array([
+ 1.0,
+ 2.0,
+ 3.0, // 1
+ 4.0, // 1
+ 5.0, // 2
+ 6.0, // 2
+ 7.0, // 3
+ 8.0, // 3
+ 9.0,
+ 10.0
+ ]);
+ expected = 33.0;
+
+ x1 = new Complex128Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 );
+
+ actual = dzasum( 3, x1, 1 );
+ t.strictEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/test/test.js b/lib/node_modules/@stdlib/blas/base/dzasum/test/test.js
new file mode 100644
index 000000000000..724163f2e8a3
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/test/test.js
@@ -0,0 +1,82 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var proxyquire = require( 'proxyquire' );
+var isBrowser = require( '@stdlib/assert/is-browser' );
+var dzasum = require( './../lib' );
+
+
+// VARIABLES //
+
+var opts = {
+ 'skip': isBrowser
+};
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof dzasum, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'attached to the main export is a method providing an ndarray interface', function test( t ) {
+ t.strictEqual( typeof dzasum.ndarray, 'function', 'method is a function' );
+ t.end();
+});
+
+tape( 'if a native implementation is available, the main export is the native implementation', opts, function test( t ) {
+ var dzasum = proxyquire( './../lib', {
+ '@stdlib/utils/try-require': tryRequire
+ });
+
+ t.strictEqual( dzasum, mock, 'returns native implementation' );
+ t.end();
+
+ function tryRequire() {
+ return mock;
+ }
+
+ function mock() {
+ // Mock...
+ }
+});
+
+tape( 'if a native implementation is not available, the main export is a JavaScript implementation', opts, function test( t ) {
+ var dzasum;
+ var main;
+
+ main = require( './../lib/dzasum.js' );
+
+ dzasum = proxyquire( './../lib', {
+ '@stdlib/utils/try-require': tryRequire
+ });
+
+ t.strictEqual( dzasum, main, 'returns JavaScript implementation' );
+ t.end();
+
+ function tryRequire() {
+ return new Error( 'Cannot find module' );
+ }
+});
diff --git a/lib/node_modules/@stdlib/blas/base/dzasum/test/test.ndarray.js b/lib/node_modules/@stdlib/blas/base/dzasum/test/test.ndarray.js
new file mode 100644
index 000000000000..d3009e10153c
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dzasum/test/test.ndarray.js
@@ -0,0 +1,249 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Complex128Array = require( '@stdlib/array/complex128' );
+var EPS = require( '@stdlib/constants/float64/eps' );
+var abs = require( '@stdlib/math/base/special/abs' );
+var dzasum = require( './../lib/ndarray.js' );
+
+
+// FUNCTIONS //
+
+/**
+* Tests for element-wise approximate equality.
+*
+* @private
+* @param {Object} t - test object
+* @param {number} actual - actual value
+* @param {number} expected - expected value
+* @param {number} rtol - relative tolerance
+*/
+function isApprox( t, actual, expected, rtol ) {
+ var delta;
+ var tol;
+
+ if ( actual === expected ) {
+ t.strictEqual( actual, expected, 'returns expected value' );
+ } else {
+ delta = abs( actual - expected );
+ tol = rtol * EPS * abs( expected );
+ t.ok( delta <= tol, 'within tolerance. actual: '+actual+'. expected: '+expected+'. delta: '+delta+'. tol: '+tol+'.' );
+ }
+}
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof dzasum, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function has an arity of 4', function test( t ) {
+ t.strictEqual( dzasum.length, 4, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function computes the sum of the absolute values of the real and imaginary components of a double-precision complex floating-point strided array', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 0.3, // 1
+ 0.1, // 1
+ 0.5, // 2
+ 0.0, // 2
+ 0.0, // 3
+ 0.5, // 3
+ 0.0, // 4
+ 0.2, // 4
+ 2.0,
+ 3.0
+ ]);
+ expected = 1.6;
+
+ actual = dzasum( 4, x, 1, 0 );
+ isApprox( t, actual, expected, 2.0 );
+
+ x = new Complex128Array([
+ 0.1, // 1
+ 0.1, // 1
+ -0.6, // 2
+ 0.1, // 2
+ 0.1, // 3
+ -0.3, // 3
+ 7.0,
+ 8.0
+ ]);
+ expected = 1.3;
+
+ actual = dzasum( 3, x, 1, 0 );
+ isApprox( t, actual, expected, 2.0 );
+ t.end();
+});
+
+tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 1.0,
+ 2.0,
+ 3.0,
+ 4.0
+ ]);
+ expected = 0.0;
+
+ actual = dzasum( 0, x, 1, 0 );
+ t.strictEqual( actual, expected, 'returns expected value' );
+
+ x = new Complex128Array([
+ 1.0,
+ 2.0,
+ 3.0,
+ 4.0
+ ]);
+ expected = 0.0;
+
+ actual = dzasum( -1, x, 1, 0 );
+ t.strictEqual( actual, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function supports specifying a stride', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 0.3, // 1
+ 0.1, // 1
+ 5.0,
+ 8.0,
+ 0.5, // 2
+ 0.0, // 2
+ 6.0,
+ 9.0,
+ 0.0, // 3
+ 0.5, // 3
+ 8.0,
+ 3.0,
+ 0.0, // 4
+ 0.2, // 4
+ 9.0,
+ 4.0
+ ]);
+ expected = 1.6;
+
+ actual = dzasum( 4, x, 2, 0 );
+ isApprox( t, actual, expected, 2.0 );
+ t.end();
+});
+
+tape( 'the function supports specifying a negative stride', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 0.3, // 4
+ 0.1, // 4
+ 5.0, // 3
+ 8.0, // 3
+ 0.5, // 2
+ 0.0, // 2
+ 6.0, // 1
+ 9.0, // 1
+ 0.0,
+ 0.5,
+ 8.0,
+ 3.0,
+ 0.0,
+ 0.2,
+ 9.0,
+ 4.0
+ ]);
+ expected = 28.9;
+
+ actual = dzasum( 4, x, -1, 3 );
+ isApprox( t, actual, expected, 2.0 );
+ t.end();
+});
+
+tape( 'the function supports specifying an offset', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 1.0,
+ 2.0,
+ 3.0, // 1
+ 4.0, // 1
+ 5.0, // 2
+ 6.0, // 2
+ 7.0, // 3
+ 8.0, // 3
+ 9.0,
+ 10.0
+ ]);
+ expected = 33.0;
+
+ actual = dzasum( 3, x, 1, 1 );
+ t.strictEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports specifying complex access patterns', function test( t ) {
+ var expected;
+ var actual;
+ var x;
+
+ x = new Complex128Array([
+ 0.3, // 4
+ 0.1, // 4
+ 5.0,
+ 8.0,
+ 0.5, // 3
+ 0.0, // 3
+ 6.0,
+ 9.0,
+ 0.0, // 2
+ 0.5, // 2
+ 8.0,
+ 3.0,
+ 0.0, // 1
+ 0.2, // 1
+ 9.0,
+ 4.0
+ ]);
+ expected = 1.6;
+
+ actual = dzasum( 4, x, -2, 6 );
+ isApprox( t, actual, expected, 2.0 );
+ t.end();
+});