From b645895e417821b37c9ae81fedccc235230c71ec Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Fri, 7 Aug 2026 03:07:55 +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 ccf15b9f14c0..0cd0790db31a 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 @@ -145,6 +145,7 @@ import dsumors = require( '@stdlib/blas/ext/base/dsumors' ); import dsumpw = require( '@stdlib/blas/ext/base/dsumpw' ); import dtril = require( '@stdlib/blas/ext/base/dtril' ); import dtriu = require( '@stdlib/blas/ext/base/dtriu' ); +import dtriu2tril = require( '@stdlib/blas/ext/base/dtriu2tril' ); import dunitspace = require( '@stdlib/blas/ext/base/dunitspace' ); import dvander = require( '@stdlib/blas/ext/base/dvander' ); import dwapx = require( '@stdlib/blas/ext/base/dwapx' ); @@ -347,6 +348,7 @@ import ssumors = require( '@stdlib/blas/ext/base/ssumors' ); import ssumpw = require( '@stdlib/blas/ext/base/ssumpw' ); import stril = require( '@stdlib/blas/ext/base/stril' ); import striu = require( '@stdlib/blas/ext/base/striu' ); +import striu2tril = require( '@stdlib/blas/ext/base/striu2tril' ); import sunitspace = require( '@stdlib/blas/ext/base/sunitspace' ); import svander = require( '@stdlib/blas/ext/base/svander' ); import swapx = require( '@stdlib/blas/ext/base/swapx' ); @@ -4361,6 +4363,39 @@ interface Namespace { */ dtriu: typeof dtriu; + /** + * Reflects the upper triangular part of a double-precision floating-point matrix `A` into the lower triangular part of 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 below 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 Float64Array = require( '@stdlib/array/float64' ); + * + * var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); + * var B = new Float64Array( [ 0.0, 0.0, 0.0, 0.0 ] ); + * + * ns.dtriu2tril( 'row-major', 2, 2, 0, A, 2, B, 2 ); + * // B => [ 1.0, 0.0, 2.0, 4.0 ] + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * + * var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); + * var B = new Float64Array( [ 0.0, 0.0, 0.0, 0.0 ] ); + * + * ns.dtriu2tril.ndarray( 2, 2, 0, A, 2, 1, 0, B, 2, 1, 0 ); + * // B => [ 1.0, 0.0, 2.0, 4.0 ] + */ + dtriu2tril: typeof dtriu2tril; + /** * Fills a double-precision floating-point strided array with linearly spaced numeric elements which increment by `1` starting from a specified value. * @@ -10205,6 +10240,39 @@ interface Namespace { */ striu: typeof striu; + /** + * Reflects the upper triangular part of a single-precision floating-point matrix `A` into the lower triangular part of 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 below 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 Float32Array = require( '@stdlib/array/float32' ); + * + * var A = new Float32Array( [ 1.0, 2.0, 3.0, 4.0 ] ); + * var B = new Float32Array( [ 0.0, 0.0, 0.0, 0.0 ] ); + * + * ns.striu2tril( 'row-major', 2, 2, 0, A, 2, B, 2 ); + * // B => [ 1.0, 0.0, 2.0, 4.0 ] + * + * @example + * var Float32Array = require( '@stdlib/array/float32' ); + * + * var A = new Float32Array( [ 1.0, 2.0, 3.0, 4.0 ] ); + * var B = new Float32Array( [ 0.0, 0.0, 0.0, 0.0 ] ); + * + * ns.striu2tril.ndarray( 2, 2, 0, A, 2, 1, 0, B, 2, 1, 0 ); + * // B => [ 1.0, 0.0, 2.0, 4.0 ] + */ + striu2tril: typeof striu2tril; + /** * Fills a single-precision floating-point strided array with linearly spaced numeric elements which increment by `1` starting from a specified value. *