Skip to content

Commit 9c775bf

Browse files
chore: markdown changes
1 parent 637e56a commit 9c775bf

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

lib/node_modules/@stdlib/stats/base/dsnanmean/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_dsnanmean( 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_dsnanmean_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/dsnanmean/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ double API_SUFFIX(stdlib_strided_dsnanmean)( const CBLAS_INT N, const float *X,
4444
* @return output value
4545
*/
4646
double API_SUFFIX(stdlib_strided_dsnanmean_ndarray)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
47-
return stdlib_strided_dsnanmeanpn( N, X, strideX );
47+
return stdlib_strided_dsnanmeanpn_ndarray( N, X, strideX, offsetX );
4848
}

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)