From a2553ca336fa890666d960a9bcf441f88dafd5a0 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Sun, 27 Sep 2026 02:29:06 +0000 Subject: [PATCH] feat: update `fft/base/fftpack/ndarray/float64` TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../ndarray/float64/docs/types/index.d.ts | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/float64/docs/types/index.d.ts b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/float64/docs/types/index.d.ts index 8730f2055062..89847b883021 100644 --- a/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/float64/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/fft/base/fftpack/ndarray/float64/docs/types/index.d.ts @@ -20,12 +20,49 @@ /* eslint-disable max-lines */ +import rfftf = require( '@stdlib/fft/base/fftpack/ndarray/float64/rfftf' ); import rffti = require( '@stdlib/fft/base/fftpack/ndarray/float64/rffti' ); /** * Interface describing the `float64` namespace. */ interface Namespace { + /** + * Computes the forward discrete Fourier transform (DFT) of a real-valued one-dimensional double-precision floating-point ndarray. + * + * ## Notes + * + * - The function expects the following ndarrays: + * + * - a one-dimensional input ndarray. + * - a one-dimensional workspace ndarray containing pre-computed values. + * + * @param arrays - array-like object containing ndarrays + * @returns input ndarray + * + * @example + * var Float64Vector = require( '@stdlib/ndarray/vector/float64' ); + * var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' ); + * var rffti = require( '@stdlib/fft/base/fftpack/ndarray/float64/rffti' ); + * + * var N = 4; + * var len = scalar2ndarray( N, { + * 'dtype': 'int32' + * }); + * + * var w = new Float64Vector( ( 2*N ) + 34 ); + * rffti( [ w, len ] ); + * + * var r = new Float64Vector( [ 1.0, 2.0, 3.0, 4.0 ] ); + * + * var out = ns.rfftf( [ r, w ] ); + * // returns [ 10.0, -2.0, 2.0, -2.0 ] + * + * var bool = ( out === r ); + * // returns true + */ + rfftf: typeof rfftf; + /** * Initializes a workspace array for performing a real-valued Fourier transform on a one-dimensional double-precision floating-point ndarray. *