@@ -32,7 +32,7 @@ var dfill = require( '@stdlib/blas/ext/base/dfill' );
32
32
33
33
#### dfill( N, alpha, x, strideX )
34
34
35
- Fills a double-precision floating-point strided array ` x ` with a specified scalar constant ` alpha ` .
35
+ Fills a double-precision floating-point strided array with a specified scalar constant.
36
36
37
37
``` javascript
38
38
var Float64Array = require ( ' @stdlib/array/float64' );
@@ -48,9 +48,9 @@ The function has the following parameters:
48
48
- ** N** : number of indexed elements.
49
49
- ** alpha** : scalar constant.
50
50
- ** x** : input [ ` Float64Array ` ] [ @stdlib/array/float64 ] .
51
- - ** strideX** : index increment .
51
+ - ** strideX** : stride length .
52
52
53
- The ` N ` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to fill every other element
53
+ The ` N ` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to fill every other element:
54
54
55
55
``` javascript
56
56
var Float64Array = require ( ' @stdlib/array/float64' );
@@ -79,7 +79,7 @@ dfill( 3, 5.0, x1, 2 );
79
79
80
80
#### dfill.ndarray( N, alpha, x, strideX, offsetX )
81
81
82
- Fills a double-precision floating-point strided array ` x ` with a specified scalar constant ` alpha ` using alternative indexing semantics.
82
+ Fills a double-precision floating-point strided array with a specified scalar constant using alternative indexing semantics.
83
83
84
84
``` javascript
85
85
var Float64Array = require ( ' @stdlib/array/float64' );
@@ -94,7 +94,7 @@ The function has the following additional parameters:
94
94
95
95
- ** offsetX** : starting index.
96
96
97
- 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 three elements of ` x `
97
+ 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 three elements:
98
98
99
99
``` javascript
100
100
var Float64Array = require ( ' @stdlib/array/float64' );
@@ -170,7 +170,7 @@ console.log( x );
170
170
171
171
#### stdlib_strided_dfill( N, alpha, \* X, strideX )
172
172
173
- Fills a double-precision floating-point strided array ` X ` with a specified scalar constant ` alpha ` .
173
+ Fills a double-precision floating-point strided array with a specified scalar constant.
174
174
175
175
``` c
176
176
double x[] = { 1.0, 2.0, 3.0, 4.0 };
@@ -183,15 +183,15 @@ The function accepts the following arguments:
183
183
- **N**: `[in] CBLAS_INT` number of indexed elements.
184
184
- **alpha**: `[in] double` scalar constant.
185
185
- **X**: `[out] double*` input array.
186
- - **strideX**: `[in] CBLAS_INT` index increment for `X` .
186
+ - **strideX**: `[in] CBLAS_INT` stride length .
187
187
188
188
```c
189
189
void stdlib_strided_dfill( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX );
190
190
```
191
191
192
192
#### stdlib_strided_dfill_ndarray( N, alpha, \* X, strideX, offsetX )
193
193
194
- Fills a double-precision floating-point strided array ` X ` with a specified scalar constant ` alpha ` using alternative indexing semantics.
194
+ Fills a double-precision floating-point strided array with a specified scalar constant using alternative indexing semantics.
195
195
196
196
``` c
197
197
double x[] = { 1.0, 2.0, 3.0, 4.0 };
@@ -204,8 +204,8 @@ The function accepts the following arguments:
204
204
- **N**: `[in] CBLAS_INT` number of indexed elements.
205
205
- **alpha**: `[in] double` scalar constant.
206
206
- **X**: `[out] double*` input array.
207
- - **strideX**: `[in] CBLAS_INT` index increment for `X` .
208
- - **offsetX**: `[in] CBLAS_INT` starting index for `X` .
207
+ - **strideX**: `[in] CBLAS_INT` stride length .
208
+ - **offsetX**: `[in] CBLAS_INT` starting index.
209
209
210
210
```c
211
211
void stdlib_strided_dfill_ndarray( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
0 commit comments