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
70 changes: 70 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 @@ -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' );
Expand Down Expand Up @@ -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' );
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down