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 e26ed7bf5698..d49b6065f62f 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 @@ -73,6 +73,7 @@ import dfillEqual = require( '@stdlib/blas/ext/base/dfill-equal' ); import dfillNaN = require( '@stdlib/blas/ext/base/dfill-nan' ); import dfillNotEqual = require( '@stdlib/blas/ext/base/dfill-not-equal' ); import dfirstIndexEqual = require( '@stdlib/blas/ext/base/dfirst-index-equal' ); +import dfirstIndexLessThan = require( '@stdlib/blas/ext/base/dfirst-index-less-than' ); import dindexOf = require( '@stdlib/blas/ext/base/dindex-of' ); import dindexOfColumn = require( '@stdlib/blas/ext/base/dindex-of-column' ); import dindexOfFalsy = require( '@stdlib/blas/ext/base/dindex-of-falsy' ); @@ -280,6 +281,7 @@ import sfillEqual = require( '@stdlib/blas/ext/base/sfill-equal' ); import sfillNaN = require( '@stdlib/blas/ext/base/sfill-nan' ); import sfillNotEqual = require( '@stdlib/blas/ext/base/sfill-not-equal' ); import sfirstIndexEqual = require( '@stdlib/blas/ext/base/sfirst-index-equal' ); +import sfirstIndexLessThan = require( '@stdlib/blas/ext/base/sfirst-index-less-than' ); import sindexOf = require( '@stdlib/blas/ext/base/sindex-of' ); import sindexOfColumn = require( '@stdlib/blas/ext/base/sindex-of-column' ); import sindexOfFalsy = require( '@stdlib/blas/ext/base/sindex-of-falsy' ); @@ -2081,6 +2083,40 @@ interface Namespace { */ dfirstIndexEqual: typeof dfirstIndexEqual; + /** + * Returns the index of the first element in a double-precision floating-point strided array which is less than a corresponding element in another double-precision floating-point strided array. + * + * ## Notes + * + * - If the function is unable to find an element in `x` which is less than a corresponding element in `y`, the function returns `-1`. + * + * @param N - number of indexed elements + * @param x - first input array + * @param strideX - stride length for `x` + * @param y - second input array + * @param strideY - stride length for `y` + * @returns index + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * + * var x = new Float64Array( [ 0.0, 0.0, 0.0, 0.0 ] ); + * var y = new Float64Array( [ 0.0, 0.0, 1.0, 0.0 ] ); + * + * var idx = ns.dfirstIndexLessThan( x.length, x, 1, y, 1 ); + * // returns 2 + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * + * var x = new Float64Array( [ 0.0, 0.0, 0.0, 0.0 ] ); + * var y = new Float64Array( [ 0.0, 0.0, 1.0, 0.0 ] ); + * + * var idx = ns.dfirstIndexLessThan.ndarray( x.length, x, 1, 0, y, 1, 0 ); + * // returns 2 + */ + dfirstIndexLessThan: typeof dfirstIndexLessThan; + /** * Returns the first index of a specified search element in a double-precision floating-point strided array. * @@ -7996,6 +8032,40 @@ interface Namespace { */ sfirstIndexEqual: typeof sfirstIndexEqual; + /** + * Returns the index of the first element in a single-precision floating-point strided array which is less than a corresponding element in another single-precision floating-point strided array. + * + * ## Notes + * + * - If the function is unable to find an element in `x` which is less than a corresponding element in `y`, the function returns `-1`. + * + * @param N - number of indexed elements + * @param x - first input array + * @param strideX - stride length for `x` + * @param y - second input array + * @param strideY - stride length for `y` + * @returns index + * + * @example + * var Float32Array = require( '@stdlib/array/float32' ); + * + * var x = new Float32Array( [ 0.0, 0.0, 0.0, 0.0 ] ); + * var y = new Float32Array( [ 0.0, 0.0, 1.0, 0.0 ] ); + * + * var idx = ns.sfirstIndexLessThan( x.length, x, 1, y, 1 ); + * // returns 2 + * + * @example + * var Float32Array = require( '@stdlib/array/float32' ); + * + * var x = new Float32Array( [ 0.0, 0.0, 0.0, 0.0 ] ); + * var y = new Float32Array( [ 0.0, 0.0, 1.0, 0.0 ] ); + * + * var idx = ns.sfirstIndexLessThan.ndarray( x.length, x, 1, 0, y, 1, 0 ); + * // returns 2 + */ + sfirstIndexLessThan: typeof sfirstIndexLessThan; + /** * Returns the first index of a specified search element in a single-precision floating-point strided array. *