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