Skip to content

Commit e8606d9

Browse files
committed
chore: clean-up
--- 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: passed - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 75101f6 commit e8606d9

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

lib/node_modules/@stdlib/blas/base/dtrsm/docs/repl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
either 'row-major' or 'column-major'.
2020

2121
side: string
22-
Specifies whether `op( A )` multiplies `B` from the left or right.
22+
Specifies whether `op( A )` appears on the left or right of `X`.
2323

2424
uplo: string
2525
Specifies whether `A` is an upper or lower triangular matrix.
2626

2727
transa: string
28-
Specifies whether `A` should be transposed, conjugate-transposed, or
29-
not transposed.
28+
Specifies whether `op( A )` should be transposed, conjugate-transposed,
29+
or not transposed.
3030

3131
diag: string
3232
Specifies whether `A` has a unit diagonal.
@@ -86,14 +86,14 @@
8686
Parameters
8787
----------
8888
side: string
89-
Specifies whether `op( A )` multiplies `B` from the left or right.
89+
Specifies whether `op( A )` appears on the left or right of `X`.
9090

9191
uplo: string
9292
Specifies whether `A` is an upper or lower triangular matrix.
9393

9494
transa: string
95-
Specifies whether `A` should be transposed, conjugate-transposed, or
96-
not transposed.
95+
Specifies whether `op( A )` should be transposed, conjugate-transposed,
96+
or not transposed.
9797

9898
diag: string
9999
Specifies whether `A` has a unit diagonal.

