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
* Performs the rank 1 operation `A = α*x*y^T + A`, where `α` is a scalar, `x` is an `M` element vector, `y` is an `N` element vector, and `A` is an `M` by `N` matrix.
35
+
*
36
+
* @private
37
+
* @param {NonNegativeInteger} M - number of rows in the matrix `A`
38
+
* @param {NonNegativeInteger} N - number of columns in the matrix `A`
39
+
* @param {Complex64} alpha - scalar constant
40
+
* @param {Complex64Array} x - first input vector
41
+
* @param {integer} strideX - `x` stride length
42
+
* @param {NonNegativeInteger} offsetX - starting index for `x`
43
+
* @param {Complex64Array} y - second input vector
44
+
* @param {integer} strideY - `y` stride length
45
+
* @param {NonNegativeInteger} offsetY - starting index for `y`
46
+
* @param {Complex64Array} A - input matrix
47
+
* @param {integer} strideA1 - stride of the first dimension of `A`
48
+
* @param {integer} strideA2 - stride of the second dimension of `A`
49
+
* @param {NonNegativeInteger} offsetA - starting index for `A`
50
+
* @returns {Complex64Array} `A`
51
+
*
52
+
* @example
53
+
* var Complex64Array = require( '@stdlib/array/complex64' );
54
+
* var Complex64 = require( '@stdlib/complex/float32/ctor' );
55
+
*
56
+
* var A = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0, 5.0, 5.0, 6.0, 6.0 ] );
57
+
* var x = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0 ] );
58
+
* var y = new Complex64Array( [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ] );
59
+
* var alpha = new Complex64( 0.5, 0.5 );
60
+
*
61
+
* cgerc( 2, 3, alpha, x, 1, 0, y, 1, 0, A, 3, 1, 0 );
0 commit comments