Skip to content

Commit 45b9c1d

Browse files
chore: markdown changes
1 parent fa909c0 commit 45b9c1d

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Computes the arithmetic mean of a single-precision floating-point strided array,
191191
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 };
192192

193193
double v = stdlib_strided_dsnanmeanors( 6, x, 2 );
194-
// returns 1.25
194+
// returns 4.66
195195
```
196196
197197
The function accepts the following arguments:
@@ -212,7 +212,7 @@ Computes the arithmetic mean of a single-precision floating-point strided array,
212212
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 };
213213

214214
double v = stdlib_strided_dsnanmeanors_ndarray( 6, x, 2, 0 );
215-
// returns 1.25
215+
// returns 4.66
216216
```
217217
218218
The function accepts the following arguments:

lib/node_modules/@stdlib/stats/base/dsnanmeanors/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "stdlib/stats/base/dsnanmeanors.h"
2020
#include "stdlib/blas/base/shared.h"
2121
#include "stdlib/strided/base/stride2offset.h"
22-
#include <stdint.h>
2322

2423
/**
2524
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values, using ordinary recursive summation with extended accumulation, and returning an extended precision result.

lib/node_modules/@stdlib/stats/base/dsnanmeanors/test/test.dsnanmeanors.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 = dsnanmeanors( 4, x, 2 );
107+
v = dsnanmeanors( 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 = dsnanmeanors( 4, x, -2 );
129+
v = dsnanmeanors( 5, x, -2 );
130130

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

lib/node_modules/@stdlib/stats/base/dsnanmeanors/test/test.dsnanmeanors.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 = dsnanmeanors( 4, x, 2 );
198+
v = dsnanmeanors( 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 = dsnanmeanors( 4, x, -2 );
220+
v = dsnanmeanors( 5, x, -2 );
221221

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

lib/node_modules/@stdlib/stats/base/dsnanmeanors/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 = dsnanmeanors( 4, x, 2, 0 );
107+
v = dsnanmeanors( 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 = dsnanmeanors( 4, x, -2, 6 );
129+
v = dsnanmeanors( 5, x, -2, 8 );
130130

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

lib/node_modules/@stdlib/stats/base/dsnanmeanors/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 = dsnanmeanors( 4, x, 2, 0 );
116+
v = dsnanmeanors( 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 = dsnanmeanors( 4, x, -2, 6 );
138+
v = dsnanmeanors( 5, x, -2, 8 );
139139

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

0 commit comments

Comments
 (0)