From 02bed92af273e4157b611237a2f615b572d74e22 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Fri, 2 Oct 2026 02:27:20 +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 | 28 +++++++++++++++++++ 1 file changed, 28 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 9a75bd5a9bd7..6d890a9a5ab6 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 @@ -229,6 +229,7 @@ import gindexOfFalsy = require( '@stdlib/blas/ext/base/gindex-of-falsy' ); import gindexOfFalsyRow = require( '@stdlib/blas/ext/base/gindex-of-falsy-row' ); import gindexOfGreaterThan = require( '@stdlib/blas/ext/base/gindex-of-greater-than' ); import gindexOfGreaterThanEqual = require( '@stdlib/blas/ext/base/gindex-of-greater-than-equal' ); +import gindexOfGreaterThanEqualSorted = require( '@stdlib/blas/ext/base/gindex-of-greater-than-equal-sorted' ); import gindexOfGreaterThanSorted = require( '@stdlib/blas/ext/base/gindex-of-greater-than-sorted' ); import gindexOfLessThan = require( '@stdlib/blas/ext/base/gindex-of-less-than' ); import gindexOfLessThanEqual = require( '@stdlib/blas/ext/base/gindex-of-less-than-equal' ); @@ -6903,6 +6904,33 @@ interface Namespace { */ gindexOfGreaterThanEqual: typeof gindexOfGreaterThanEqual; + /** + * Returns the index of the first element in a sorted strided array which is greater than or equal to a specified search element. + * + * ## Notes + * + * - If the function is unable to find an element which is greater than or equal to a search element, the function returns `-1`. + * + * @param N - number of indexed elements + * @param searchElement - search element + * @param x - sorted input array + * @param strideX - stride length + * @returns index + * + * @example + * var x = [ 1.0, 2.0, 2.0, 3.0 ]; + * + * var idx = ns.gindexOfGreaterThanEqualSorted( x.length, 2.0, x, 1 ); + * // returns 1 + * + * @example + * var x = [ 1.0, 2.0, 2.0, 3.0 ]; + * + * var idx = ns.gindexOfGreaterThanEqualSorted.ndarray( x.length, 2.0, x, 1, 0 ); + * // returns 1 + */ + gindexOfGreaterThanEqualSorted: typeof gindexOfGreaterThanEqualSorted; + /** * Returns the index of the first element in a sorted strided array which is greater than a specified search element. *