Skip to content

Commit 3e1531a

Browse files
chore: markdown changes
1 parent e3957a3 commit 3e1531a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Computes the arithmetic mean of a single-precision floating-point strided array
190190
const float x[] = { 1.0f, 2.0f, 0.0f/0.0f, 3.0f, 0.0f/0.0f, 4.0f, 5.0f, 6.0f, 0.0f/0.0f, 7.0f, 8.0f, 0.0f/0.0f };
191191

192192
double v = stdlib_strided_dsnanmeanwd( 6, x, 2 );
193-
// returns 1.25
193+
// returns 4.66
194194
```
195195
196196
The function accepts the following arguments:
@@ -211,7 +211,7 @@ Computes the arithmetic mean of a single-precision floating-point strided array,
211211
const float x[] = { 1.0f, 2.0f, 0.0f/0.0f, 3.0f, 0.0f/0.0f, 4.0f, 5.0f, 6.0f, 0.0f/0.0f, 7.0f, 8.0f, 0.0f/0.0f };
212212

213213
double v = stdlib_strided_dsnanmeanwd_ndarray( 6, x, 2, 0 );
214-
// returns 1.25
214+
// returns 4.66
215215
```
216216
217217
The function accepts the following arguments:

lib/node_modules/@stdlib/stats/base/dsnanmeanwd/test/test.dsnanmeanwd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ tape( 'the function supports a `stride` parameter', function test( t ) {
104104
NaN // 4
105105
]);
106106

107-
v = dsnanmeanwd( 4, x, 2 );
107+
v = dsnanmeanwd( 5, x, 2 );
108108

109109
t.strictEqual( v, 1.25, 'returns expected value' );
110110
t.end();
@@ -126,7 +126,7 @@ tape( 'the function supports a negative `stride` parameter', function test( t )
126126
NaN // 0
127127
]);
128128

129-
v = dsnanmeanwd( 4, x, -2 );
129+
v = dsnanmeanwd( 5, x, -2 );
130130

131131
t.strictEqual( v, 1.25, 'returns expected value' );
132132
t.end();

lib/node_modules/@stdlib/stats/base/dsnanmeanwd/test/test.dsnanmeanwd.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ tape( 'the function supports a `stride` parameter', opts, function test( t ) {
195195
NaN // 4
196196
]);
197197

198-
v = dsnanmeanwd( 4, x, 2 );
198+
v = dsnanmeanwd( 5, x, 2 );
199199

200200
t.strictEqual( v, 1.25, 'returns expected value' );
201201
t.end();
@@ -217,7 +217,7 @@ tape( 'the function supports a negative `stride` parameter', opts, function test
217217
NaN // 0
218218
]);
219219

220-
v = dsnanmeanwd( 4, x, -2 );
220+
v = dsnanmeanwd( 5, x, -2 );
221221

222222
t.strictEqual( v, 1.25, 'returns expected value' );
223223
t.end();

lib/node_modules/@stdlib/stats/base/dsnanmeanwd/test/test.ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ tape( 'the function supports a `stride` parameter', function test( t ) {
104104
NaN // 4
105105
]);
106106

107-
v = dsnanmeanwd( 4, x, 2, 0 );
107+
v = dsnanmeanwd( 5, x, 2, 0 );
108108

109109
t.strictEqual( v, 1.25, 'returns expected value' );
110110
t.end();
@@ -126,7 +126,7 @@ tape( 'the function supports a negative `stride` parameter', function test( t )
126126
NaN // 0
127127
]);
128128

129-
v = dsnanmeanwd( 4, x, -2, 6 );
129+
v = dsnanmeanwd( 5, x, -2, 8 );
130130

131131
t.strictEqual( v, 1.25, 'returns expected value' );
132132
t.end();

lib/node_modules/@stdlib/stats/base/dsnanmeanwd/test/test.ndarray.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ tape( 'the function supports a `stride` parameter', opts, function test( t ) {
113113
NaN // 4
114114
]);
115115

116-
v = dsnanmeanwd( 4, x, 2, 0 );
116+
v = dsnanmeanwd( 5, x, 2, 0 );
117117

118118
t.strictEqual( v, 1.25, 'returns expected value' );
119119
t.end();
@@ -135,7 +135,7 @@ tape( 'the function supports a negative `stride` parameter', opts, function test
135135
NaN // 0
136136
]);
137137

138-
v = dsnanmeanwd( 4, x, -2, 6 );
138+
v = dsnanmeanwd( 5, x, -2, 8 );
139139

140140
t.strictEqual( v, 1.25, 'returns expected value' );
141141
t.end();

0 commit comments

Comments
 (0)