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/nanminabs/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
@license Apache-2.0
4
4
5
-
Copyright (c) 2020 The Stdlib Authors.
5
+
Copyright (c) 2025 The Stdlib Authors.
6
6
7
7
Licensed under the Apache License, Version 2.0 (the "License");
8
8
you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ limitations under the License.
36
36
var nanminabs =require( '@stdlib/stats/base/nanminabs' );
37
37
```
38
38
39
-
#### nanminabs( N, x, stride )
39
+
#### nanminabs( N, x, strideX )
40
40
41
41
Computes the minimum absolute value of a strided array `x`, ignoring `NaN` values.
42
42
@@ -54,7 +54,7 @@ The function has the following parameters:
54
54
-**x**: input [`Array`][mdn-array] or [`typed array`][mdn-typed-array].
55
55
-**stride**: index increment for `x`.
56
56
57
-
The `N` and `stride` parameters determine which elements in `x` are accessed at runtime. For example, to compute the minimum absolute value of every other element in `x`,
57
+
The `N` and `strideX` parameters determine which elements in `x` are accessed at runtime. For example, to compute the minimum absolute value of every other element in `x`,
58
58
59
59
```javascript
60
60
var floor =require( '@stdlib/math/base/special/floor' );
@@ -83,7 +83,7 @@ var v = nanminabs( N, x1, 2 );
83
83
// returns 1.0
84
84
```
85
85
86
-
#### nanminabs.ndarray( N, x, stride, offset )
86
+
#### nanminabs.ndarray( N, x, strideX, offsetX )
87
87
88
88
Computes the minimum absolute value of a strided array, ignoring `NaN` values and using alternative indexing semantics.
89
89
@@ -97,9 +97,9 @@ var v = nanminabs.ndarray( N, x, 1, 0 );
97
97
98
98
The function has the following additional parameters:
99
99
100
-
-**offset**: starting index for `x`.
100
+
-**offsetX**: starting index for `x`.
101
101
102
-
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 calculate the minimum absolute value for every other value in `x` starting from the second value
102
+
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying `buffer`, the `offsetX` parameter supports indexing semantics based on a starting index. For example, to calculate the minimum absolute value for every other value in `x` starting from the second value
103
103
104
104
```javascript
105
105
var floor =require( '@stdlib/math/base/special/floor' );
0 commit comments