Skip to content

Commit 1a72ee2

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: 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 8298e70 commit 1a72ee2

File tree

1 file changed

+12
-10
lines changed
  • lib/node_modules/@stdlib/blas/base/strmm

1 file changed

+12
-10
lines changed

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

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Performs one of the matrix-matrix operations `B = alpha * op(A) * B` or `B = alp
3737
```javascript
3838
var Float32Array = require( '@stdlib/array/float32' );
3939

40-
var A = new Float32Array( [ 1.0, 0.0, 0.0, 0.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
40+
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 ] );
4242

4343
strmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, B, 3 );
@@ -61,21 +61,21 @@ The function has the following parameters:
6161

6262
Note that indexing is relative to the first index. To introduce an offset, use [`typed array`][mdn-typed-array] views.
6363

64-
<!-- eslint-disable stdlib/capitalized-comments -->
64+
<!-- eslint-disable stdlib/capitalized-comments, max-len -->
6565

6666
```javascript
6767
var Float32Array = require( '@stdlib/array/float32' );
6868

6969
// Initial arrays...
70-
var A0 = new Float32Array( [ 0.0, 1.0, 0.0, 0.0, 0.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
71-
var B0 = new Float32Array( [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0] );
70+
var A0 = new Float32Array( [ 0.0, 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
71+
var B0 = new Float32Array( [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
7272

7373
// Create offset views...
7474
var A1 = new Float32Array( A0.buffer, A0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
7575
var B1 = new Float32Array( B0.buffer, B0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
7676

77-
strmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 3, 3, 1.0, A1, 3, B1, 3 );
78-
// B => <Float32Array>[ 0.0, 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ]
77+
strmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A1, 3, B1, 3 );
78+
// B1 => <Float32Array>[ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ]
7979
```
8080

8181
#### strmm.ndarray( s, ul, t, d, m, n, α, A, sa1, sa2, oa, B, sb1, sb2, ob )
@@ -85,10 +85,10 @@ Performs one of the matrix-matrix operations `B = alpha * op(A) * B` or `B = alp
8585
```javascript
8686
var Float32Array = require( '@stdlib/array/float32' );
8787

88-
var A = new Float32Array( [ 1.0, 0.0, 0.0, 0.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
88+
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 ] );
9090

91-
strmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
91+
strmm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 );
9292
// B => <Float32Array>[ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ]
9393
```
9494

@@ -112,13 +112,15 @@ The function has the following parameters:
112112

113113
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example,
114114

115+
<!-- eslint-disable max-len -->
116+
115117
```javascript
116118
var Float32Array = require( '@stdlib/array/float32' );
117119

118-
var A = new Float32Array( [ 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
120+
var A = new Float32Array( [ 0.0, 0.0, 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
119121
var B = new Float32Array( [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
120122

121-
strmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 3, 3, 1.0, A, 3, 1, 2, B, 3, 1, 1 );
123+
strmm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 2, B, 3, 1, 1 );
122124
// B => <Float32Array>[ 0.0, 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ]
123125
```
124126

0 commit comments

Comments
 (0)