From 5ad62e1badce44cb2a748e335882c5d7596d7ec3 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Mon, 3 Aug 2026 03:12:54 +0000 Subject: [PATCH] feat: update `blas/ext/base` TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../blas/ext/base/docs/types/index.d.ts | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) 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 cdbb21200f59..06d656e90fc7 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 @@ -61,6 +61,7 @@ import dcartesianPower = require( '@stdlib/blas/ext/base/dcartesian-power' ); import dcartesianProduct = require( '@stdlib/blas/ext/base/dcartesian-product' ); import dcartesianSquare = require( '@stdlib/blas/ext/base/dcartesian-square' ); import dcircshift = require( '@stdlib/blas/ext/base/dcircshift' ); +import dcopyWithin = require( '@stdlib/blas/ext/base/dcopy-within' ); import dcuany = require( '@stdlib/blas/ext/base/dcuany' ); import dcuevery = require( '@stdlib/blas/ext/base/dcuevery' ); import dcunone = require( '@stdlib/blas/ext/base/dcunone' ); @@ -244,6 +245,7 @@ import gsumkbn = require( '@stdlib/blas/ext/base/gsumkbn' ); import gsumkbn2 = require( '@stdlib/blas/ext/base/gsumkbn2' ); import gsumors = require( '@stdlib/blas/ext/base/gsumors' ); import gsumpw = require( '@stdlib/blas/ext/base/gsumpw' ); +import gtril = require( '@stdlib/blas/ext/base/gtril' ); import gtriu = require( '@stdlib/blas/ext/base/gtriu' ); import gunitspace = require( '@stdlib/blas/ext/base/gunitspace' ); import gvander = require( '@stdlib/blas/ext/base/gvander' ); @@ -1757,6 +1759,43 @@ interface Namespace { */ dcircshift: typeof dcircshift; + /** + * Performs an in-place copy of elements within a double-precision floating-point strided array. + * + * ## Notes + * + * - If the `start` and `target` index ranges do not overlap, the `workspace` array is unused and thus ignored. + * + * @param N - number of indexed elements + * @param target - target index + * @param start - source start index (inclusive) + * @param end - source end index (exclusive) + * @param x - input array + * @param strideX - stride length for `x` + * @param workspace - workspace array + * @param strideW - stride length for `workspace` + * @returns `x` + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * + * var x = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] ); + * var w = new Float64Array( x.length ); + * + * ns.dcopyWithin( x.length, 3, 1, 4, x, 1, w, 1 ); + * // x => [ 1.0, 2.0, 3.0, 2.0, 3.0, 4.0 ] + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * + * var x = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] ); + * var w = new Float64Array( x.length ); + * + * ns.dcopyWithin.ndarray( x.length, 3, 1, 4, x, 1, 0, w, 1, 0 ); + * // x => [ 1.0, 2.0, 3.0, 2.0, 3.0, 4.0 ] + */ + dcopyWithin: typeof dcopyWithin; + /** * Cumulatively tests whether at least one element in a double-precision floating-point strided array is truthy. * @@ -7093,6 +7132,35 @@ interface Namespace { */ gsumpw: typeof gsumpw; + /** + * Copies the lower triangular part of a matrix `A` to another matrix `B`. + * + * @param order - storage layout of `A` and `B` + * @param M - number of rows in matrix `A` + * @param N - number of columns in matrix `A` + * @param k - diagonal above which to ignore + * @param A - input matrix + * @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`) + * @param B - output matrix + * @param LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`) + * @returns `B` + * + * @example + * var A = [ 1.0, 2.0, 3.0, 4.0 ]; + * var B = [ 0.0, 0.0, 0.0, 0.0 ]; + * + * ns.gtril( 'row-major', 2, 2, 0, A, 2, B, 2 ); + * // B => [ 1.0, 0.0, 3.0, 4.0 ] + * + * @example + * var A = [ 1.0, 2.0, 3.0, 4.0 ]; + * var B = [ 0.0, 0.0, 0.0, 0.0 ]; + * + * ns.gtril.ndarray( 2, 2, 0, A, 2, 1, 0, B, 2, 1, 0 ); + * // B => [ 1.0, 0.0, 3.0, 4.0 ] + */ + gtril: typeof gtril; + /** * Copies the upper triangular part of a matrix `A` to another matrix `B`. *