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 8a956d365347..1ad5464893d0 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 @@ -126,6 +126,7 @@ import dvander = require( '@stdlib/blas/ext/base/dvander' ); import dwapx = require( '@stdlib/blas/ext/base/dwapx' ); import dwhere = require( '@stdlib/blas/ext/base/dwhere' ); import dwxsa = require( '@stdlib/blas/ext/base/dwxsa' ); +import dxmy = require( '@stdlib/blas/ext/base/dxmy' ); import dxpy = require( '@stdlib/blas/ext/base/dxpy' ); import dxsa = require( '@stdlib/blas/ext/base/dxsa' ); import dxsy = require( '@stdlib/blas/ext/base/dxsy' ); @@ -170,6 +171,7 @@ import gindexOfTruthy = require( '@stdlib/blas/ext/base/gindex-of-truthy' ); import gjoin = require( '@stdlib/blas/ext/base/gjoin' ); import gjoinBetween = require( '@stdlib/blas/ext/base/gjoin-between' ); import glastIndexOf = require( '@stdlib/blas/ext/base/glast-index-of' ); +import glastIndexOfFalsy = require( '@stdlib/blas/ext/base/glast-index-of-falsy' ); import glastIndexOfRow = require( '@stdlib/blas/ext/base/glast-index-of-row' ); import glastIndexOfTruthy = require( '@stdlib/blas/ext/base/glast-index-of-truthy' ); import glinspace = require( '@stdlib/blas/ext/base/glinspace' ); @@ -288,6 +290,7 @@ import svander = require( '@stdlib/blas/ext/base/svander' ); import swapx = require( '@stdlib/blas/ext/base/swapx' ); import swhere = require( '@stdlib/blas/ext/base/swhere' ); import swxsa = require( '@stdlib/blas/ext/base/swxsa' ); +import sxmy = require( '@stdlib/blas/ext/base/sxmy' ); import sxpy = require( '@stdlib/blas/ext/base/sxpy' ); import sxsa = require( '@stdlib/blas/ext/base/sxsa' ); import sxsy = require( '@stdlib/blas/ext/base/sxsy' ); @@ -3646,6 +3649,36 @@ interface Namespace { */ dwxsa: typeof dwxsa; + /** + * Multiplies elements of a double-precision floating-point strided array `x` by the corresponding elements of a double-precision floating-point strided array `y` and assigns the results to `y`. + * + * @param N - number of indexed elements + * @param x - input array + * @param strideX - `x` stride length + * @param y - output array + * @param strideY - `y` stride length + * @returns output array + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * + * var x = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] ); + * var y = new Float64Array( [ 2.0, 3.0, 4.0, 5.0, 6.0 ] ); + * + * ns.dxmy( x.length, x, 1, y, 1 ); + * // y => [ 2.0, 6.0, 12.0, 20.0, 30.0 ] + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * + * var x = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] ); + * var y = new Float64Array( [ 2.0, 3.0, 4.0, 5.0, 6.0 ] ); + * + * ns.dxmy.ndarray( x.length, x, 1, 0, y, 1, 0 ); + * // y => [ 2.0, 6.0, 12.0, 20.0, 30.0 ] + */ + dxmy: typeof dxmy; + /** * Adds elements of a double-precision floating-point strided array `x` to the corresponding elements of a double-precision floating-point strided array `y` and assigns the results to `y`. * @@ -4876,6 +4909,32 @@ interface Namespace { */ glastIndexOf: typeof glastIndexOf; + /** + * Returns the index of the last falsy element in a strided array. + * + * ## Notes + * + * - If unable to find a falsy element, the function returns `-1`. + * + * @param N - number of indexed elements + * @param x - input array + * @param strideX - stride length + * @returns index + * + * @example + * var x = [ 0.0, 2.0, 0.0, 1.0 ]; + * + * var idx = ns.glastIndexOfFalsy( x.length, x, 1 ); + * // returns 2 + * + * @example + * var x = [ 0.0, 2.0, 0.0, 1.0 ]; + * + * var idx = ns.glastIndexOfFalsy.ndarray( x.length, x, 1, 0 ); + * // returns 2 + */ + glastIndexOfFalsy: typeof glastIndexOfFalsy; + /** * Returns the index of the last row in an input matrix which has the same elements as a provided search vector. * @@ -8286,6 +8345,36 @@ interface Namespace { */ swxsa: typeof swxsa; + /** + * Multiplies elements of a single-precision floating-point strided array `x` by the corresponding elements of a single-precision floating-point strided array `y` and assigns the results to `y`. + * + * @param N - number of indexed elements + * @param x - input array + * @param strideX - `x` stride length + * @param y - output array + * @param strideY - `y` stride length + * @returns output array + * + * @example + * var Float32Array = require( '@stdlib/array/float32' ); + * + * var x = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] ); + * var y = new Float32Array( [ 2.0, 3.0, 4.0, 5.0, 6.0 ] ); + * + * ns.sxmy( x.length, x, 1, y, 1 ); + * // y => [ 2.0, 6.0, 12.0, 20.0, 30.0 ] + * + * @example + * var Float32Array = require( '@stdlib/array/float32' ); + * + * var x = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] ); + * var y = new Float32Array( [ 2.0, 3.0, 4.0, 5.0, 6.0 ] ); + * + * ns.sxmy.ndarray( x.length, x, 1, 0, y, 1, 0 ); + * // y => [ 2.0, 6.0, 12.0, 20.0, 30.0 ] + */ + sxmy: typeof sxmy; + /** * Adds elements of a single-precision floating-point strided array `x` to the corresponding elements of a single-precision floating-point strided array `y` and assigns the results to `y`. *