diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/README.md b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/README.md
new file mode 100644
index 000000000000..7394e894e078
--- /dev/null
+++ b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/README.md
@@ -0,0 +1,135 @@
+
+
+# rffti
+
+> Initialize a workspace array for performing a real-valued Fourier transform on a one-dimensional ndarray.
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var rffti = require( '@stdlib/fft/base/fftpack/ndarray/rffti' );
+```
+
+#### rffti( arrays )
+
+Initializes a workspace array for performing a real-valued Fourier transform on a one-dimensional ndarray.
+
+```javascript
+var Float64Vector = require( '@stdlib/ndarray/vector/float64' );
+var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
+var Slice = require( '@stdlib/slice/ctor' );
+var slice = require( '@stdlib/ndarray/slice' );
+
+var N = 8;
+var len = scalar2ndarray( N, {
+ 'dtype': 'int32'
+});
+
+var workspace = new Float64Vector( ( 2*N ) + 34 );
+
+var out = rffti( [ len, workspace ] );
+// returns
+
+var bool = ( out === workspace );
+// returns true
+
+var twiddleFactors = slice( workspace, new Slice( N, 2*N ) );
+// returns [ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ]
+
+var factors = slice( workspace, new Slice( 2*N, ( 2*N ) + 4 ) );
+// returns [ 8, 2, 2, 4 ]
+```
+
+The function has the following parameters:
+
+- **arrays**: array-like object containing the following ndarrays:
+
+ - a zero-dimensional ndarray containing the length of the sequence to transform.
+ - a one-dimensional input ndarray.
+
+
+
+
+
+
+
+## Notes
+
+- If provided an empty one-dimensional input ndarray, the function returns the output ndarray unchanged.
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var Float64Vector = require( '@stdlib/ndarray/vector/float64' );
+var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var rffti = require( '@stdlib/fft/base/fftpack/ndarray/rffti' );
+
+var opts = {
+ 'dtype': 'int32'
+};
+
+var N = 8;
+
+var workspace = new Float64Vector( ( 2*N ) + 34 );
+console.log( ndarray2array( workspace ) );
+
+var len = scalar2ndarray( N, opts );
+
+var out = rffti( [ len, workspace ] );
+console.log( ndarray2array( out ) );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/benchmark/benchmark.js b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/benchmark/benchmark.js
new file mode 100644
index 000000000000..de088b0d6d40
--- /dev/null
+++ b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/benchmark/benchmark.js
@@ -0,0 +1,112 @@
+/**
+* @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 Float64Vector = require( '@stdlib/ndarray/vector/float64' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
+var format = require( '@stdlib/string/format' );
+var pkg = require( './../package.json' ).name;
+var rffti = require( './../lib' );
+
+
+// VARIABLES //
+
+var options = {
+ 'dtype': 'int32'
+};
+
+
+// FUNCTIONS //
+
+/**
+* Creates a benchmark function.
+*
+* @private
+* @param {PositiveInteger} N - sequence length
+* @returns {Function} benchmark function
+*/
+function createBenchmark( N ) {
+ var workspace = new Float64Vector( ( 2*N ) + 34 );
+ var len = scalar2ndarray( N, 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 = rffti( [ len, workspace ] );
+ if ( typeof v !== 'object' ) {
+ b.fail( 'should return an ndarray' );
+ }
+ }
+ b.toc();
+ if ( isnan( v.get( N ) ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+ }
+}
+
+
+// MAIN //
+
+/**
+* Main execution sequence.
+*
+* @private
+*/
+function main() {
+ var lengths;
+ var N;
+ var f;
+ var i;
+
+ lengths = [
+ 8,
+ 16,
+ 32,
+ 64,
+ 128,
+ 256,
+ 512,
+ 1024
+ ];
+
+ for ( i = 0; i < lengths.length; i++ ) {
+ N = lengths[ i ];
+ f = createBenchmark( N );
+ bench( format( '%s:N=%d', pkg, N ), f );
+ }
+}
+
+main();
diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/docs/repl.txt b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/docs/repl.txt
new file mode 100644
index 000000000000..dccdff0f39cd
--- /dev/null
+++ b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/docs/repl.txt
@@ -0,0 +1,39 @@
+
+{{alias}}( arrays )
+ Initializes a workspace array for performing a real-valued Fourier
+ transform on a one-dimensional ndarray.
+
+ If provided an empty input ndarray, the function returns the output ndarray
+ unchanged.
+
+ Parameters
+ ----------
+ arrays: ArrayLikeObject
+ Array-like object containing the following ndarrays:
+
+ - a zero-dimensional ndarray containing the length of the sequence to
+ transform.
+ - a one-dimensional input ndarray.
+
+ Returns
+ -------
+ out: ndarray
+ Output ndarray.
+
+ Examples
+ --------
+ > var N = 8;
+ > var workspace = new {{alias:@stdlib/ndarray/vector/float64}}( ( 2*N ) + 34 );
+ > var len = {{alias:@stdlib/ndarray/from-scalar}}( N, { 'dtype': 'int32' });
+ > var out = {{alias}}( [ len, workspace ] )
+
+ > var bool = ( out === workspace )
+ true
+ > var twiddleFactors = {{alias:@stdlib/ndarray/slice}}( workspace, new {{alias:@stdlib/slice/ctor}}( N, 2*N ) )
+ [ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ]
+ > var factors = {{alias:@stdlib/ndarray/slice}}( workspace, new {{alias:@stdlib/slice/ctor}}( 2*N, ( 2*N ) + 4 ) )
+ [ 8, 2, 2, 4 ]
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/docs/types/index.d.ts b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/docs/types/index.d.ts
new file mode 100644
index 000000000000..6b827dfea080
--- /dev/null
+++ b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/docs/types/index.d.ts
@@ -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.
+*/
+
+// TypeScript Version: 4.1
+
+///
+
+import { ndarray, float64ndarray } from '@stdlib/types/ndarray';
+
+/**
+* Initializes a workspace array for performing a real-valued Fourier transform on a one-dimensional ndarray.
+*
+* ## Notes
+*
+* - The function expects the following ndarrays:
+*
+* - a zero-dimensional ndarray containing the length of the sequence to transform.
+* - a one-dimensional input ndarray.
+*
+* @param arrays - array-like object containing ndarrays
+* @returns output ndarray
+*
+* @example
+* var Float64Vector = require( '@stdlib/ndarray/vector/float64' );
+* var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
+* var Slice = require( '@stdlib/slice/ctor' );
+* var slice = require( '@stdlib/ndarray/slice' );
+*
+* var N = 8;
+* var len = scalar2ndarray( N, {
+* 'dtype': 'int32'
+* });
+*
+* var workspace = new Float64Vector( ( 2*N ) + 34 );
+*
+* var out = rffti( [ len, workspace ] );
+* // returns
+*
+* var bool = ( out === workspace );
+* // returns true
+*
+* var twiddleFactors = slice( workspace, new Slice( N, 2*N ) );
+* // returns [ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ]
+*
+* var factors = slice( workspace, new Slice( 2*N, ( 2*N ) + 4 ) );
+* // returns [ 8, 2, 2, 4 ]
+*/
+declare function rffti( arrays: [ ndarray, float64ndarray ] ): float64ndarray;
+
+
+// EXPORTS //
+
+export = rffti;
diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/docs/types/test.ts b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/docs/types/test.ts
new file mode 100644
index 000000000000..cb5cba80f1b3
--- /dev/null
+++ b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/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 rffti = require( './index' );
+
+
+// TESTS //
+
+// The function returns an ndarray...
+{
+ const workspace = zeros( [ 10 ], {
+ 'dtype': 'float64'
+ });
+ const N = zeros( [], {
+ 'dtype': 'int32'
+ });
+
+ rffti( [ N, workspace ] ); // $ExpectType float64ndarray
+}
+
+// The compiler throws an error if the function is provided a first argument which is not an array of ndarrays...
+{
+ rffti( '10' ); // $ExpectError
+ rffti( 10 ); // $ExpectError
+ rffti( true ); // $ExpectError
+ rffti( false ); // $ExpectError
+ rffti( null ); // $ExpectError
+ rffti( undefined ); // $ExpectError
+ rffti( [] ); // $ExpectError
+ rffti( {} ); // $ExpectError
+ rffti( ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ const workspace = zeros( [ 10 ], {
+ 'dtype': 'float64'
+ });
+ const N = zeros( [], {
+ 'dtype': 'int32'
+ });
+
+ rffti(); // $ExpectError
+ rffti( [ N, workspace ], {} ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/examples/index.js b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/examples/index.js
new file mode 100644
index 000000000000..04270542fb5f
--- /dev/null
+++ b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/examples/index.js
@@ -0,0 +1,38 @@
+/**
+* @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 Float64Vector = require( '@stdlib/ndarray/vector/float64' );
+var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var rffti = require( './../lib' );
+
+var opts = {
+ 'dtype': 'int32'
+};
+
+var N = 8;
+
+var workspace = new Float64Vector( ( 2*N ) + 34 );
+console.log( ndarray2array( workspace ) );
+
+var len = scalar2ndarray( N, opts );
+
+var out = rffti( [ len, workspace ] );
+console.log( ndarray2array( out ) );
diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/lib/index.js b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/lib/index.js
new file mode 100644
index 000000000000..a211755d6c5c
--- /dev/null
+++ b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/lib/index.js
@@ -0,0 +1,60 @@
+/**
+* @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';
+
+/**
+* Initialize a workspace array for performing a real-valued Fourier transform on a one-dimensional ndarray.
+*
+* @module @stdlib/fft/base/fftpack/ndarray/rffti
+*
+* @example
+* var Float64Vector = require( '@stdlib/ndarray/vector/float64' );
+* var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
+* var Slice = require( '@stdlib/slice/ctor' );
+* var slice = require( '@stdlib/ndarray/slice' );
+* var rffti = require( '@stdlib/fft/base/fftpack/ndarray/rffti' );
+*
+* var N = 8;
+* var len = scalar2ndarray( N, {
+* 'dtype': 'int32'
+* });
+*
+* var workspace = new Float64Vector( ( 2*N ) + 34 );
+*
+* var out = rffti( [ len, workspace ] );
+* // returns
+*
+* var bool = ( out === workspace );
+* // returns true
+*
+* var twiddleFactors = slice( workspace, new Slice( N, 2*N ) );
+* // returns [ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ]
+*
+* var factors = slice( workspace, new Slice( 2*N, ( 2*N ) + 4 ) );
+* // returns [ 8, 2, 2, 4 ]
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/lib/main.js b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/lib/main.js
new file mode 100644
index 000000000000..43a4aabdc8a4
--- /dev/null
+++ b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/rffti/lib/main.js
@@ -0,0 +1,83 @@
+/**
+* @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 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/fft/base/fftpack/rffti' );
+var ndarraylike2scalar = require( '@stdlib/ndarray/base/ndarraylike2scalar' );
+
+
+// MAIN //
+
+/**
+* Initializes a workspace array for performing a real-valued Fourier transform on a one-dimensional ndarray.
+*
+* ## Notes
+*
+* - The function expects the following ndarrays:
+*
+* - a zero-dimensional ndarray containing the length of the sequence to transform.
+* - a one-dimensional input ndarray.
+*
+* @param {ArrayLikeObject