Skip to content

Commit 7eb1266

Browse files
committed
docs: rename parameters
1 parent 11889ca commit 7eb1266

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/dfill

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/blas/ext/base/dfill/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ limitations under the License.
3030
var dfill = require( '@stdlib/blas/ext/base/dfill' );
3131
```
3232

33-
#### dfill( N, alpha, x, stride )
33+
#### dfill( N, alpha, x, strideX )
3434

3535
Fills a double-precision floating-point strided array `x` with a specified scalar constant `alpha`.
3636

@@ -48,7 +48,7 @@ The function has the following parameters:
4848
- **N**: number of indexed elements.
4949
- **alpha**: scalar constant.
5050
- **x**: input [`Float64Array`][@stdlib/array/float64].
51-
- **stride**: index increment.
51+
- **strideX**: index increment.
5252

5353
The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to fill every other element
5454

@@ -77,7 +77,7 @@ dfill( 3, 5.0, x1, 2 );
7777
// x0 => <Float64Array>[ 1.0, 5.0, 3.0, 5.0, 5.0, 5.0 ]
7878
```
7979

80-
#### dfill.ndarray( N, alpha, x, stride, offset )
80+
#### dfill.ndarray( N, alpha, x, strideX, offsetX )
8181

8282
Fills a double-precision floating-point strided array `x` with a specified scalar constant `alpha` using alternative indexing semantics.
8383

@@ -92,7 +92,7 @@ dfill.ndarray( x.length, 5.0, x, 1, 0 );
9292

9393
The function has the following additional parameters:
9494

95-
- **offset**: starting index.
95+
- **offsetX**: starting index.
9696

9797
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`
9898

0 commit comments

Comments
 (0)