Skip to content

Commit 56cecaf

Browse files
committed
chore: apply review suggestions
1 parent 6f61335 commit 56cecaf

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The function has the following parameters:
4747

4848
- **N**: number of indexed elements.
4949
- **x**: input [`Float64Array`][@stdlib/array/float64].
50-
- **strideX**: stride length.
50+
- **strideX**: stride length for `x`.
5151

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

@@ -91,7 +91,7 @@ drev.ndarray( x.length, x, 1, 0 );
9191

9292
The function has the following additional parameters:
9393

94-
- **offsetX**: starting index.
94+
- **offsetX**: starting index for `x`.
9595

9696
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 the strided array:
9797

@@ -185,7 +185,7 @@ The function accepts the following arguments:
185185
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
186186
187187
```c
188-
double stdlib_strided_drev( const CBLAS_INT N, const double *X, const CBLAS_INT strideX );
188+
double stdlib_strided_drev( const CBLAS_INT N, double *X, const CBLAS_INT strideX );
189189
```
190190

191191
#### stdlib_strided_drev_ndarray( N, \*X, strideX, offsetX )
@@ -206,7 +206,7 @@ The function accepts the following arguments:
206206
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
207207
208208
```c
209-
void stdlib_strided_drev_ndarray( const CBLAS_INT N, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
209+
void stdlib_strided_drev_ndarray( const CBLAS_INT N, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
210210
```
211211

212212
</section>

0 commit comments

Comments
 (0)