Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions lib/node_modules/@stdlib/blas/ext/base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down Expand Up @@ -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.
*
Expand Down
Loading