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/blas/base/zaxpy/README.md
+24-25Lines changed: 24 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ The function has the following parameters:
55
55
-**y**: second input [`Complex128Array`][@stdlib/array/complex128].
56
56
-**strideY**: stride length for `y`.
57
57
58
-
The `N` and stride parameters determine how values from `x` are scaled by `alpha` and added to `y`. For example, to scale every other value in `x` by `alpha` and add the result to every other value of `y`,
58
+
The `N` and stride parameters determine how elements from `x` are scaled by `alpha` and added to `y`. For example, to scale every other element in `x` by `alpha` and add the result to every other element of `y`,
59
59
60
60
```javascript
61
61
var Complex128Array =require( '@stdlib/array/complex128' );
@@ -88,7 +88,7 @@ var alpha = new Complex128( 2.0, 2.0 );
88
88
var x1 =newComplex128Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
89
89
var y1 =newComplex128Array( y0.buffer, y0.BYTES_PER_ELEMENT*2 ); // start at 3rd element
90
90
91
-
//Scales values of `x0` by `alpha` starting from second index and add the result to `y0` starting from third index...
@@ -114,7 +114,7 @@ The function has the following additional parameters:
114
114
-**offsetX**: starting index for `x`.
115
115
-**offsetY**: starting index for `y`.
116
116
117
-
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, to scale values in the first input strided array starting from the second element and add the result to the second input array starting from the second element,
117
+
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, to scale elements in the first input strided array starting from the second element and add the result to the second input array starting from the second element,
118
118
119
119
```javascript
120
120
var Complex128Array =require( '@stdlib/array/complex128' );
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/base/zaxpy/include/stdlib/blas/base/zaxpy_cblas.h
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@
19
19
/**
20
20
* Header file containing function declarations for the C interface to the CBLAS Level 1 routine `cblas_zaxpy`.
21
21
*/
22
-
#ifndefZAXPY_CBLAS_H
23
-
#defineZAXPY_CBLAS_H
22
+
#ifndefSTDLIB_BLAS_BASE_ZAXPY_CBLAS_H
23
+
#defineSTDLIB_BLAS_BASE_ZAXPY_CBLAS_H
24
24
25
25
#include"stdlib/blas/base/shared.h"
26
26
#include"stdlib/complex/float64/ctor.h"
@@ -33,12 +33,12 @@ extern "C" {
33
33
#endif
34
34
35
35
/**
36
-
* Scale a double-precision complex floating-point vector by a double-precision complex floating-point constant and add the result to a double-precision complex floating-point vector.
36
+
* 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.
0 commit comments