Skip to content

Commit 405b2b1

Browse files
committed
chore: typo in type name
1 parent e350560 commit 405b2b1

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/dmskrange

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/base/dmskrange/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Computes the [range][range] of a double-precision floating-point strided array a
194194
#include <stdint.h>
195195

196196
const double x[] = { 1.0, -2.0, 2.0 };
197-
const uint_8 mask[] = { 0, 1, 0 };
197+
const uint8_t mask[] = { 0, 1, 0 };
198198

199199
double v = stdlib_strided_dmskrange( 3, x, 1, mask, 1 );
200200
// returns 1.0
@@ -205,7 +205,7 @@ The function accepts the following arguments:
205205
- **N**: `[in] CBLAS_INT` number of indexed elements.
206206
- **X**: `[in] double*` input array.
207207
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
208-
- **Mask**: `[in] uint_8*` mask array. If a `Mask` array element is `0`, the corresponding element in `X` is considered valid and included in computation. If a `Mask` array element is `1`, the corresponding element in `X` is considered invalid/missing and excluded from computation.
208+
- **Mask**: `[in] uint8_t*` mask array. If a `Mask` array element is `0`, the corresponding element in `X` is considered valid and included in computation. If a `Mask` array element is `1`, the corresponding element in `X` is considered invalid/missing and excluded from computation.
209209
- **strideMask**: `[in] CBLAS_INT` stride length for `Mask`.
210210
211211
```c
@@ -220,7 +220,7 @@ Computes the [range][range] of a double-precision floating-point strided array a
220220
#include <stdint.h>
221221

222222
const double x[] = { 1.0, -2.0, 2.0 };
223-
const uint_8 mask[] = { 0, 1, 0 };
223+
const uint8_t mask[] = { 0, 1, 0 };
224224

225225
double v = stdlib_strided_dmskrange( 3, x, 1, 0, mask, 1, 0 );
226226
// returns 1.0
@@ -232,7 +232,7 @@ The function accepts the following arguments:
232232
- **X**: `[in] double*` input array.
233233
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
234234
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
235-
- **Mask**: `[in] uint_8*` mask array. If a `Mask` array element is `0`, the corresponding element in `X` is considered valid and included in computation. If a `Mask` array element is `1`, the corresponding element in `X` is considered invalid/missing and excluded from computation.
235+
- **Mask**: `[in] uint8_t*` mask array. If a `Mask` array element is `0`, the corresponding element in `X` is considered valid and included in computation. If a `Mask` array element is `1`, the corresponding element in `X` is considered invalid/missing and excluded from computation.
236236
- **strideMask**: `[in] CBLAS_INT` stride length for `Mask`.
237237
- **offsetMask**: `[in] CBLAS_INT` starting index for `Mask`.
238238

0 commit comments

Comments
 (0)