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
The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to fill every other element
69
69
@@ -143,7 +143,7 @@ im = imagf( y );
143
143
// returns 10.0
144
144
```
145
145
146
-
#### cfill.ndarray( N, alpha, x, stride, offset )
146
+
#### cfill.ndarray( N, alpha, x, strideX, offsetX )
147
147
148
148
Fills a single-precision complex floating-point strided array `x` with a specified scalar constant `alpha` using alternative indexing semantics.
149
149
@@ -173,9 +173,9 @@ var im = imagf( y );
173
173
174
174
The function has the following additional parameters:
175
175
176
-
-**offset**: starting index.
176
+
-**offsetX**: starting index.
177
177
178
-
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying `buffer`, the offset parameter supports indexing semantics based on a starting index. For example, to access only the last two elements of the strided array
178
+
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameter supports indexing semantics based on a starting index. For example, to access only the last two elements of the strided array
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
271
+
272
+
<sectionclass="intro">
273
+
274
+
</section>
275
+
276
+
<!-- /.intro -->
277
+
278
+
<!-- C usage documentation. -->
279
+
280
+
<sectionclass="usage">
281
+
282
+
### Usage
283
+
284
+
```c
285
+
#include"stdlib/blas/ext/base/cfill.h"
286
+
```
287
+
288
+
#### c_cfill( N, alpha, \*X, strideX )
289
+
290
+
Fills a single-precision floating-point strided array `X` with a specified scalar constant `alpha`.
0 commit comments