lib/node_modules/@stdlib/blas/base/dtrsm/docs/types/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ interface Routine {
3232
* @param order - storage layout of `A` and `B`
3333
* @param side - specifies whether `op( A )` appears on the left or right of `X`
3434
* @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied
35-
* @param transa - specifies the form of `op( A )` to be used in matrix multiplication
35+
* @param transa - specifies whether `op( A )` should be transposed, conjugate-transposed, or not transposed
3636
* @param diag - specifies whether or not `A` is unit triangular
3737
* @param M - number of rows in `B`
3838
* @param N - number of columns in `B`
@@ -59,7 +59,7 @@ interface Routine {
5959
*
6060
* @param side - specifies whether `op( A )` appears on the left or right of `X`
6161
* @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied
62-
* @param transa - specifies the form of `op( A )` to be used in matrix multiplication
62+
* @param transa - specifies whether `op( A )` should be transposed, conjugate-transposed, or not transposed
6363
* @param diag - specifies whether or not `A` is unit triangular
6464
* @param M - number of rows in `B`
6565
* @param N - number of columns in `B`
@@ -80,7 +80,7 @@ interface Routine {
8080
* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
8181
* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
8282
*
83-
* dtrsm.ndarray( left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
83+
* dtrsm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
8484
* // B => <Float64Array>[ 1.0, 2.0, 3.0, 2.0, 1.0, 0.0, -7.0, -5.0, -3.0 ]`
8585
*/
8686
ndarray( side: OperationSide, uplo: MatrixTriangle, transa: TransposeOperation, diag: DiagonalType, M: number, N: number, alpha: number, A: Float64Array, strideA1: number, strideA2: number, offsetA: number, B: Float64Array, strideB1: number, strideB2: number, offsetB: number ): Float64Array;
@@ -92,7 +92,7 @@ interface Routine {
9292
* @param order - storage layout of `A` and `B`
9393
* @param side - specifies whether `op( A )` appears on the left or right of `X`
9494
* @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied
95-
* @param transa - specifies the form of `op( A )` to be used in matrix multiplication
95+
* @param transa - specifies whether `op( A )` should be transposed, conjugate-transposed, or not transposed
9696
* @param diag - specifies whether or not `A` is unit triangular
9797
* @param M - number of rows in `B`
9898
* @param N - number of columns in `B`
@@ -118,7 +118,7 @@ interface Routine {
118118
* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
119119
* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
120120
*
121-
* dtrsm.ndarray( left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
121+
* dtrsm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
122122
* // B => <Float64Array>[ 1.0, 2.0, 3.0, 2.0, 1.0, 0.0, -7.0, -5.0, -3.0 ]
123123
*/
124124
declare var dtrsm: Routine;

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function zeros( M, N, X, strideX1, strideX2, offsetX ) { // TODO: consider movin
9797
* @private
9898
* @param {string} side - specifies whether `op( A )` appears on the left or right of `X`
9999
* @param {string} uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied
100-
* @param {string} transa - specifies the form of `op( A )` to be used in matrix multiplication
100+
* @param {string} transa - specifies whether `op( A )` should be transposed, conjugate-transposed, or not transposed
101101
* @param {string} diag - specifies whether or not `A` is unit triangular
102102
* @param {NonNegativeInteger} M - number of rows in `B`
103103
* @param {NonNegativeInteger} N - number of columns in `B`
@@ -118,7 +118,7 @@ function zeros( M, N, X, strideX1, strideX2, offsetX ) { // TODO: consider movin
118118
* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
119119
* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
120120
*
121-
* dtrsm( left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
121+
* dtrsm( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
122122
* // B => <Float64Array>[ 1.0, 2.0, 3.0, 2.0, 1.0, 0.0, -7.0, -5.0, -3.0 ]
123123
*/
124124
function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB ) { // eslint-disable-line max-params
@@ -172,7 +172,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
172172
tmp = 1.0 / A[ oa2 ];
173173
for ( i = 0; i < M; i++ ) {
174174
ob2 = offsetB + ( i * sb0 ) + ( k * sb1 );
175-
B[ ob2 ] = B[ ob2 ] * tmp;
175+
B[ ob2 ] *= tmp;
176176
}
177177
}
178178
for ( j = 0; j < k; j++ ) {
@@ -187,7 +187,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
187187
if ( alpha !== 1.0 ) {
188188
for ( i = 0; i < M; i++ ) {
189189
ob2 = offsetB + ( i * sb0 ) + ( k * sb1 );
190-
B[ ob2 ] = B[ ob2 ] * alpha;
190+
B[ ob2 ] *= alpha;
191191
}
192192
}
193193
}
@@ -209,7 +209,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
209209
ob2 = ob + ( k * sb1 );
210210
if ( B[ ob2 ] !== 0.0 ) {
211211
if ( nonunit ) {
212-
B[ ob2 ] = B[ ob2 ] / A[ oa2 ];
212+
B[ ob2 ] /= A[ oa2 ];
213213
}
214214
for ( i = k + 1; i < M; i++ ) {
215215
oa2 = offsetA + ( i * sa1 ) + ( k * sa0 );
@@ -228,7 +228,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
228228
for ( i = 0; i < M; i++ ) {
229229
ob2 = offsetB + ( i * sb0 ) + ( j * sb1 );
230230
if ( alpha !== 1.0 ) {
231-
B[ ob2 ] = B[ ob2 ] * alpha;
231+
B[ ob2 ] *= alpha;
232232
}
233233
}
234234
for ( k = 0; k < j; k++ ) {
@@ -245,7 +245,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
245245
tmp = 1.0 / A[ oa2 ];
246246
for ( i = 0; i < M; i++ ) {
247247
ob2 = offsetB + ( i * sb0 ) + ( j * sb1 );
248-
B[ ob2 ] = B[ ob2 ] * tmp;
248+
B[ ob2 ] *= tmp;
249249
}
250250
}
251251
}
@@ -270,7 +270,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
270270
}
271271
if ( nonunit ) {
272272
oa2 = offsetA + ( i * sa0 ) + ( i * sa1 );
273-
B[ ob2 ] = B[ ob2 ] / A[ oa2 ];
273+
B[ ob2 ] /= A[ oa2 ];
274274
}
275275
B[ ob + ( i * sb1 ) ] = B[ ob2 ];
276276
}
@@ -291,7 +291,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
291291
tmp -= A[ oa + ( i * sa0 ) ] * B[ ob + ( k * sb0 ) ];
292292
}
293293
if ( nonunit ) {
294-
tmp = tmp / A[ oa2 ];
294+
tmp /= A[ oa2 ];
295295
}
296296
B[ ob + ( i * sb0 ) ] = tmp;
297297
}
@@ -306,7 +306,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
306306
for ( i = 0; i < M; i++ ) {
307307
ob2 = offsetB + ( i * sb1 ) + ( j * sb0 );
308308
if ( alpha !== 1.0 ) {
309-
B[ ob2 ] = B[ ob2 ] * alpha;
309+
B[ ob2 ] *= alpha;
310310
}
311311
}
312312
for ( k = j + 1; k < N; k++ ) {
@@ -323,7 +323,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
323323
tmp = 1.0 / A[ oa2 ];
324324
for ( i = 0; i < M; i++ ) {
325325
ob2 = offsetB + ( i * sb1 ) + ( j * sb0 );
326-
B[ ob2 ] = B[ ob2 ] * tmp;
326+
B[ ob2 ] *= tmp;
327327
}
328328
}
329329
}
@@ -345,7 +345,7 @@ function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
345345
ob2 = ob + ( k * sb0 );
346346
if ( B[ ob2 ] !== 0.0 ) {
347347
if ( nonunit ) {
348-
B[ ob2 ] = B[ ob2 ] / A[ oa2 ];
348+
B[ ob2 ] /= A[ oa2 ];
349349
}
350350
for ( i= 0; i < k; i++ ) {
351351
oa = offsetA + ( i * sa1 ) + ( k * sa0 );

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var base = require( './base.js' );
4040
* @param {string} order - storage layout of `A` and `B`
4141
* @param {string} side - specifies whether `op( A )` appears on the left or right of `X`
4242
* @param {string} uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied
43-
* @param {string} transa - specifies the form of `op( A )` to be used in matrix multiplication
43+
* @param {string} transa - specifies whether `op( A )` should be transposed, conjugate-transposed, or not transposed
4444
* @param {string} diag - specifies whether or not `A` is unit triangular
4545
* @param {NonNegativeInteger} M - number of rows in `B`
4646
* @param {NonNegativeInteger} N - number of columns in `B`

lib/node_modules/@stdlib/blas/base/dtrsm/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
4141
* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
4242
*
43-
* dtrsm.ndarray( left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
43+
* dtrsm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
4444
* // B => <Float64Array>[ 1.0, 2.0, 3.0, 2.0, 1.0, 0.0, -7.0, -5.0, -3.0 ]
4545
*/
4646

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var base = require( './base.js' );
3535
*
3636
* @param {string} side - specifies whether `op( A )` appears on the left or right of `X`
3737
* @param {string} uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied
38-
* @param {string} transa - specifies the form of `op( A )` to be used in matrix multiplication
38+
* @param {string} transa - specifies whether `op( A )` should be transposed, conjugate-transposed, or not transposed
3939
* @param {string} diag - specifies whether or not `A` is unit triangular
4040
* @param {NonNegativeInteger} M - number of rows in `B`
4141
* @param {NonNegativeInteger} N - number of columns in `B`
@@ -64,7 +64,7 @@ var base = require( './base.js' );
6464
* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
6565
* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
6666
*
67-
* dtrsm( left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
67+
* dtrsm( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
6868
* // B => <Float64Array>[ 1.0, 2.0, 3.0, 2.0, 1.0, 0.0, -7.0, -5.0, -3.0 ]
6969
*/
7070
function dtrsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB ) { // eslint-disable-line max-len, max-params

0 commit comments

Comments
 (0)