From 68223de5a005d4faffc4f55a51a33d296c0eaf13 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Fri, 25 Sep 2026 02:24:40 +0000 Subject: [PATCH] feat: update `fft/base/fftpack/float64` TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../fftpack/float64/docs/types/index.d.ts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/float64/docs/types/index.d.ts b/lib/node_modules/@stdlib/fft/base/fftpack/float64/docs/types/index.d.ts index f955eb69877a..f59ffca2a5ff 100644 --- a/lib/node_modules/@stdlib/fft/base/fftpack/float64/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/fft/base/fftpack/float64/docs/types/index.d.ts @@ -22,6 +22,7 @@ import cffti = require( '@stdlib/fft/base/fftpack/float64/cffti' ); import decompose = require( '@stdlib/fft/base/fftpack/float64/decompose' ); +import rfftf = require( '@stdlib/fft/base/fftpack/float64/rfftf' ); import rffti = require( '@stdlib/fft/base/fftpack/float64/rffti' ); /** @@ -86,6 +87,34 @@ interface Namespace { */ decompose: typeof decompose; + /** + * Computes the forward discrete Fourier transform (DFT) of a real-valued double-precision floating-point sequence. + * + * @param N - length of the sequence to transform + * @param r - input array + * @param strideR - stride length for `r` + * @param offsetR - starting index for `r` + * @param w - workspace array containing pre-computed values + * @param strideW - stride length for `w` + * @param offsetW - starting index for `w` + * @returns input array + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * var rffti = require( '@stdlib/fft/base/fftpack/float64/rffti' ); + * + * var N = 4; + * + * var w = new Float64Array( ( 2*N ) + 34 ); + * rffti( N, w, 1, 0 ); + * + * var r = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); + * + * ns.rfftf( N, r, 1, 0, w, 1, 0 ); + * // r => [ 10.0, -2.0, 2.0, -2.0 ] + */ + rfftf: typeof rfftf; + /** * Initializes a double-precision floating-point workspace array for performing a real-valued Fourier transform. *