Skip to content

Commit 196b32b

Browse files
fix: failing markdown examples
--- 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: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - 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 9e666ca commit 196b32b

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

  • lib/node_modules/@stdlib/lapack/base/dla_gbrpvgrw

lib/node_modules/@stdlib/lapack/base/dla_gbrpvgrw/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -125,21 +125,21 @@ Computes the reciprocal pivot growth factor norm(A)/norm(U) for a general banded
125125

126126
```javascript
127127
var Float64Array = require( '@stdlib/array/float64' );
128-
var dla_gbrpvgrw = require( '@stdlib/lapack/base/dla_gbrpvgrw' ).ndarray;
128+
var dla_gbrpvgrw = require( '@stdlib/lapack/base/dla_gbrpvgrw' );
129129

130130
/*
131131
A = [
132-
[ 1.0, 2.0, 0.0, 0.0 ],
133-
[ 3.0, 4.0, 5.0, 0.0 ],
134-
[ 0.0, 6.0, 7.0, 8.0 ],
135-
[ 0.0, 0.0, 9.0,10.0 ]
132+
[ 1.0, 2.0, 0.0, 0.0 ],
133+
[ 3.0, 4.0, 5.0, 0.0 ],
134+
[ 0.0, 6.0, 7.0, 8.0 ],
135+
[ 0.0, 0.0, 9.0,10.0 ]
136136
]
137137
*/
138138

139139
var AB = new Float64Array( [ 0.0, 2.0, 5.0, 8.0, 1.0, 4.0, 7.0, 10.0, 3.0, 6.0, 9.0, 0.0 ] );
140140
var AFB = new Float64Array( [ 0.0, 0.0, 5.0, 8.0, 0.0, 4.0, 7.0, 10.0, 3.0, 6.0, 9.0, 1.8272, 0.3333, 0.1111, -0.2716, 0.0 ] );
141141

142-
dla_gbrpvgrw( 4, 1, 1, 4, AB, 4, 1, 0, AFB, 4, 1, 0 );
142+
dla_gbrpvgrw.ndarray( 4, 1, 1, 4, AB, 4, 1, 0, AFB, 4, 1, 0 );
143143
// 1.0
144144
```
145145

@@ -164,21 +164,21 @@ While [`typed array`][mdn-typed-array] views mandate a view offset based on the
164164

165165
```javascript
166166
var Float64Array = require( '@stdlib/array/float64' );
167-
var dla_gbrpvgrw = require( '@stdlib/lapack/base/dla_gbrpvgrw' ).ndarray;
167+
var dla_gbrpvgrw = require( '@stdlib/lapack/base/dla_gbrpvgrw' );
168168

169169
/*
170170
A = [
171-
[ 1.0, 2.0, 0.0, 0.0 ],
172-
[ 3.0, 4.0, 5.0, 0.0 ],
173-
[ 0.0, 6.0, 7.0, 8.0 ],
174-
[ 0.0, 0.0, 9.0,10.0 ]
171+
[ 1.0, 2.0, 0.0, 0.0 ],
172+
[ 3.0, 4.0, 5.0, 0.0 ],
173+
[ 0.0, 6.0, 7.0, 8.0 ],
174+
[ 0.0, 0.0, 9.0,10.0 ]
175175
]
176176
*/
177177

178178
var AB = new Float64Array( [ 0.0, 0.0, 2.0, 5.0, 8.0, 1.0, 4.0, 7.0, 10.0, 3.0, 6.0, 9.0, 0.0 ] );
179179
var AFB = new Float64Array( [ 0.0, 0.0, 0.0, 5.0, 8.0, 0.0, 4.0, 7.0, 10.0, 3.0, 6.0, 9.0, 1.8272, 0.3333, 0.1111, -0.2716, 0.0 ] );
180180

181-
dla_gbrpvgrw( 4, 1, 1, 4, AB, 4, 1, 1, AFB, 4, 1, 1 );
181+
dla_gbrpvgrw.ndarray( 4, 1, 1, 4, AB, 4, 1, 1, AFB, 4, 1, 1 );
182182
// 1.0
183183
```
184184

@@ -191,9 +191,9 @@ dla_gbrpvgrw( 4, 1, 1, 4, AB, 4, 1, 1, AFB, 4, 1, 1 );
191191
## Notes
192192

193193
- Matrix `AB` is the matrix A in band storage, in rows 1 to KL+KU+1. The j-th column of A is stored in the j-th column of the matrix `AB` as `AB(KU+1+i-j,j) = A(i,j)` for max(1,j-KU)<=i<=min(N,j+kl).
194-
- Matrix `AFB` stores the details of the LU factorization of the band matrix A, as computed by `DGBTRF`. `U` is stored as an upper triangular band matrix with KL+KU superdiagonals in rows 1 to `KL`+`KU`+1, and the multipliers used during the factorization are stored in rows `KL`+`KU`+2 to 2*`KL`+`KU`+1.
194+
- Matrix `AFB` stores the details of the LU factorization of the band matrix A, as computed by `DGBTRF`. `U` is stored as an upper triangular band matrix with KL+KU superdiagonals in rows 1 to `KL`+`KU`+1, and the multipliers used during the factorization are stored in rows `KL`+`KU`+2 to 2*`KL`+`KU`+1.
195195
- The leading dimension of `AB`, `LDAB` >= KL+KU+1.
196-
- The leading dimension of `AFB`, `LDAFB` >= 2*KL+KU+1.
196+
- The leading dimension of `AFB`, `LDAFB` >= 2*KL+KU+1.
197197
- `dla_gbrpvgrw()` corresponds to the [LAPACK][LAPACK] function [`dla_gbrpvgrw`][lapack-dla_gbrpvgrw].
198198

199199
</section>
@@ -211,7 +211,7 @@ dla_gbrpvgrw( 4, 1, 1, 4, AB, 4, 1, 1, AFB, 4, 1, 1 );
211211
```javascript
212212
var Float64Array = require( '@stdlib/array/float64' );
213213
var ndarray2array = require( '@stdlib/ndarray/base/to-array' );
214-
var dla_gbrpvgrw = require( './../lib' );
214+
var dla_gbrpvgrw = require( '@stdlib/lapack/base/dla_gbrpvgrw' );
215215

216216
var N = 4;
217217
var KL = 1;

0 commit comments

Comments
 (0)