diff --git a/lib/node_modules/@stdlib/blas/base/ndarray/gswap/README.md b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/README.md
new file mode 100644
index 000000000000..7144d99b823f
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/README.md
@@ -0,0 +1,118 @@
+
+
+# gswap
+
+> Interchange two one-dimensional ndarrays.
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var gswap = require( '@stdlib/blas/base/ndarray/gswap' );
+```
+
+#### gswap( arrays )
+
+Interchanges two one-dimensional ndarrays.
+
+```javascript
+var vector = require( '@stdlib/ndarray/vector/ctor' );
+
+var x = vector( [ 1.0, 2.0, 3.0, 4.0, 5.0 ], 'generic' );
+var y = vector( [ 6.0, 7.0, 8.0, 9.0, 10.0 ], 'generic' );
+
+var z = gswap( [ x, y ] );
+// x => [ 6.0, 7.0, 8.0, 9.0, 10.0 ]
+// y => [ 1.0, 2.0, 3.0, 4.0, 5.0 ]
+
+var bool = ( z === y );
+// returns true
+```
+
+The function has the following parameters:
+
+- **arrays**: array-like object containing the following ndarrays:
+
+ - first one-dimensional input ndarray.
+ - second one-dimensional input ndarray.
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var discreteUniform = require( '@stdlib/random/discrete-uniform' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var gswap = require( '@stdlib/blas/base/ndarray/gswap' );
+
+var opts = {
+ 'dtype': 'generic'
+};
+
+var x = discreteUniform( [ 10 ], 0, 100, opts );
+console.log( ndarray2array( x ) );
+
+var y = discreteUniform( [ 10 ], 0, 100, opts );
+console.log( ndarray2array( y ) );
+
+var out = gswap( [ x, y ] );
+console.log( ndarray2array( x ) );
+console.log( ndarray2array( out ) );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/blas/base/ndarray/gswap/benchmark/benchmark.js b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/benchmark/benchmark.js
new file mode 100644
index 000000000000..184cae7aca03
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/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/uniform' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var pow = require( '@stdlib/math/base/special/pow' );
+var format = require( '@stdlib/string/format' );
+var pkg = require( './../package.json' ).name;
+var gswap = require( './../lib' );
+
+
+// VARIABLES //
+
+var options = {
+ 'dtype': 'generic'
+};
+
+
+// FUNCTIONS //
+
+/**
+* Creates a benchmark function.
+*
+* @private
+* @param {PositiveInteger} len - array length
+* @returns {Function} benchmark function
+*/
+function createBenchmark( len ) {
+ var x = uniform( [ len ], -100.0, 100.0, options );
+ var y = uniform( [ len ], -100.0, 100.0, options );
+ return benchmark;
+
+ /**
+ * Benchmark function.
+ *
+ * @private
+ * @param {Benchmark} b - benchmark instance
+ */
+ function benchmark( b ) {
+ var z;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ z = gswap( [ x, y ] );
+ if ( typeof z !== 'object' ) {
+ b.fail( 'should return an ndarray' );
+ }
+ }
+ b.toc();
+ if ( isnan( z.get( i%len ) ) ) {
+ 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/ndarray/gswap/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/docs/repl.txt
new file mode 100644
index 000000000000..8f467dfe674a
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/docs/repl.txt
@@ -0,0 +1,34 @@
+
+{{alias}}( arrays )
+ Interchanges two one-dimensional ndarrays.
+
+ If provided an empty input ndarray, the function returns the output ndarray
+ unchanged.
+
+ Parameters
+ ----------
+ arrays: ArrayLikeObject
+ Array-like object containing the following ndarrays:
+
+ - first one-dimensional input ndarray.
+ - second one-dimensional input ndarray.
+
+ Returns
+ -------
+ out: ndarray
+ The second input ndarray.
+
+ Examples
+ --------
+ > var x = {{alias:@stdlib/ndarray/vector/ctor}}( [ 4.0, 2.0, -3.0 ], 'generic' );
+ > var y = {{alias:@stdlib/ndarray/vector/ctor}}( [ 0.0, 0.0, 0.0 ], 'generic' );
+
+ > {{alias}}( [ x, y ] );
+ > x
+ [ 0.0, 0.0, 0.0 ]
+ > y
+ [ 4.0, 2.0, -3.0 ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/blas/base/ndarray/gswap/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/docs/types/index.d.ts
new file mode 100644
index 000000000000..2e5a75f0f09c
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/docs/types/index.d.ts
@@ -0,0 +1,56 @@
+/*
+* @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 { typedndarray } from '@stdlib/types/ndarray';
+
+/**
+* Interchanges two one-dimensional ndarrays.
+*
+* ## Notes
+*
+* - The function expects the following ndarrays:
+*
+* - first one-dimensional input ndarray.
+* - second one-dimensional input ndarray.
+*
+* @param arrays - array-like object containing ndarrays
+* @returns second input ndarray
+*
+* @example
+* var vector = require( '@stdlib/ndarray/vector/ctor' );
+*
+* var x = vector( [ 1.0, 2.0, 3.0, 4.0, 5.0 ], 'generic' );
+* var y = vector( [ 6.0, 7.0, 8.0, 9.0, 10.0 ], 'generic' );
+*
+* var z = gswap( [ x, y ] );
+* // x => [ 6.0, 7.0, 8.0, 9.0, 10.0 ]
+* // y => [ 1.0, 2.0, 3.0, 4.0, 5.0 ]
+*
+* var bool = ( z === y );
+* // returns true
+*/
+declare function gswap = typedndarray>( arrays: [ T, T ] ): T;
+
+
+// EXPORTS //
+
+export = gswap;
diff --git a/lib/node_modules/@stdlib/blas/base/ndarray/gswap/docs/types/test.ts b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/docs/types/test.ts
new file mode 100644
index 000000000000..8f749d6171af
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/docs/types/test.ts
@@ -0,0 +1,63 @@
+/*
+* @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 gswap = require( './index' );
+
+
+// TESTS //
+
+// The function returns an ndarray...
+{
+ const x = zeros( [ 10 ], {
+ 'dtype': 'generic'
+ });
+ const y = zeros( [ 10 ], {
+ 'dtype': 'generic'
+ });
+
+ gswap( [ x, y ] ); // $ExpectType genericndarray
+}
+
+// The compiler throws an error if the function is provided a first argument which is not an array of ndarrays...
+{
+ gswap( '10' ); // $ExpectError
+ gswap( 10 ); // $ExpectError
+ gswap( true ); // $ExpectError
+ gswap( false ); // $ExpectError
+ gswap( null ); // $ExpectError
+ gswap( undefined ); // $ExpectError
+ gswap( [] ); // $ExpectError
+ gswap( {} ); // $ExpectError
+ gswap( ( 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': 'generic'
+ });
+ const y = zeros( [ 10 ], {
+ 'dtype': 'generic'
+ });
+
+ gswap(); // $ExpectError
+ gswap( [ x, y ], {} ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/blas/base/ndarray/gswap/examples/index.js b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/examples/index.js
new file mode 100644
index 000000000000..9fbdbf0e8ce3
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/examples/index.js
@@ -0,0 +1,37 @@
+/**
+* @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/discrete-uniform' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var gswap = require( './../lib' );
+
+var opts = {
+ 'dtype': 'generic'
+};
+
+var x = discreteUniform( [ 10 ], 0, 100, opts );
+console.log( ndarray2array( x ) );
+
+var y = discreteUniform( [ 10 ], 0, 100, opts );
+console.log( ndarray2array( y ) );
+
+var out = gswap( [ x, y ] );
+console.log( ndarray2array( x ) );
+console.log( ndarray2array( out ) );
diff --git a/lib/node_modules/@stdlib/blas/base/ndarray/gswap/lib/index.js b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/lib/index.js
new file mode 100644
index 000000000000..b5aa92ee5103
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/lib/index.js
@@ -0,0 +1,48 @@
+/**
+* @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 interchange two one-dimensional ndarrays.
+*
+* @module @stdlib/blas/base/ndarray/gswap
+*
+* @example
+* var vector = require( '@stdlib/ndarray/vector/ctor' );
+* var gswap = require( '@stdlib/blas/base/ndarray/gswap' );
+*
+* var x = vector( [ 1.0, 2.0, 3.0, 4.0, 5.0 ], 'generic' );
+* var y = vector( [ 6.0, 7.0, 8.0, 9.0, 10.0 ], 'generic' );
+*
+* var z = gswap( [ x, y ] );
+* // x => [ 6.0, 7.0, 8.0, 9.0, 10.0 ]
+* // y => [ 1.0, 2.0, 3.0, 4.0, 5.0 ]
+*
+* var bool = ( z === y );
+* // returns true
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/blas/base/ndarray/gswap/lib/main.js b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/lib/main.js
new file mode 100644
index 000000000000..0cd1a1d1b471
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/ndarray/gswap/lib/main.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';
+
+// 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/base/gswap' ).ndarray;
+
+
+// MAIN //
+
+/**
+* Interchanges two one-dimensional ndarrays.
+*
+* ## Notes
+*
+* - The function expects the following ndarrays:
+*
+* - first one-dimensional input ndarray.
+* - second one-dimensional input ndarray.
+*
+* @param {ArrayLikeObject