Skip to content

Commit 4af683b

Browse files
committed
chore: update docs and cleanup
--- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent a108554 commit 4af683b

File tree

5 files changed

+56
-56
lines changed

5 files changed

+56
-56
lines changed

lib/node_modules/@stdlib/lapack/base/dgtts2/docs/types/index.d.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ interface Routine {
3131
*
3232
* ## Notes
3333
*
34-
* - To solve A * X = B (no transpose), use itrans = 0.
35-
* - To solve AT * X = B (transpose), use itrans = 1.
36-
* - To solve AT * X = B (conjugate transpose = transpose), use itrans = 2.
34+
* - To solve `A * X = B` (no transpose), use `itrans` = 0.
35+
* - To solve `AT * X = B` (transpose), use `itrans` = 1.
36+
* - To solve `AT * X = B` (conjugate transpose = transpose), use `itrans` = 2.
3737
*
3838
* @param order - storage layout of B
3939
* @param itrans - specifies the form of the system of equations (0: no transpose, 1: transpose, 2: conjugate transpose)
@@ -69,9 +69,9 @@ interface Routine {
6969
*
7070
* ## Notes
7171
*
72-
* - To solve A * X = B (no transpose), use itrans = 0.
73-
* - To solve AT * X = B (transpose), use itrans = 1.
74-
* - To solve AT * X = B (conjugate transpose = transpose), use itrans = 2.
72+
* - To solve `A * X = B` (no transpose), use `itrans` = 0.
73+
* - To solve `AT * X = B` (transpose), use `itrans` = 1.
74+
* - To solve `AT * X = B` (conjugate transpose = transpose), use `itrans` = 2.
7575
*
7676
* @param itrans - specifies the form of the system of equations
7777
* @param N - order of the matrix A
@@ -119,9 +119,9 @@ interface Routine {
119119
*
120120
* ## Notes
121121
*
122-
* - To solve A * X = B (no transpose), use itrans = 0.
123-
* - To solve AT * X = B (transpose), use itrans = 1.
124-
* - To solve AT * X = B (conjugate transpose = transpose), use itrans = 2.
122+
* - To solve `A * X = B` (no transpose), use `itrans` = 0.
123+
* - To solve `AT * X = B` (transpose), use `itrans` = 1.
124+
* - To solve `AT * X = B` (conjugate transpose = transpose), use `itrans` = 2.
125125
*
126126
* @param order - storage layout of B
127127
* @param itrans - system equation form specification

lib/node_modules/@stdlib/lapack/base/dgtts2/lib/base.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,27 @@
2323
// FUNCTIONS //
2424

2525
/**
26-
* Solve AT * X = B using the LU factorization of A computed by `dgttrf`, overwriting B with the solution.
26+
* Solve `AT * X = B` using the LU factorization of A computed by `dgttrf`, overwriting B with the solution.
2727
*
2828
* @private
29-
* @param {NonNegativeInteger} N - order of the matrix A
30-
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix B
31-
* @param {Float64Array} DL - multipliers that define the matrix L
29+
* @param {NonNegativeInteger} N - order of the matrix `A`
30+
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix `B`
31+
* @param {Float64Array} DL - multipliers that define the matrix `L`
3232
* @param {integer} strideDL - stride length for DL
3333
* @param {NonNegativeInteger} offsetDL - starting index of DL
3434
* @param {Float64Array} D - N diagonal elements of the upper triangular matrix U
3535
* @param {integer} strideD - stride length for D
3636
* @param {NonNegativeInteger} offsetD - starting index of D
37-
* @param {Float64Array} DU - elements of the first super-diagonal of U
37+
* @param {Float64Array} DU - elements of the first super-diagonal of `U`
3838
* @param {integer} strideDU - stride length for DU
3939
* @param {NonNegativeInteger} offsetDU - starting index of DU
40-
* @param {Float64Array} DU2 - elements of the second super-diagonal of U
40+
* @param {Float64Array} DU2 - elements of the second super-diagonal of `U`
4141
* @param {integer} strideDU2 - stride length for DU2
4242
* @param {NonNegativeInteger} offsetDU2 - starting index of DU2
4343
* @param {Int32Array} IPIV - vector of pivot indices
4444
* @param {integer} strideIPIV - stride length for IPIV
4545
* @param {NonNegativeInteger} offsetIPIV - starting index for IPIV
46-
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix X
46+
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix `X`
4747
* @param {integer} strideB1 - stride of the first dimension of B
4848
* @param {integer} strideB2 - stride of the second dimension of B
4949
* @param {NonNegativeInteger} offsetB - starting index of B
@@ -165,27 +165,27 @@ function transpose( N, nrhs, DL, strideDL, offsetDL, D, strideD, offsetD, DU, st
165165
}
166166

167167
/**
168-
* Solve A * X = B using the LU factorization of A computed by `dgttrf`, overwriting B with the solution.
168+
* Solve `A * X = B` using the LU factorization of A computed by `dgttrf`, overwriting B with the solution.
169169
*
170170
* @private
171-
* @param {NonNegativeInteger} N - order of the matrix A
172-
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix B
173-
* @param {Float64Array} DL - multipliers that define the matrix L
171+
* @param {NonNegativeInteger} N - order of the matrix `A`
172+
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix `B`
173+
* @param {Float64Array} DL - multipliers that define the matrix `L`
174174
* @param {integer} strideDL - stride length for DL
175175
* @param {NonNegativeInteger} offsetDL - starting index of DL
176176
* @param {Float64Array} D - N diagonal elements of the upper triangular matrix U
177177
* @param {integer} strideD - stride length for D
178178
* @param {NonNegativeInteger} offsetD - starting index of D
179-
* @param {Float64Array} DU - elements of the first super-diagonal of U
179+
* @param {Float64Array} DU - elements of the first super-diagonal of `U`
180180
* @param {integer} strideDU - stride length for DU
181181
* @param {NonNegativeInteger} offsetDU - starting index of DU
182-
* @param {Float64Array} DU2 - elements of the second super-diagonal of U
182+
* @param {Float64Array} DU2 - elements of the second super-diagonal of `U`
183183
* @param {integer} strideDU2 - stride length for DU2
184184
* @param {NonNegativeInteger} offsetDU2 - starting index of DU2
185185
* @param {Int32Array} IPIV - vector of pivot indices
186186
* @param {integer} strideIPIV - stride length for IPIV
187187
* @param {NonNegativeInteger} offsetIPIV - starting index for IPIV
188-
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix X
188+
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix `X`
189189
* @param {integer} strideB1 - stride of the first dimension of B
190190
* @param {integer} strideB2 - stride of the second dimension of B
191191
* @param {NonNegativeInteger} offsetB - starting index of B
@@ -312,29 +312,29 @@ function noTranspose( N, nrhs, DL, strideDL, offsetDL, D, strideD, offsetD, DU,
312312
*
313313
* ## Notes
314314
*
315-
* - To solve A * X = B (no transpose), use itrans = 0.
316-
* - To solve AT * X = B (transpose), use itrans = 1.
317-
* - To solve AT * X = B (conjugate transpose = transpose), use itrans = 2.
315+
* - To solve `A * X = B` (no transpose), use `itrans` = 0.
316+
* - To solve `AT * X = B` (transpose), use `itrans` = 1.
317+
* - To solve `AT * X = B` (conjugate transpose = transpose), use `itrans` = 2.
318318
*
319319
* @param {integer} itrans - specifies the form of the system of equations
320-
* @param {NonNegativeInteger} N - order of the matrix A
321-
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix B
322-
* @param {Float64Array} DL - multipliers that define the matrix L
320+
* @param {NonNegativeInteger} N - order of the matrix `A`
321+
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix `B`
322+
* @param {Float64Array} DL - multipliers that define the matrix `L`
323323
* @param {integer} strideDL - stride length for DL
324324
* @param {NonNegativeInteger} offsetDL - starting index of DL
325325
* @param {Float64Array} D - N diagonal elements of the upper triangular matrix U
326326
* @param {integer} strideD - stride length for D
327327
* @param {NonNegativeInteger} offsetD - starting index of D
328-
* @param {Float64Array} DU - elements of the first super-diagonal of U
328+
* @param {Float64Array} DU - elements of the first super-diagonal of `U`
329329
* @param {integer} strideDU - stride length for DU
330330
* @param {NonNegativeInteger} offsetDU - starting index of DU
331-
* @param {Float64Array} DU2 - elements of the second super-diagonal of U
331+
* @param {Float64Array} DU2 - elements of the second super-diagonal of `U`
332332
* @param {integer} strideDU2 - stride length for DU2
333333
* @param {NonNegativeInteger} offsetDU2 - starting index of DU2
334334
* @param {Int32Array} IPIV - vector of pivot indices
335335
* @param {integer} strideIPIV - stride length for IPIV
336336
* @param {NonNegativeInteger} offsetIPIV - starting index for IPIV
337-
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix X
337+
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix `X`
338338
* @param {integer} strideB1 - stride of the first dimension of B
339339
* @param {integer} strideB2 - stride of the second dimension of B
340340
* @param {NonNegativeInteger} offsetB - starting index of B
@@ -359,7 +359,7 @@ function dgtts2( itrans, N, nrhs, DL, strideDL, offsetDL, D, strideD, offsetD, D
359359
return B;
360360
}
361361
if ( itrans === 0 ) {
362-
// Solve A * X = B using the LU factorization of A, overwriting B with the solution
362+
// Solve `A * X = B` using the LU factorization of A, overwriting B with the solution
363363
return noTranspose( N, nrhs, DL, strideDL, offsetDL, D, strideD, offsetD, DU, strideDU, offsetDU, DU2, strideDU2, offsetDU2, IPIV, strideIPIV, offsetIPIV, B, strideB1, strideB2, offsetB );
364364
}
365365
// Solve Solve A**T * X = B using the LU factorization of A, overwriting B with the solution.

lib/node_modules/@stdlib/lapack/base/dgtts2/lib/dgtts2.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ var base = require( './base.js' );
3232
*
3333
* ## Notes
3434
*
35-
* - To solve A * X = B (no transpose), use itrans = 0.
36-
* - To solve AT * X = B (transpose), use itrans = 1.
37-
* - To solve AT * X = B (conjugate transpose = transpose), use itrans = 2.
35+
* - To solve `A * X = B` (no transpose), use `itrans` = 0.
36+
* - To solve `AT * X = B` (transpose), use `itrans` = 1.
37+
* - To solve `AT * X = B` (conjugate transpose = transpose), use `itrans` = 2.
3838
*
39-
* @param {string} order - storage layout of B
39+
* @param {string} order - storage layout of `B`
4040
* @param {integer} itrans - specifies the form of the system of equations
41-
* @param {NonNegativeInteger} N - order of the matrix A
42-
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix B
43-
* @param {Float64Array} DL - multipliers that define the matrix L
44-
* @param {Float64Array} D - diagonal elements of the upper triangular matrix U
45-
* @param {Float64Array} DU - elements of the first super-diagonal of U
46-
* @param {Float64Array} DU2 - elements of the second super-diagonal of U
41+
* @param {NonNegativeInteger} N - order of the matrix `A`
42+
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix `B`
43+
* @param {Float64Array} DL - multipliers that define the matrix `L`
44+
* @param {Float64Array} D - diagonal elements of the upper triangular matrix `U`
45+
* @param {Float64Array} DU - elements of the first super-diagonal of `U`
46+
* @param {Float64Array} DU2 - elements of the second super-diagonal of `U`
4747
* @param {Int32Array} IPIV - vector of pivot indices
48-
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix X
49-
* @param {NonNegativeInteger} LDB - leading dimension of array B
48+
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix `X`
49+
* @param {NonNegativeInteger} LDB - leading dimension of array `B`
5050
* @throws {TypeError} first argument must be a valid order
5151
* @throws {RangeError} eleventh argument must be greater than or equal to N
5252
* @returns {Float64Array} The solution matrix X

lib/node_modules/@stdlib/lapack/base/dgtts2/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* var B = new Float64Array( [ 7.0, 8.0, 7.0 ] );
3737
*
3838
* dgtts2( 'row-major', 1, 3, 1, DL, D, DU, DU2, IPIV, B, 3 );
39-
* // B => <Float64Array>[ 1.4365079379889456, 1.2539682480442178, 1.5476190504889455 ]
39+
* // B => <Float64Array>[ ~1.44, ~1.25, ~1.55 ]
4040
*
4141
* @example
4242
* var Float64Array = require( '@stdlib/array/float64' );
@@ -51,7 +51,7 @@
5151
* var B = new Float64Array( [ 7.0, 8.0, 7.0 ] );
5252
*
5353
* dgtts2.ndarray( 1, 3, 1, DL, 1, 0, D, 1, 0, DU, 1, 0, DU2, 1, 0, IPIV, 1, 0, B, 1, 1, 0 );
54-
* // B => <Float64Array>[ 1.4365079379889456, 1.2539682480442178, 1.5476190504889455 ]
54+
* // B => <Float64Array>[ ~1.44, ~1.25, ~1.55 ]
5555
*/
5656

5757
// MODULES //

lib/node_modules/@stdlib/lapack/base/dgtts2/lib/ndarray.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,29 @@ var base = require( './base.js' );
3030
*
3131
* ## Notes
3232
*
33-
* - To solve A * X = B (no transpose), use itrans = 0.
34-
* - To solve AT * X = B (transpose), use itrans = 1.
35-
* - To solve AT * X = B (conjugate transpose = transpose), use itrans = 2.
33+
* - To solve `A * X = B` (no transpose), use `itrans` = 0.
34+
* - To solve `AT * X = B` (transpose), use `itrans` = 1.
35+
* - To solve `AT * X = B` (conjugate transpose = transpose), use `itrans` = 2.
3636
*
3737
* @param {integer} itrans - specifies the form of the system of equations
38-
* @param {NonNegativeInteger} N - order of the matrix A
39-
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix B
40-
* @param {Float64Array} DL - multipliers that define the matrix L
38+
* @param {NonNegativeInteger} N - order of the matrix `A`
39+
* @param {NonNegativeInteger} nrhs - number of right-hand sides, i.e., the number of columns of the matrix `B`
40+
* @param {Float64Array} DL - multipliers that define the matrix `L`
4141
* @param {integer} sdl - stride length for DL
4242
* @param {NonNegativeInteger} odl - starting index of DL
4343
* @param {Float64Array} D - N diagonal elements of the upper triangular matrix U
4444
* @param {integer} sd - stride length for D
4545
* @param {NonNegativeInteger} od - starting index of D
46-
* @param {Float64Array} DU - elements of the first super-diagonal of U
46+
* @param {Float64Array} DU - elements of the first super-diagonal of `U`
4747
* @param {integer} sdu - stride length for DU
4848
* @param {NonNegativeInteger} odu - starting index of DU
49-
* @param {Float64Array} DU2 - elements of the second super-diagonal of U
49+
* @param {Float64Array} DU2 - elements of the second super-diagonal of `U`
5050
* @param {integer} sdu2 - stride length for DU2
5151
* @param {NonNegativeInteger} odu2 - starting index of DU2
5252
* @param {Int32Array} IPIV - vector of pivot indices
5353
* @param {integer} si - stride length for IPIV
5454
* @param {NonNegativeInteger} oi - starting index for IPIV
55-
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix X
55+
* @param {Float64Array} B - right-hand side matrix B, overwritten by the solution matrix `X`
5656
* @param {integer} sb1 - stride length for the first dimension of B
5757
* @param {integer} sb2 - stride for the second dimension of B
5858
* @param {NonNegativeInteger} ob - starting index of B

0 commit comments

Comments
 (0)