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
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/stats/base/dmskrange/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,7 @@ Computes the [range][range] of a double-precision floating-point strided array a
194
194
#include<stdint.h>
195
195
196
196
constdouble x[] = { 1.0, -2.0, 2.0 };
197
-
const uint_8 mask[] = { 0, 1, 0 };
197
+
const uint8_t mask[] = { 0, 1, 0 };
198
198
199
199
double v = stdlib_strided_dmskrange( 3, x, 1, mask, 1 );
200
200
// returns 1.0
@@ -205,7 +205,7 @@ The function accepts the following arguments:
205
205
- **N**: `[in] CBLAS_INT` number of indexed elements.
206
206
- **X**: `[in] double*` input array.
207
207
- **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.
209
209
- **strideMask**: `[in] CBLAS_INT` stride length for `Mask`.
210
210
211
211
```c
@@ -220,7 +220,7 @@ Computes the [range][range] of a double-precision floating-point strided array a
@@ -232,7 +232,7 @@ The function accepts the following arguments:
232
232
- **X**: `[in] double*` input array.
233
233
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
234
234
- **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.
236
236
- **strideMask**: `[in] CBLAS_INT` stride length for `Mask`.
237
237
- **offsetMask**: `[in] CBLAS_INT` starting index for `Mask`.
0 commit comments