diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/README.md b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/README.md
new file mode 100644
index 000000000000..42e7befcd028
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/README.md
@@ -0,0 +1,134 @@
+
+
+# zwhere
+
+> Take elements from one of two one-dimensional double-precision complex floating-point ndarrays depending on a condition.
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var zwhere = require( '@stdlib/blas/ext/base/ndarray/zwhere' );
+```
+
+#### zwhere( arrays )
+
+Takes elements from one of two one-dimensional double-precision complex floating-point ndarrays depending on a condition.
+
+
+
+```javascript
+var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+var Complex128Vector = require( '@stdlib/ndarray/vector/complex128' );
+
+var condition = new BooleanVector( [ true, false, true ] );
+var x = new Complex128Vector( [ 1.0, -1.0, 2.0, -2.0, 3.0, -3.0 ] );
+var y = new Complex128Vector( [ 4.0, -4.0, 5.0, -5.0, 6.0, -6.0 ] );
+var out = new Complex128Vector( 3 );
+
+zwhere( [ condition, x, y, out ] );
+// out => [ [ 1.0, -1.0 ], [ 5.0, -5.0 ], [ 3.0, -3.0 ] ]
+```
+
+The function has the following parameters:
+
+- **arrays**: array-like object containing the following ndarrays:
+
+ - a one-dimensional condition ndarray.
+ - first one-dimensional input ndarray.
+ - second one-dimensional input ndarray.
+ - a one-dimensional output ndarray.
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var bernoulli = require( '@stdlib/random/array/bernoulli' );
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+var Complex128Vector = require( '@stdlib/ndarray/vector/complex128' );
+var zeros = require( '@stdlib/ndarray/zeros' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var zwhere = require( '@stdlib/blas/ext/base/ndarray/zwhere' );
+
+var opts = {
+ 'dtype': 'float64'
+};
+
+var cbuf = bernoulli( 10, 0.5, {
+ 'dtype': 'uint8'
+});
+var condition = new BooleanVector( cbuf.buffer );
+console.log( ndarray2array( condition ) );
+
+var x = new Complex128Vector( discreteUniform( 20, -100, 100, opts ) );
+console.log( ndarray2array( x ) );
+
+var y = new Complex128Vector( discreteUniform( 20, -100, 100, opts ) );
+console.log( ndarray2array( y ) );
+
+var out = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+});
+
+zwhere( [ condition, x, y, out ] );
+console.log( ndarray2array( out ) );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/benchmark/benchmark.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/benchmark/benchmark.js
new file mode 100644
index 000000000000..980ef5721e05
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/benchmark/benchmark.js
@@ -0,0 +1,120 @@
+/**
+* @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 bernoulli = require( '@stdlib/random/array/bernoulli' );
+var uniform = require( '@stdlib/random/array/uniform' );
+var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+var Complex128Vector = require( '@stdlib/ndarray/vector/complex128' );
+var zeros = require( '@stdlib/ndarray/zeros' );
+var pow = require( '@stdlib/math/base/special/pow' );
+var format = require( '@stdlib/string/format' );
+var pkg = require( './../package.json' ).name;
+var zwhere = require( './../lib' );
+
+
+// VARIABLES //
+
+var options = {
+ 'dtype': 'float64'
+};
+
+
+// FUNCTIONS //
+
+/**
+* Creates a benchmark function.
+*
+* @private
+* @param {PositiveInteger} len - ndarray length
+* @returns {Function} benchmark function
+*/
+function createBenchmark( len ) {
+ var condition;
+ var cbuf;
+ var out;
+ var x;
+ var y;
+
+ cbuf = bernoulli( len, 0.5, {
+ 'dtype': 'uint8'
+ });
+ condition = new BooleanVector( cbuf.buffer );
+ x = new Complex128Vector( uniform( len*2, -100.0, 100.0, options ) );
+ y = new Complex128Vector( uniform( len*2, -100.0, 100.0, options ) );
+ out = zeros( [ len ], {
+ 'dtype': 'complex128'
+ });
+ return benchmark;
+
+ /**
+ * Benchmark function.
+ *
+ * @private
+ * @param {Benchmark} b - benchmark instance
+ */
+ function benchmark( b ) {
+ var v;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = zwhere( [ condition, x, y, out ] );
+ if ( typeof v !== 'object' ) {
+ b.fail( 'should return an ndarray' );
+ }
+ }
+ b.toc();
+ if ( typeof v !== 'object' ) {
+ b.fail( 'should return an ndarray' );
+ }
+ 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/ext/base/ndarray/zwhere/docs/repl.txt b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/docs/repl.txt
new file mode 100644
index 000000000000..1e277ed53c5f
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/docs/repl.txt
@@ -0,0 +1,32 @@
+
+{{alias}}( arrays )
+ Takes elements from one of two one-dimensional double-precision complex
+ floating-point ndarrays depending on a condition.
+
+ Parameters
+ ----------
+ arrays: ArrayLikeObject
+ Array-like object containing the following ndarrays:
+
+ - a one-dimensional condition ndarray.
+ - first one-dimensional input ndarray.
+ - second one-dimensional input ndarray.
+ - a one-dimensional output ndarray.
+
+ Returns
+ -------
+ out: ndarray
+ Output ndarray.
+
+ Examples
+ --------
+ > var c = new {{alias:@stdlib/ndarray/vector/bool}}( [ true, false ] );
+ > var x = new {{alias:@stdlib/ndarray/vector/complex128}}( [ 1.0, -1.0, 2.0, -2.0 ] );
+ > var y = new {{alias:@stdlib/ndarray/vector/complex128}}( [ 3.0, -3.0, 4.0, -4.0 ] );
+ > var out = new {{alias:@stdlib/ndarray/vector/complex128}}( 2 );
+ > {{alias}}( [ c, x, y, out ] )
+ [ [ 1.0, -1.0 ], [ 4.0, -4.0 ] ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/docs/types/index.d.ts
new file mode 100644
index 000000000000..cdb659da11bc
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/docs/types/index.d.ts
@@ -0,0 +1,57 @@
+/*
+* @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 { complex128ndarray, boolndarray } from '@stdlib/types/ndarray';
+
+/**
+* Takes elements from one of two one-dimensional double-precision complex floating-point ndarrays depending on a condition.
+*
+* ## Notes
+*
+* - The function expects the following ndarrays:
+*
+* - a one-dimensional condition ndarray.
+* - first one-dimensional input ndarray.
+* - second one-dimensional input ndarray.
+* - a one-dimensional output ndarray.
+*
+* @param arrays - array-like object containing ndarrays
+* @returns output ndarray
+*
+* @example
+* var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+* var Complex128Vector = require( '@stdlib/ndarray/vector/complex128' );
+*
+* var condition = new BooleanVector( [ true, false, true ] );
+* var x = new Complex128Vector( [ 1.0, -1.0, 2.0, -2.0, 3.0, -3.0 ] );
+* var y = new Complex128Vector( [ 4.0, -4.0, 5.0, -5.0, 6.0, -6.0 ] );
+* var out = new Complex128Vector( 3 );
+*
+* var v = zwhere( [ condition, x, y, out ] );
+* // returns [ [ 1.0, -1.0 ], [ 5.0, -5.0 ], [ 3.0, -3.0 ] ]
+*/
+declare function zwhere( arrays: [ boolndarray, complex128ndarray, complex128ndarray, complex128ndarray ] ): complex128ndarray;
+
+
+// EXPORTS //
+
+export = zwhere;
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/docs/types/test.ts b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/docs/types/test.ts
new file mode 100644
index 000000000000..c2caa6d4e127
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/docs/types/test.ts
@@ -0,0 +1,72 @@
+/**
+* @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.
+*/
+
+/* eslint-disable space-in-parens */
+
+import zeros = require( '@stdlib/ndarray/zeros' );
+import BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+import zwhere = require( './index' );
+
+
+// TESTS //
+
+// The function returns an ndarray...
+{
+ const condition = new BooleanVector( 10 );
+ const x = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+ });
+ const y = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+ });
+ const out = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+ });
+
+ zwhere( [ condition, x, y, out ] ); // $ExpectType complex128ndarray
+}
+
+// The compiler throws an error if the function is provided a first argument which is not an array of ndarrays...
+{
+ zwhere( '10' ); // $ExpectError
+ zwhere( 5 ); // $ExpectError
+ zwhere( true ); // $ExpectError
+ zwhere( false ); // $ExpectError
+ zwhere( null ); // $ExpectError
+ zwhere( undefined ); // $ExpectError
+ zwhere( [] ); // $ExpectError
+ zwhere( {} ); // $ExpectError
+ zwhere( ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ const condition = new BooleanVector( 10 );
+ const x = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+ });
+ const y = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+ });
+ const out = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+ });
+
+ zwhere(); // $ExpectError
+ zwhere( [ condition, x, y, out ], {} ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/examples/index.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/examples/index.js
new file mode 100644
index 000000000000..57578baf3b6b
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/examples/index.js
@@ -0,0 +1,50 @@
+/**
+* @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 bernoulli = require( '@stdlib/random/array/bernoulli' );
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+var Complex128Vector = require( '@stdlib/ndarray/vector/complex128' );
+var zeros = require( '@stdlib/ndarray/zeros' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var zwhere = require( './../lib' );
+
+var opts = {
+ 'dtype': 'float64'
+};
+
+var cbuf = bernoulli( 10, 0.5, {
+ 'dtype': 'uint8'
+});
+var condition = new BooleanVector( cbuf.buffer );
+console.log( ndarray2array( condition ) );
+
+var x = new Complex128Vector( discreteUniform( 20, -100, 100, opts ) );
+console.log( ndarray2array( x ) );
+
+var y = new Complex128Vector( discreteUniform( 20, -100, 100, opts ) );
+console.log( ndarray2array( y ) );
+
+var out = zeros( [ 10 ], {
+ 'dtype': 'complex128'
+});
+
+zwhere( [ condition, x, y, out ] );
+console.log( ndarray2array( out ) );
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/lib/index.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/lib/index.js
new file mode 100644
index 000000000000..f264e8ae18c2
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/lib/index.js
@@ -0,0 +1,47 @@
+/**
+* @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';
+
+/**
+* Take elements from one of two one-dimensional double-precision complex floating-point ndarrays depending on a condition.
+*
+* @module @stdlib/blas/ext/base/ndarray/zwhere
+*
+* @example
+* var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+* var Complex128Vector = require( '@stdlib/ndarray/vector/complex128' );
+* var zwhere = require( '@stdlib/blas/ext/base/ndarray/zwhere' );
+*
+* var condition = new BooleanVector( [ true, false, true ] );
+* var x = new Complex128Vector( [ 1.0, -1.0, 2.0, -2.0, 3.0, -3.0 ] );
+* var y = new Complex128Vector( [ 4.0, -4.0, 5.0, -5.0, 6.0, -6.0 ] );
+* var out = new Complex128Vector( 3 );
+*
+* var v = zwhere( [ condition, x, y, out ] );
+* // returns [ [ 1.0, -1.0 ], [ 5.0, -5.0 ], [ 3.0, -3.0 ] ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/lib/main.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/lib/main.js
new file mode 100644
index 000000000000..410dfd1452b3
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/zwhere/lib/main.js
@@ -0,0 +1,76 @@
+/**
+* @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 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/zwhere' ).ndarray;
+
+
+// MAIN //
+
+/**
+* Takes elements from one of two one-dimensional double-precision complex floating-point ndarrays depending on a condition.
+*
+* ## Notes
+*
+* - The function expects the following ndarrays:
+*
+* - a one-dimensional condition ndarray.
+* - first one-dimensional input ndarray.
+* - second one-dimensional input ndarray.
+* - a one-dimensional output ndarray.
+*
+* @param {ArrayLikeObject