From cf70c538fe5c20c1adc1b4661398aaf9351225e8 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Sun, 23 Aug 2026 02:34:17 +0000 Subject: [PATCH] feat: update `blas/ext/base` TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../blas/ext/base/docs/types/index.d.ts | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/lib/node_modules/@stdlib/blas/ext/base/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/ext/base/docs/types/index.d.ts index ea7e371c08cb..0e8454b5f543 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/blas/ext/base/docs/types/index.d.ts @@ -198,6 +198,8 @@ import gevery = require( '@stdlib/blas/ext/base/gevery' ); import gfill = require( '@stdlib/blas/ext/base/gfill' ); import gfillBy = require( '@stdlib/blas/ext/base/gfill-by' ); import gfillEqual = require( '@stdlib/blas/ext/base/gfill-equal' ); +import gfillGreaterThan = require( '@stdlib/blas/ext/base/gfill-greater-than' ); +import gfillGreaterThanEqual = require( '@stdlib/blas/ext/base/gfill-greater-than-equal' ); import gfillLessThan = require( '@stdlib/blas/ext/base/gfill-less-than' ); import gfillNaN = require( '@stdlib/blas/ext/base/gfill-nan' ); import gfillNotEqual = require( '@stdlib/blas/ext/base/gfill-not-equal' ); @@ -5908,6 +5910,54 @@ interface Namespace { */ gfillEqual: typeof gfillEqual; + /** + * Replaces strided array elements greater than a provided search element with a specified scalar constant. + * + * @param N - number of indexed elements + * @param searchElement - search element + * @param alpha - scalar constant + * @param x - input array + * @param strideX - stride length + * @returns `x` + * + * @example + * var x = [ 1.0, 1.0, 0.0, 1.0 ]; + * + * ns.gfillGreaterThan( x.length, 0.5, 5.0, x, 1 ); + * // x => [ 5.0, 5.0, 0.0, 5.0 ] + * + * @example + * var x = [ 1.0, 1.0, 0.0, 1.0 ]; + * + * ns.gfillGreaterThan.ndarray( x.length, 0.5, 5.0, x, 1, 0 ); + * // x => [ 5.0, 5.0, 0.0, 5.0 ] + */ + gfillGreaterThan: typeof gfillGreaterThan; + + /** + * Replaces strided array elements greater than or equal to a provided search element with a specified scalar constant. + * + * @param N - number of indexed elements + * @param searchElement - search element + * @param alpha - scalar constant + * @param x - input array + * @param strideX - stride length + * @returns `x` + * + * @example + * var x = [ 1.0, 1.0, 0.0, 1.0 ]; + * + * ns.gfillGreaterThanEqual( x.length, 1.0, 5.0, x, 1 ); + * // x => [ 5.0, 5.0, 0.0, 5.0 ] + * + * @example + * var x = [ 1.0, 1.0, 0.0, 1.0 ]; + * + * ns.gfillGreaterThanEqual.ndarray( x.length, 1.0, 5.0, x, 1, 0 ); + * // x => [ 5.0, 5.0, 0.0, 5.0 ] + */ + gfillGreaterThanEqual: typeof gfillGreaterThanEqual; + /** * Replaces strided array elements less than a provided search element with a specified scalar constant. *