Skip to content

Commit 2a5bec4

Browse files
Shabareesh ShettyShabareesh Shetty
authored andcommitted
chore: update jsdoc
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 5636f41 commit 2a5bec4

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

lib/node_modules/@stdlib/blas/base/dtbmv/lib/dtbmv.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var base = require( './base.js' );
4444
* @param {Float64Array} A - input matrix
4545
* @param {integer} LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
4646
* @param {Float64Array} x - input vector
47-
* @param {integer} strideX - `x` stride length
47+
* @param {integer} strideX - stride length for `x`
4848
* @throws {TypeError} first argument must be a valid order
4949
* @throws {TypeError} second argument must specify whether a lower or upper triangular matrix is supplied
5050
* @throws {TypeError} third argument must be a valid transpose operation
@@ -85,13 +85,13 @@ function dtbmv( order, uplo, trans, diag, N, K, A, LDA, x, strideX ) {
8585
throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', N ) );
8686
}
8787
if ( K < 0 ) {
88-
throw new RangeError( format( 'invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.', K ) );
88+
throw new RangeError( format( 'invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.', K ) );
8989
}
9090
if ( LDA < max( 1, K + 1 ) ) {
91-
throw new RangeError( 'invalid argument. Seventh argument must be greater than or equal to ( K + 1 ). Value: `%d`.', LDA );
91+
throw new RangeError( 'invalid argument. Eighth argument must be greater than or equal to ( K + 1 ). Value: `%d`.', LDA );
9292
}
9393
if ( strideX === 0 ) {
94-
throw new RangeError( format( 'invalid argument. Ninth argument must be non-zero. Value: `%d`.', strideX ) );
94+
throw new RangeError( format( 'invalid argument. Tenth argument must be non-zero. Value: `%d`.', strideX ) );
9595
}
9696
if ( N === 0 ) {
9797
return x;

lib/node_modules/@stdlib/blas/base/dtbmv/lib/ndarray.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,15 @@ var base = require( './base.js' );
4242
* @param {integer} strideA2 - stride of the second dimension of `A`
4343
* @param {NonNegativeInteger} offsetA - starting index for `A`
4444
* @param {Float64Array} x - input vector
45-
* @param {integer} strideX - `x` stride length
45+
* @param {integer} strideX - stride length for `x`
4646
* @param {NonNegativeInteger} offsetX - starting index for `x`
4747
* @throws {TypeError} first argument must specify whether a lower or upper triangular matrix is supplied
4848
* @throws {TypeError} second argument must be a valid transpose operation
4949
* @throws {TypeError} third argument must be a valid diagonal type
5050
* @throws {RangeError} fourth argument must be a nonnegative integer
5151
* @throws {RangeError} fifth argument must be a nonnegative integer
52-
* @throws {RangeError} seventh argument must be non-zero
53-
* @throws {RangeError} eighth argument must be non-zero
54-
* @throws {RangeError} eleventh argument must be non-zero
52+
* @throws {RangeError} sixth argument must be non-zero
53+
* @throws {RangeError} tenth argument must be non-zero
5554
* @returns {Float64Array} `x`
5655
*
5756
* @example
@@ -77,16 +76,16 @@ function dtbmv( uplo, trans, diag, N, K, A, strideA1, strideA2, offsetA, x, stri
7776
throw new RangeError( format( 'invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.', N ) );
7877
}
7978
if ( K < 0 ) {
80-
throw new RangeError( format( 'invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.', K ) );
79+
throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', K ) );
8180
}
8281
if ( strideA1 === 0 ) {
83-
throw new RangeError( format( 'invalid argument. Sixth argument must be non-zero. Value: `%d`.', strideA1 ) );
82+
throw new RangeError( format( 'invalid argument. Seventh argument must be non-zero. Value: `%d`.', strideA1 ) );
8483
}
8584
if ( strideA2 === 0 ) {
86-
throw new RangeError( format( 'invalid argument. Seventh argument must be non-zero. Value: `%d`.', strideA2 ) );
85+
throw new RangeError( format( 'invalid argument. Eighth argument must be non-zero. Value: `%d`.', strideA2 ) );
8786
}
8887
if ( strideX === 0 ) {
89-
throw new RangeError( format( 'invalid argument. Tenth argument must be non-zero. Value: `%d`.', strideX ) );
88+
throw new RangeError( format( 'invalid argument. Eleventh argument must be non-zero. Value: `%d`.', strideX ) );
9089
}
9190
if ( N === 0 ) {
9291
return x;

0 commit comments

Comments
 (0)