diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/README.md b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/README.md
new file mode 100644
index 000000000000..96ed983e7c71
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/README.md
@@ -0,0 +1,128 @@
+
+
+# dwhere
+
+> Take elements from one of two one-dimensional double-precision floating-point ndarrays depending on a condition.
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var dwhere = require( '@stdlib/blas/ext/base/ndarray/dwhere' );
+```
+
+#### dwhere( arrays )
+
+Takes elements from one of two one-dimensional double-precision floating-point ndarrays depending on a condition.
+
+```javascript
+var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+var Float64Vector = require( '@stdlib/ndarray/vector/float64' );
+
+var condition = new BooleanVector( [ true, false, true, false, true ] );
+var x = new Float64Vector( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
+var y = new Float64Vector( [ 6.0, 7.0, 8.0, 9.0, 10.0 ] );
+var out = new Float64Vector( 5 );
+
+dwhere( [ condition, x, y, out ] );
+// out => [ 1.0, 7.0, 3.0, 9.0, 5.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/discrete-uniform' );
+var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var dwhere = require( '@stdlib/blas/ext/base/ndarray/dwhere' );
+
+var opts = {
+ 'dtype': 'float64'
+};
+
+var cbuf = bernoulli( 10, 0.5, {
+ 'dtype': 'uint8'
+});
+var condition = new BooleanVector( cbuf.buffer );
+console.log( ndarray2array( condition ) );
+
+var x = discreteUniform( [ 10 ], -100, 100, opts );
+console.log( ndarray2array( x ) );
+
+var y = discreteUniform( [ 10 ], -100, 100, opts );
+console.log( ndarray2array( y ) );
+
+var out = discreteUniform( [ 10 ], -100, 100, opts );
+
+dwhere( [ condition, x, y, out ] );
+console.log( ndarray2array( out ) );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/benchmark/benchmark.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/benchmark/benchmark.js
new file mode 100644
index 000000000000..8cdf2d004331
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/benchmark/benchmark.js
@@ -0,0 +1,116 @@
+/**
+* @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/uniform' );
+var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+var pow = require( '@stdlib/math/base/special/pow' );
+var format = require( '@stdlib/string/format' );
+var pkg = require( './../package.json' ).name;
+var dwhere = 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 );
+ out = uniform( [ len ], -100.0, 100.0, options );
+ x = uniform( [ len ], -100.0, 100.0, options );
+ y = uniform( [ len ], -100.0, 100.0, options );
+ 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 = dwhere( [ 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/dwhere/docs/repl.txt b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/docs/repl.txt
new file mode 100644
index 000000000000..4c5d6d2ab42a
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/docs/repl.txt
@@ -0,0 +1,32 @@
+
+{{alias}}( arrays )
+ Takes elements from one of two one-dimensional double-precision 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, true, false ] );
+ > var x = new {{alias:@stdlib/ndarray/vector/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] );
+ > var y = new {{alias:@stdlib/ndarray/vector/float64}}( [ 5.0, 6.0, 7.0, 8.0 ] );
+ > var out = new {{alias:@stdlib/ndarray/vector/float64}}( 4 );
+ > {{alias}}( [ c, x, y, out ] )
+ [ 1.0, 6.0, 3.0, 8.0 ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/docs/types/index.d.ts
new file mode 100644
index 000000000000..4ab9c4657f33
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/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 { float64ndarray, boolndarray } from '@stdlib/types/ndarray';
+
+/**
+* Takes elements from one of two one-dimensional double-precision 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 Float64Vector = require( '@stdlib/ndarray/vector/float64' );
+*
+* var condition = new BooleanVector( [ true, false, true, false, true ] );
+* var x = new Float64Vector( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
+* var y = new Float64Vector( [ 6.0, 7.0, 8.0, 9.0, 10.0 ] );
+* var out = new Float64Vector( 5 );
+*
+* var v = dwhere( [ condition, x, y, out ] );
+* // returns [ 1.0, 7.0, 3.0, 9.0, 5.0 ]
+*/
+declare function dwhere( arrays: [ boolndarray, float64ndarray, float64ndarray, float64ndarray ] ): float64ndarray;
+
+
+// EXPORTS //
+
+export = dwhere;
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/docs/types/test.ts b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/docs/types/test.ts
new file mode 100644
index 000000000000..eb3bae908ccc
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/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 dwhere = require( './index' );
+
+
+// TESTS //
+
+// The function returns an ndarray...
+{
+ const condition = new BooleanVector( 10 );
+ const x = zeros( [ 10 ], {
+ 'dtype': 'float64'
+ });
+ const y = zeros( [ 10 ], {
+ 'dtype': 'float64'
+ });
+ const out = zeros( [ 10 ], {
+ 'dtype': 'float64'
+ });
+
+ dwhere( [ condition, x, y, out ] ); // $ExpectType float64ndarray
+}
+
+// The compiler throws an error if the function is provided a first argument which is not an array of ndarrays...
+{
+ dwhere( '10' ); // $ExpectError
+ dwhere( 5 ); // $ExpectError
+ dwhere( true ); // $ExpectError
+ dwhere( false ); // $ExpectError
+ dwhere( null ); // $ExpectError
+ dwhere( undefined ); // $ExpectError
+ dwhere( [] ); // $ExpectError
+ dwhere( {} ); // $ExpectError
+ dwhere( ( 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': 'float64'
+ });
+ const y = zeros( [ 10 ], {
+ 'dtype': 'float64'
+ });
+ const out = zeros( [ 10 ], {
+ 'dtype': 'float64'
+ });
+
+ dwhere(); // $ExpectError
+ dwhere( [ condition, x, y, out ], {} ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/examples/index.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/examples/index.js
new file mode 100644
index 000000000000..0bcc5152a3fd
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/examples/index.js
@@ -0,0 +1,46 @@
+/**
+* @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/discrete-uniform' );
+var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var dwhere = 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 = discreteUniform( [ 10 ], -100, 100, opts );
+console.log( ndarray2array( x ) );
+
+var y = discreteUniform( [ 10 ], -100, 100, opts );
+console.log( ndarray2array( y ) );
+
+var out = discreteUniform( [ 10 ], -100, 100, opts );
+
+dwhere( [ condition, x, y, out ] );
+console.log( ndarray2array( out ) );
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/lib/index.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/lib/index.js
new file mode 100644
index 000000000000..cbece425eda9
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/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 floating-point ndarrays depending on a condition.
+*
+* @module @stdlib/blas/ext/base/ndarray/dwhere
+*
+* @example
+* var BooleanVector = require( '@stdlib/ndarray/vector/bool' );
+* var Float64Vector = require( '@stdlib/ndarray/vector/float64' );
+* var dwhere = require( '@stdlib/blas/ext/base/ndarray/dwhere' );
+*
+* var condition = new BooleanVector( [ true, false, true, false, true ] );
+* var x = new Float64Vector( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
+* var y = new Float64Vector( [ 6.0, 7.0, 8.0, 9.0, 10.0 ] );
+* var out = new Float64Vector( 5 );
+*
+* var v = dwhere( [ condition, x, y, out ] );
+* // returns [ 1.0, 7.0, 3.0, 9.0, 5.0 ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/lib/main.js b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/lib/main.js
new file mode 100644
index 000000000000..29976aa9cc24
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/ext/base/ndarray/dwhere/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/dwhere' ).ndarray;
+
+
+// MAIN //
+
+/**
+* Takes elements from one of two one-dimensional double-precision 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