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
* Scales a double-precision complex floating-point vector by a double-precision complex floating-point constant and adds the result to a double-precision complex floating-point vector.
273
253
*
274
254
* @param {PositiveInteger} N - number of indexed elements
275
-
* @param {Complex128} za - scalar constant
276
-
* @param {Complex128Array} zx - first input array
277
-
* @param {integer} strideX - `zx` stride length
278
-
* @param {integer} offsetX - starting index for `zx`
279
-
* @param {Complex128Array} zy - second input array
280
-
* @param {integer} strideY - `zy` stride length
281
-
* @param {integer} offsetY - starting index for `zy`
255
+
* @param {Complex128} alpha - scalar constant
256
+
* @param {Complex128Array} x - first input array
257
+
* @param {integer} strideX - `x` stride length
258
+
* @param {integer} offsetX - starting index for `x`
259
+
* @param {Complex128Array} y - second input array
260
+
* @param {integer} strideY - `y` stride length
261
+
* @param {integer} offsetY - starting index for `y`
282
262
* @returns {Complex128Array} second input array
283
263
*
284
264
* @example
285
265
* var Complex128Array = require( '@stdlib/array/complex128' );
286
266
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
287
-
* var real = require( '@stdlib/complex/float64/real' );
288
-
* var imag = require( '@stdlib/complex/float64/imag' );
289
-
*
290
-
* var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
291
-
* var zy = new Complex128Array( [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ] );
292
-
* var za = new Complex128( 2.0, 2.0 );
293
-
*
294
-
* zaxpy( 3, za, zx, 1, 0, zy, 1, 0 );
295
-
*
296
-
* var z = zy.get( 0 );
297
-
* // returns <Complex128>
298
267
*
299
-
* var re = real( z );
300
-
* // returns -1.0
268
+
* var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
269
+
* var y = new Complex128Array( [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ] );
0 commit comments