Skip to content

Commit eb001a0

Browse files
committed
chore: update implementation
--- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 51ab746 commit eb001a0

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

lib/node_modules/@stdlib/blas/base/strsm/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var strsm = require( '@stdlib/blas/base/strsm' );
3535
Solves matrix equation `op(A) * X = α * B` or `X * op(A) = α * B` where `α` is a scalar, `X` and `B` are `M` by `N` matrices, `A` is a unit, or non-unit, upper or lower triangular matrix and `op(A)` is one of `op(A) = A` or `op(A) = A^T`. The matrix `X` is overwritten on `B`.
3636

3737
```javascript
38-
var Float32Array = require( '@stdlib/array/loat32' );
38+
var Float32Array = require( '@stdlib/array/float32' );
3939

4040
var A = new Float32Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
4141
var B = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
@@ -64,7 +64,7 @@ Note that indexing is relative to the first index. To introduce an offset, use [
6464
<!-- eslint-disable stdlib/capitalized-comments, max-len -->
6565

6666
```javascript
67-
var Float32Array = require( '@stdlib/array/loat32' );
67+
var Float32Array = require( '@stdlib/array/float32' );
6868

6969
// Initial arrays...
7070
var A0 = new Float32Array( [ 0.0, 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
@@ -75,15 +75,15 @@ var A1 = new Float32Array( A0.buffer, A0.BYTES_PER_ELEMENT*1 ); // start at 2nd
7575
var B1 = new Float32Array( B0.buffer, B0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
7676

7777
strsm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A1, 3, B1, 3 );
78-
// B0 => <Float32Array>[ 1.0, 2.0, 3.0, 2.0, 1.0, 0.0, -7.0, -5.0, -3.0 ]
78+
// B0 => <Float32Array>[ 0.0, 1.0, 2.0, 3.0, 2.0, 1.0, 0.0, -7.0, -5.0, -3.0 ]
7979
```
8080

8181
#### strsm.ndarray( s, ul, t, d, M, N, α, A, sa1, sa2, oa, B, sb1, sb2, ob )
8282

8383
Solves matrix equation `op(A) * X = α * B` or `X * op(A) = α * B` using alternative indexing semantics and where `α` is a scalar, `X` and `B` are `M` by `N` matrices, `A` is a unit, or non-unit, upper or lower triangular matrix and `op(A)` is one of `op(A) = A` or `op(A) = A^T`. The matrix `X` is overwritten on `B`.
8484

8585
```javascript
86-
var Float32Array = require( '@stdlib/array/loat32' );
86+
var Float32Array = require( '@stdlib/array/float32' );
8787

8888
var A = new Float32Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
8989
var B = new Float32Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
@@ -115,7 +115,7 @@ While [`typed array`][mdn-typed-array] views mandate a view offset based on the
115115
<!-- eslint-disable max-len -->
116116

117117
```javascript
118-
var Float32Array = require( '@stdlib/array/loat32' );
118+
var Float32Array = require( '@stdlib/array/float32' );
119119

120120
var A = new Float32Array( [ 0.0, 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
121121
var B = new Float32Array( [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );

lib/node_modules/@stdlib/blas/base/strsm/test/fixtures/ra_cb_l_l_nta_u.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
"strideB1": 1,
2525
"strideB2": 3,
2626
"offsetB": 0,
27-
"B_out": [ 1.0, 2.0, -6.0, 2.0, 1.0, -3.0, 0.0, 0.0 ]
27+
"B_out": [ 1.0, 2.0, -6.0, 2.0, 1.0, -3.0, 3.0, 0.0, 0.0 ]
2828
}

lib/node_modules/@stdlib/blas/base/strsm/test/fixtures/ra_cb_r_u_nta_nu.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"M": 3,
77
"N": 3,
88
"alpha": 1.0,
9-
"A": [ 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0 ],
9+
"A": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
1010
"A_mat": [
1111
[ 1.0, 1.0, 1.0 ],
1212
[ 0.0, 1.0, 1.0 ],

lib/node_modules/@stdlib/blas/base/strsm/test/fixtures/ra_rb_l_l_nta_nu_ob.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
"strideB1": 3,
2525
"strideB2": 1,
2626
"offsetB": 2,
27-
"B_out": [ 1.0, 2.0, 3.0, 0.5, 0.25, 0.0, 0.25, 0.125, 0.0 ]
27+
"B_out": [ 0.0, 0.0, 1.0, 2.0, 3.0, 0.5, 0.25, 0.0, 0.25, 0.125, 0.0 ]
2828
}

lib/node_modules/@stdlib/blas/base/strsm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"M": 3,
77
"N": 3,
88
"alpha": 1.0,
9-
"A": [ 3.0, 5.0, 6.0, 999.0, 999.0, 999.0, 2.0, 4.0, 0.0, 999.0, 999.0, 999.0, 3.0, 5.0, 6.0 ],
9+
"A": [ 3.0, 5.0, 6.0, 999.0, 999.0, 999.0, 2.0, 4.0, 0.0, 999.0, 999.0, 999.0, 1.0, 0.0, 0.0 ],
1010
"A_mat": [
1111
[ 1.0, 0.0, 0.0 ],
1212
[ 2.0, 4.0, 0.0 ],

lib/node_modules/@stdlib/blas/base/strsm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"strideA1": 3,
1616
"strideA2": 1,
1717
"offsetA": 0,
18-
"B": [ 7.0, 8.0, 9.0, 999.0, 999.0, 999.0, 4.0, 5.0, 6.0, 999.0, 999.0, 999.0, 7.0, 8.0, 9.0 ],
18+
"B": [ 7.0, 8.0, 9.0, 999.0, 999.0, 999.0, 4.0, 5.0, 6.0, 999.0, 999.0, 999.0, 1.0, 2.0, 3.0 ],
1919
"B_mat": [
2020
[ 1.0, 2.0, 3.0 ],
2121
[ 4.0, 5.0, 6.0 ],

lib/node_modules/@stdlib/blas/base/strsm/test/fixtures/ra_rb_r_u_nta_nu.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"M": 3,
77
"N": 3,
88
"alpha": 1.0,
9-
"A": [ 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0 ],
9+
"A": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
1010
"A_mat": [
1111
[ 1.0, 1.0, 1.0 ],
1212
[ 0.0, 1.0, 1.0 ],

0 commit comments

Comments
 (0)