diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/README.md b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/README.md
new file mode 100644
index 000000000000..cfe8f4df8330
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/README.md
@@ -0,0 +1,127 @@
+
+
+# zsumkbn
+
+> Compute the sum of all elements in a one-dimensional double-precision complex floating-point ndarray using an improved Kahan–Babuška algorithm.
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var zsumkbn = require( '@stdlib/blas/ext/base/ndarray/zsumkbn' );
+```
+
+#### zsumkbn( arrays )
+
+Computes the sum of all elements in a one-dimensional double-precision complex floating-point ndarray using an improved Kahan–Babuška algorithm.
+
+```javascript
+var Complex128Array = require( '@stdlib/array/complex128' );
+var ndarray = require( '@stdlib/ndarray/base/ctor' );
+
+var xbuf = new Complex128Array( [ 1.0, 3.0, 4.0, 2.0 ] );
+var x = new ndarray( 'complex128', xbuf, [ 2 ], [ 1 ], 0, 'row-major' );
+
+var v = zsumkbn( [ x ] );
+// returns [ 5.0, 5.0 ]
+```
+
+The function has the following parameters:
+
+- **arrays**: array-like object containing a one-dimensional input ndarray.
+
+
+
+
+
+
+
+## Notes
+
+- If provided an empty one-dimensional ndarray, the function returns `0.0 + 0.0i`.
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var Complex128Array = require( '@stdlib/array/complex128' );
+var ndarray = require( '@stdlib/ndarray/base/ctor' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var zsumkbn = require( '@stdlib/blas/ext/base/ndarray/zsumkbn' );
+
+var xbuf = discreteUniform( 10, -50, 50, {
+ 'dtype': 'float64'
+});
+xbuf = new Complex128Array( xbuf );
+
+var x = new ndarray( 'complex128', xbuf, [ xbuf.length ], [ 1 ], 0, 'row-major' );
+console.log( ndarray2array( x ) );
+
+var v = zsumkbn( [ x ] );
+console.log( v );
+```
+
+
+
+
+
+
+
+## References
+
+- Neumaier, Arnold. 1974. "Rounding Error Analysis of Some Methods for Summing Finite Sums." _Zeitschrift Für Angewandte Mathematik Und Mechanik_ 54 (1): 39–51. doi:[10.1002/zamm.19740540106][@neumaier:1974a].
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@neumaier:1974a]: https://doi.org/10.1002/zamm.19740540106
+
+
+
+
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/benchmark/benchmark.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/benchmark/benchmark.js
new file mode 100644
index 000000000000..5544c4317e88
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/benchmark/benchmark.js
@@ -0,0 +1,107 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 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 real = require( '@stdlib/complex/float64/real' );
+var imag = require( '@stdlib/complex/float64/imag' );
+var pow = require( '@stdlib/math/base/special/pow' );
+var ndarray = require( '@stdlib/ndarray/base/ctor' );
+var Complex128Array = require( '@stdlib/array/complex128' );
+var pkg = require( './../package.json' ).name;
+var zsumkbn = require( './../lib' );
+
+
+// VARIABLES //
+
+var options = {
+ 'dtype': 'complex128'
+};
+
+
+// FUNCTIONS //
+
+/**
+* Creates a benchmark function.
+*
+* @private
+* @param {PositiveInteger} len - array length
+* @returns {Function} benchmark function
+*/
+function createBenchmark( len ) {
+ var xbuf;
+ var x;
+
+ xbuf = uniform( len*2, -10.0, 10.0, {
+ 'dtype': 'float64'
+ });
+ x = new ndarray( options.dtype, new Complex128Array( xbuf ), [ len ], [ 1 ], 0, 'row-major' );
+
+ return benchmark;
+
+ function benchmark( b ) {
+ var v;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = zsumkbn( [ x ] );
+ if ( isnan( real( v ) ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( isnan( imag( v ) ) ) {
+ 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( pkg+':len='+len, f );
+ }
+}
+
+main();
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/docs/repl.txt b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/docs/repl.txt
new file mode 100644
index 000000000000..805cd283a867
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/docs/repl.txt
@@ -0,0 +1,32 @@
+
+{{alias}}( arrays )
+ Computes the sum of all elements in a one-dimensional double-precision
+ complex floating-point ndarray using an improved Kahan–Babuška algorithm.
+
+ If provided an empty ndarray, the function returns `0.0 + 0.0i`.
+
+ Parameters
+ ----------
+ arrays: ArrayLikeObject
+ Array-like object containing a one-dimensional input ndarray.
+
+ Returns
+ -------
+ out: Complex128
+ Sum.
+
+ Examples
+ --------
+ > var xbuf = new {{alias:@stdlib/array/complex128}}( [ 1.0, 2.0, 3.0, 4.0 ] );
+ > var dt = 'complex128';
+ > var sh = [ xbuf.length ];
+ > var sx = [ 1 ];
+ > var ox = 0;
+ > var ord = 'row-major';
+ > var x = new {{alias:@stdlib/ndarray/ctor}}( dt, xbuf, sh, sx, ox, ord );
+ > {{alias}}( [ x ] )
+ [ 4.0, 6.0 ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/docs/types/index.d.ts
new file mode 100644
index 000000000000..55801ca4a522
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/docs/types/index.d.ts
@@ -0,0 +1,47 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 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 { complex128ndarray } from '@stdlib/types/ndarray';
+import { Complex128 } from '@stdlib/types/complex';
+
+/**
+* Computes the sum of all elements in a one-dimensional double-precision complex floating-point ndarray using an improved Kahan–Babuška algorithm.
+*
+* @param arrays - array-like object containing an input ndarray
+* @returns sum
+*
+* @example
+* var Complex128Array = require( '@stdlib/array/complex128' );
+* var ndarray = require( '@stdlib/ndarray/base/ctor' );
+*
+* var xbuf = new Complex128Array( [ 1.0, 3.0, 4.0, 2.0 ] );
+* var x = new ndarray( 'complex128', xbuf, [ 2 ], [ 1 ], 0, 'row-major' );
+*
+* var v = zsumkbn( [ x ] );
+* // returns [ 5.0, 5.0 ]
+*/
+declare function zsumkbn( arrays: [ complex128ndarray ] ): Complex128;
+
+
+// EXPORTS //
+
+export = zsumkbn;
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/docs/types/test.ts b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/docs/types/test.ts
new file mode 100644
index 000000000000..a1d55aa2470a
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/docs/types/test.ts
@@ -0,0 +1,57 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 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.
+*/
+
+/* eslint-disable space-in-parens */
+
+import zeros = require( '@stdlib/ndarray/zeros' );
+import zsumkbn = require( './index' );
+
+
+// TESTS //
+
+// The function returns a complex number...
+{
+ const x = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+ });
+
+ zsumkbn( [ x ] ); // $ExpectType Complex128
+}
+
+// The compiler throws an error if the function is provided a first argument which is not an array of ndarrays...
+{
+ zsumkbn( '10' ); // $ExpectError
+ zsumkbn( 10 ); // $ExpectError
+ zsumkbn( true ); // $ExpectError
+ zsumkbn( false ); // $ExpectError
+ zsumkbn( null ); // $ExpectError
+ zsumkbn( undefined ); // $ExpectError
+ zsumkbn( [] ); // $ExpectError
+ zsumkbn( {} ); // $ExpectError
+ zsumkbn( ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ const x = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+ });
+
+ zsumkbn(); // $ExpectError
+ zsumkbn( [ x ], {} ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/examples/index.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/examples/index.js
new file mode 100644
index 000000000000..2cb00d2b4d3e
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/examples/index.js
@@ -0,0 +1,36 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 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/array/discrete-uniform' );
+var Complex128Array = require( '@stdlib/array/complex128' );
+var ndarray = require( '@stdlib/ndarray/base/ctor' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var zsumkbn = require( './../lib' );
+
+var xbuf = discreteUniform( 10, -50, 50, {
+ 'dtype': 'float64'
+});
+xbuf = new Complex128Array( xbuf );
+
+var x = new ndarray( 'complex128', xbuf, [ xbuf.length ], [ 1 ], 0, 'row-major' );
+console.log( ndarray2array( x ) );
+
+var v = zsumkbn( [ x ] );
+console.log( v );
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/lib/index.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/lib/index.js
new file mode 100644
index 000000000000..c25cbefd4bb8
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/lib/index.js
@@ -0,0 +1,45 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 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';
+
+/**
+* Compute the sum of all elements in a one-dimensional double-precision complex floating-point ndarray using an improved Kahan–Babuška algorithm.
+*
+* @module @stdlib/blas/ext/base/ndarray/zsumkbn
+*
+* @example
+* var Complex128Array = require( '@stdlib/array/complex128' );
+* var ndarray = require( '@stdlib/ndarray/base/ctor' );
+* var zsumkbn = require( '@stdlib/blas/ext/base/ndarray/zsumkbn' );
+*
+* var xbuf = new Complex128Array( [ 1.0, 3.0, 4.0, 2.0 ] );
+* var x = new ndarray( 'complex128', xbuf, [ 2 ], [ 1 ], 0, 'row-major' );
+*
+* var v = zsumkbn( [ x ] );
+* // returns [ 5.0, 5.0 ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/lib/main.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/lib/main.js
new file mode 100644
index 000000000000..ac8f2bef55d3
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zsumkbn/lib/main.js
@@ -0,0 +1,56 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 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 numelDimension = require( '@stdlib/ndarray/base/numel-dimension' );
+var getStride = require( '@stdlib/ndarray/base/stride' );
+var getOffset = require( '@stdlib/ndarray/base/offset' );
+var getData = require( '@stdlib/ndarray/base/data-buffer' );
+var strided = require( '@stdlib/blas/ext/base/zsumkbn' ).ndarray;
+
+
+// MAIN //
+
+/**
+* Computes the sum of all elements in a one-dimensional double-precision complex floating-point ndarray using an improved Kahan–Babuška algorithm.
+*
+* @param {ArrayLikeObject