@@ -31,8 +31,8 @@ interface Routine {
31
31
*
32
32
* @param F - single element array representing the first component of the vector to be rotated
33
33
* @param G - single element array representing the second component of the vector to be rotated
34
- * @param CS - single element array overwritten by the cosine of the rotation
35
- * @param SN - single element array overwritten by the sine of the rotation
34
+ * @param C - single element array overwritten by the cosine of the rotation
35
+ * @param S - single element array overwritten by the sine of the rotation
36
36
* @param R - single element array overwritten by the non-zero component of the rotated vector
37
37
* @returns {void }
38
38
*
@@ -41,16 +41,16 @@ interface Routine {
41
41
*
42
42
* var F = new Float64Array( [ 3.0 ] );
43
43
* var G = new Float64Array( [ 4.0 ] );
44
- * var CS = new Float64Array( 1 );
45
- * var SN = new Float64Array( 1 );
44
+ * var C = new Float64Array( 1 );
45
+ * var S = new Float64Array( 1 );
46
46
* var R = new Float64Array( 1 );
47
47
*
48
- * dlartg( F, G, CS, SN , R );
48
+ * dlartg( F, G, C, S , R );
49
49
* // R => <Float64Array>[ 5.0 ]
50
- * // CS => <Float64Array>[ 0.6 ]
51
- * // SN => <Float64Array>[ 0.8 ]
50
+ * // C => <Float64Array>[ 0.6 ]
51
+ * // S => <Float64Array>[ 0.8 ]
52
52
*/
53
- ( F : Float64Array , G : Float64Array , CS : Float64Array , SN : Float64Array , R : Float64Array ) : void ;
53
+ ( F : Float64Array , G : Float64Array , C : Float64Array , S : Float64Array , R : Float64Array ) : void ;
54
54
55
55
/**
56
56
* Generates a plane rotation of a vector using alternative indexing semantics such that the following equation is satisfied.
@@ -63,10 +63,10 @@ interface Routine {
63
63
* @param offsetF - starting index for `F`
64
64
* @param G - single element array representing the second component of the vector to be rotated
65
65
* @param offsetG - starting index for `G`
66
- * @param CS - single element array overwritten by the cosine of the rotation
67
- * @param offsetCS - starting index for `CS `
68
- * @param SN - single element array overwritten by the sine of the rotation
69
- * @param offsetSN - starting index for `SN `
66
+ * @param C - single element array overwritten by the cosine of the rotation
67
+ * @param offsetC - starting index for `C `
68
+ * @param S - single element array overwritten by the sine of the rotation
69
+ * @param offsetS - starting index for `S `
70
70
* @param R - single element array overwritten by the non-zero component of the rotated vector
71
71
* @param offsetR - starting index for `R`
72
72
* @returns {void }
@@ -76,16 +76,16 @@ interface Routine {
76
76
*
77
77
* var F = new Float64Array( [ 3.0 ] );
78
78
* var G = new Float64Array( [ 4.0 ] );
79
- * var CS = new Float64Array( 1 );
80
- * var SN = new Float64Array( 1 );
79
+ * var C = new Float64Array( 1 );
80
+ * var S = new Float64Array( 1 );
81
81
* var R = new Float64Array( 1 );
82
82
*
83
- * dlartg.ndarray( F, 0, G, 0, CS , 0, SN , 0, R, 0 );
83
+ * dlartg.ndarray( F, 0, G, 0, C , 0, S , 0, R, 0 );
84
84
* // R => <Float64Array>[ 5.0 ]
85
- * // CS => <Float64Array>[ 0.6 ]
86
- * // SN => <Float64Array>[ 0.8 ]
85
+ * // C => <Float64Array>[ 0.6 ]
86
+ * // S => <Float64Array>[ 0.8 ]
87
87
*/
88
- ndarray ( F : Float64Array , offsetF : number , G : Float64Array , offsetG : number , CS : Float64Array , offsetCS : number , SN : Float64Array , offsetSN : number , R : Float64Array , offsetR : number ) : void ;
88
+ ndarray ( F : Float64Array , offsetF : number , G : Float64Array , offsetG : number , C : Float64Array , offsetC : number , S : Float64Array , offsetS : number , R : Float64Array , offsetR : number ) : void ;
89
89
}
90
90
91
91
/**
@@ -97,8 +97,8 @@ interface Routine {
97
97
*
98
98
* @param F - single element array representing the first component of the vector to be rotated
99
99
* @param G - single element array representing the second component of the vector to be rotated
100
- * @param CS - single element array overwritten by the cosine of the rotation
101
- * @param SN - single element array overwritten by the sine of the rotation
100
+ * @param C - single element array overwritten by the cosine of the rotation
101
+ * @param S - single element array overwritten by the sine of the rotation
102
102
* @param R - single element array overwritten by the non-zero component of the rotated vector
103
103
* @returns {void }
104
104
*
@@ -107,28 +107,28 @@ interface Routine {
107
107
*
108
108
* var F = new Float64Array( [ 3.0 ] );
109
109
* var G = new Float64Array( [ 4.0 ] );
110
- * var CS = new Float64Array( 1 );
111
- * var SN = new Float64Array( 1 );
110
+ * var C = new Float64Array( 1 );
111
+ * var S = new Float64Array( 1 );
112
112
* var R = new Float64Array( 1 );
113
113
*
114
- * dlartg( F, G, CS, SN , R );
114
+ * dlartg( F, G, C, S , R );
115
115
* // R => <Float64Array>[ 5.0 ]
116
- * // CS => <Float64Array>[ 0.6 ]
117
- * // SN => <Float64Array>[ 0.8 ]
116
+ * // C => <Float64Array>[ 0.6 ]
117
+ * // S => <Float64Array>[ 0.8 ]
118
118
*
119
119
* @example
120
120
* var Float64Array = require( '@stdlib/array/float64' );
121
121
*
122
122
* var F = new Float64Array( [ 3.0 ] );
123
123
* var G = new Float64Array( [ 4.0 ] );
124
- * var CS = new Float64Array( 1 );
125
- * var SN = new Float64Array( 1 );
124
+ * var C = new Float64Array( 1 );
125
+ * var S = new Float64Array( 1 );
126
126
* var R = new Float64Array( 1 );
127
127
*
128
- * dlartg.ndarray( F, 0, G, 0, CS , 0, SN , 0, R, 0 );
128
+ * dlartg.ndarray( F, 0, G, 0, C , 0, S , 0, R, 0 );
129
129
* // R => <Float64Array>[ 5.0 ]
130
- * // CS => <Float64Array>[ 0.6 ]
131
- * // SN => <Float64Array>[ 0.8 ]
130
+ * // C => <Float64Array>[ 0.6 ]
131
+ * // S => <Float64Array>[ 0.8 ]
132
132
*/
133
133
declare var dlartg : Routine ;
134
134
0 commit comments