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/dlartg/README.md
+16-16Lines changed: 16 additions & 16 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
-
`dlartg` constructs a Givens rotation for a two-dimensional vector such that the following equation is satisfied:
27
+
This routine constructs a Givens rotation for a two-dimensional vector such that the following equation is satisfied:
28
28
29
29
30
30
<!-- <equation class="equation" label="eq:givens_rotation" align="center" raw="\begin{bmatrix} C & S \\ -S & C \end{bmatrix} \begin{bmatrix} F \\ G \end{bmatrix} = \begin{bmatrix} R \\ 0 \end{bmatrix}
@@ -71,11 +71,11 @@ dlartg( F, G, C, S, R );
71
71
72
72
The function has the following parameters:
73
73
74
-
-**F**: single element array representing the first component of the vector to be rotated as a [`Float64Array`][mdn-float64array].
75
-
-**G**: single element array representing the second component of the vector to be rotated as a [`Float64Array`][mdn-float64array].
76
-
-**C**: single element array overwritten by the cosine of the rotation as a [`Float64Array`][mdn-float64array].
77
-
-**S**: single element array overwritten by the sine of the rotation as a [`Float64Array`][mdn-float64array].
78
-
-**R**: single element array overwritten by the length of the rotated vector as a [`Float64Array`][mdn-float64array].
74
+
-**F**: [`Float64Array`][mdn-float64array] containing a single element representing the first component of the vector to be rotated.
75
+
-**G**: [`Float64Array`][mdn-float64array] containing a single element representing the second component of the vector to be rotated
76
+
-**C**: [`Float64Array`][mdn-float64array] containing a single element which is overwritten by the cosine of the rotation.
77
+
-**S**: [`Float64Array`][mdn-float64array] containing a single element which is overwritten by the sine of the rotation.
78
+
-**R**: [`Float64Array`][mdn-float64array] containing a single element which is overwritten by the length of the rotated vector.
79
79
80
80
Note that indexing is relative to the first index. To introduce an offset, use [`typed array`][mdn-typed-array] views.
-**F**: single element array representing the first component of the vector to be rotated as a [`Float64Array`][mdn-float64array].
129
-
-**offsetF**: starting index for`F`.
130
-
-**G**: single element array representing the second component of the vector to be rotated as a [`Float64Array`][mdn-float64array].
131
-
-**offsetG**: starting index for`G`.
132
-
-**C**: single element array overwritten by the cosine of the rotation as a [`Float64Array`][mdn-float64array].
133
-
-**offsetC**: starting index for`C`.
134
-
-**S**: single element array overwritten by the sine of the rotation as a [`Float64Array`][mdn-float64array].
135
-
-**offsetS**: starting index for`S`.
136
-
-**R**: single element array overwritten by the length of the rotated vector as a [`Float64Array`][mdn-float64array].
137
-
-**offsetR**: starting index for`R`.
128
+
-**F**: [`Float64Array`][mdn-float64array] containing a single element representing the first component of the vector to be rotated.
129
+
-**offsetF**: index of the element in`F`.
130
+
-**G**: [`Float64Array`][mdn-float64array] containing a single element representing the second component of the vector to be rotated.
131
+
-**offsetG**: index of the element in`G`.
132
+
-**C**: [`Float64Array`][mdn-float64array] containing a single element which is overwritten by the cosine of the rotation.
133
+
-**offsetC**: index of the element in`C`.
134
+
-**S**: [`Float64Array`][mdn-float64array] containing a single element which is overwritten by the sine of the rotation.
135
+
-**offsetS**: index of the element in`S`.
136
+
-**R**: [`Float64Array`][mdn-float64array] containing a single element which is overwritten by the length of the rotated vector.
137
+
-**offsetR**: index of the element in`R`.
138
138
139
139
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