You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/lapack/base/dlatrs/README.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@ var scale = dlatrs( 'row-major', 'upper', 'no-transpose', 'non-unit', 'no', 3, A
146
146
147
147
<!-- lint disable maximum-heading-length -->
148
148
149
-
#### dlatrs.ndarray( uplo, trans, diag, normin, N, A, strideA1, strideA2, offsetA, X, strideX, offsetX, CNORM, strideCNORM, offsetCNORM )
149
+
#### dlatrs.ndarray( uplo, trans, diag, normin, N, A, sa1, sa2, oa, X, sx, ox, CNORM, sc, oc )
150
150
151
151
Solves a triangular system of equations with the scale factor set to prevent overflow using alternative indexing semantics.
152
152
@@ -157,21 +157,21 @@ var A = new Float64Array( [ 2.0, 1.0, -1.0, 0.0, 3.0, 2.0, 0.0, 0.0, 4.0 ] ); //
157
157
varX=newFloat64Array( [ 5.0, 10.0, 20.0 ] );
158
158
varCNORM=newFloat64Array( 3 );
159
159
160
-
var scale =dlatrs( 'upper', 'no-transpose', 'non-unit', 'no', 3, A, 3, 1, 0, X, 1, 0, CNORM, 1, 0 );
160
+
var scale =dlatrs.ndarray( 'upper', 'no-transpose', 'non-unit', 'no', 3, A, 3, 1, 0, X, 1, 0, CNORM, 1, 0 );
161
161
// returns 1.0
162
162
// X => <Float64Array>[ 5.0, 0.0, 5.0 ]
163
163
// CNORM => <Float64Array>[ 0.0, 1.0, 3.0 ]
164
164
```
165
165
166
166
The function has the following additional parameters:
167
167
168
-
-**strideA1**: stride of the first dimensiosn of `A`.
169
-
-**strideA2**: stride of the second dimension of `A`.
170
-
-**offsetA**: starting index for `A`.
171
-
-**strideX**: stride length for `X`.
172
-
-**offsetX**: starting index for `X`.
173
-
-**strideCNORM**: stride length for `CNORM`.
174
-
-**offsetCNORM**: starting index for `CNORM`.
168
+
-**sa1**: stride of the first dimensiosn of `A`.
169
+
-**sa2**: stride of the second dimension of `A`.
170
+
-**oa**: starting index for `A`.
171
+
-**sx**: stride length for `X`.
172
+
-**ox**: starting index for `X`.
173
+
-**sc**: stride length for `CNORM`.
174
+
-**oc**: starting index for `CNORM`.
175
175
176
176
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,
177
177
@@ -184,7 +184,7 @@ var A = new Float64Array( [ 9999.0, 2.0, 1.0, -1.0, 0.0, 3.0, 2.0, 0.0, 0.0, 4.0
0 commit comments