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/dlarf1f/README.md
+16-13Lines changed: 16 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ limitations under the License.
24
24
25
25
<sectionclass="intro">
26
26
27
-
In linear algebra, a `Householder transformation` (or an `elementary reflector`) is a linear transformation that describes a reflection about a plane or a hyperplane containing the origin.
27
+
A **Householder transformation** (or an **elementary reflector**) is a linear transformation that describes a reflection about a plane or a hyperplane containing the origin.
28
28
29
29
</section>
30
30
@@ -38,7 +38,7 @@ In linear algebra, a `Householder transformation` (or an `elementary reflector`)
38
38
var dlarf1f =require( '@stdlib/lapack/base/dlarf1f' );
39
39
```
40
40
41
-
#### dlarf1f( order, side, M, N, V, incv, tau, C, LDC, work )
41
+
#### dlarf1f( order, side, M, N, V, strideV, tau, C, LDC, work )
42
42
43
43
Applies a real elementary reflector `H = I - tau * v * v^T` to a real M by N matrix `C`.
44
44
@@ -58,11 +58,11 @@ var out = dlarf1f( 'row-major', 'left', 4, 3, V, 1, 1.0, C, 3, work );
58
58
The function has the following parameters:
59
59
60
60
-**order**: storage layout.
61
-
-**side**: specifies the side of multiplication with `C`. Use `'left'` to form `H * C` and `'right'` to form `C * H`.
61
+
-**side**: specifies the side of multiplication with `C`.
62
62
-**M**: number of rows in `C`.
63
63
-**N**: number of columns in `C`.
64
64
-**V**: the vector `v` as a [`Float64Array`][mdn-float64array].
65
-
-**incv**: stride length for `V`. If `incv` is negative, the elements of `V` are accessed in reverse order.
65
+
-**strideV**: stride length for `V`. If `strideV` is negative, the elements of `V` are accessed in reverse order.
66
66
-**tau**: scalar constant.
67
67
-**C**: input matrix stored in linear memory as a [`Float64Array`][mdn-float64array].
68
68
-**LDC**: stride of the first dimension of `C` (a.k.a., leading dimension of the matrix `C`).
@@ -71,14 +71,16 @@ The function has the following parameters:
71
71
When `side` is `'left'`,
72
72
73
73
-`work` should have `N` indexed elements.
74
-
-`V` should have `1 + (M-1) * abs(incv)` indexed elements.
74
+
-`V` should have `1 + (M-1) * abs(strideV)` indexed elements.
75
+
-`C` is overwritten by `H * C`.
75
76
76
77
When `side` is `'right'`,
77
78
78
79
-`work` should have `M` indexed elements.
79
-
-`V` should have `1 + (N-1) * abs(incv)` indexed elements.
80
+
-`V` should have `1 + (N-1) * abs(strideV)` indexed elements.
81
+
-`C` is overwritten by `C * H`.
80
82
81
-
The sign of the increment parameter `incv` determines the order in which elements of `V` are accessed. For example, to access elements in reverse order,
83
+
The sign of the increment parameter `strideV` determines the order in which elements of `V` are accessed. For example, to access elements in reverse order,
82
84
83
85
<!-- eslint-disable max-len -->
84
86
@@ -93,7 +95,7 @@ var out = dlarf1f( 'row-major', 'left', 4, 3, V, -1, 1.0, C, 3, work );
The function has the following additional parameters:
150
152
151
-
-**side**: specifies the side of multiplication with `C`. Use `'left'` to form `H * C` and `'right'` to form `C * H`.
153
+
-**side**: specifies the side of multiplication with `C`.
152
154
-**M**: number of rows in `C`.
153
155
-**N**: number of columns in `C`.
154
156
-**V**: the vector `v` as a [`Float64Array`][mdn-float64array].
@@ -166,12 +168,14 @@ The function has the following additional parameters:
166
168
When `side` is `'left'`,
167
169
168
170
-`work` should have `N` indexed elements.
169
-
-`V` should have `1 + (M-1) * abs(incv)` indexed elements.
171
+
-`V` should have `1 + (M-1) * abs(sv)` indexed elements.
172
+
-`C` is overwritten by `H * C`.
170
173
171
174
When `side` is `'right'`,
172
175
173
176
-`work` should have `M` indexed elements.
174
-
-`V` should have `1 + (N-1) * abs(incv)` indexed elements.
177
+
-`V` should have `1 + (N-1) * abs(sv)` indexed elements.
178
+
-`C` is overwritten by `C * H`.
175
179
176
180
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,
0 commit comments