Skip to content

feat!: migrate stats/base/dnanmeanpn to stats/strided/dnanmeanpn #6402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
});

ns.push({
'alias': 'base.strided.dasum',

Check warning on line 133 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dasum"
'path': '@stdlib/blas/base/dasum',
'value': require( '@stdlib/blas/base/dasum' ),
'type': 'Function',
Expand All @@ -144,7 +144,7 @@
});

ns.push({
'alias': 'base.strided.dasumpw',

Check warning on line 147 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dasumpw"
'path': '@stdlib/blas/ext/base/dasumpw',
'value': require( '@stdlib/blas/ext/base/dasumpw' ),
'type': 'Function',
Expand Down Expand Up @@ -172,7 +172,7 @@
});

ns.push({
'alias': 'base.strided.dcbrt',

Check warning on line 175 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dcbrt"
'path': '@stdlib/math/strided/special/dcbrt',
'value': require( '@stdlib/math/strided/special/dcbrt' ),
'type': 'Function',
Expand All @@ -184,7 +184,7 @@
});

ns.push({
'alias': 'base.strided.dceil',

Check warning on line 187 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dceil"
'path': '@stdlib/math/strided/special/dceil',
'value': require( '@stdlib/math/strided/special/dceil' ),
'type': 'Function',
Expand Down Expand Up @@ -243,7 +243,7 @@
});

ns.push({
'alias': 'base.strided.dcumin',

Check warning on line 246 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dcumin"
'path': '@stdlib/stats/base/dcumin',
'value': require( '@stdlib/stats/base/dcumin' ),
'type': 'Function',
Expand All @@ -257,7 +257,7 @@
});

ns.push({
'alias': 'base.strided.dcuminabs',

Check warning on line 260 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dcuminabs"
'path': '@stdlib/stats/strided/dcuminabs',
'value': require( '@stdlib/stats/strided/dcuminabs' ),
'type': 'Function',
Expand All @@ -271,7 +271,7 @@
});

ns.push({
'alias': 'base.strided.dcusum',

Check warning on line 274 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dcusum"
'path': '@stdlib/blas/ext/base/dcusum',
'value': require( '@stdlib/blas/ext/base/dcusum' ),
'type': 'Function',
Expand All @@ -284,7 +284,7 @@
});

ns.push({
'alias': 'base.strided.dcusumkbn',

Check warning on line 287 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dcusumkbn"
'path': '@stdlib/blas/ext/base/dcusumkbn',
'value': require( '@stdlib/blas/ext/base/dcusumkbn' ),
'type': 'Function',
Expand All @@ -297,7 +297,7 @@
});

ns.push({
'alias': 'base.strided.dcusumkbn2',

Check warning on line 300 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dcusumkbn"
'path': '@stdlib/blas/ext/base/dcusumkbn2',
'value': require( '@stdlib/blas/ext/base/dcusumkbn2' ),
'type': 'Function',
Expand All @@ -310,7 +310,7 @@
});

ns.push({
'alias': 'base.strided.dcusumors',

Check warning on line 313 in lib/node_modules/@stdlib/namespace/lib/namespace/base/strided/d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "dcusumors"
'path': '@stdlib/blas/ext/base/dcusumors',
'value': require( '@stdlib/blas/ext/base/dcusumors' ),
'type': 'Function',
Expand Down Expand Up @@ -567,7 +567,7 @@
'type': 'Function',
'related': [
'@stdlib/stats/base/dmean',
'@stdlib/stats/base/dnanmeanpn',
'@stdlib/stats/strided/dnanmeanpn',
'@stdlib/stats/base/meanpn',
'@stdlib/stats/base/smeanpn'
]
Expand Down Expand Up @@ -1044,8 +1044,8 @@

ns.push({
'alias': 'base.strided.dnanmeanpn',
'path': '@stdlib/stats/base/dnanmeanpn',
'value': require( '@stdlib/stats/base/dnanmeanpn' ),
'path': '@stdlib/stats/strided/dnanmeanpn',
'value': require( '@stdlib/stats/strided/dnanmeanpn' ),
'type': 'Function',
'related': [
'@stdlib/stats/base/dmeanpn',
Expand Down Expand Up @@ -1779,7 +1779,7 @@
'value': require( '@stdlib/stats/base/dsnanmeanpn' ),
'type': 'Function',
'related': [
'@stdlib/stats/base/dnanmeanpn',
'@stdlib/stats/strided/dnanmeanpn',
'@stdlib/stats/base/dsmeanpn',
'@stdlib/stats/base/dsnanmean',
'@stdlib/stats/base/nanmeanpn',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ns.push({
'value': require( '@stdlib/stats/base/nanmeanpn' ),
'type': 'Function',
'related': [
'@stdlib/stats/base/dnanmeanpn',
'@stdlib/stats/strided/dnanmeanpn',
'@stdlib/stats/base/meanpn',
'@stdlib/stats/base/nanmean',
'@stdlib/stats/base/snanmeanpn'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ ns.push({
'value': require( '@stdlib/stats/base/snanmeanpn' ),
'type': 'Function',
'related': [
'@stdlib/stats/base/dnanmeanpn',
'@stdlib/stats/strided/dnanmeanpn',
'@stdlib/stats/base/nanmeanpn',
'@stdlib/stats/base/smeanpn',
'@stdlib/stats/base/snanmean'
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/stats/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The namespace contains the following statistical functions:
- <span class="signature">[`dmskmax( N, x, strideX, mask, strideMask )`][@stdlib/stats/base/dmskmax]</span><span class="delimiter">: </span><span class="description">calculate the maximum value of a double-precision floating-point strided array according to a mask.</span>
- <span class="signature">[`dmskmin( N, x, strideX, mask, strideMask )`][@stdlib/stats/base/dmskmin]</span><span class="delimiter">: </span><span class="description">calculate the minimum value of a double-precision floating-point strided array according to a mask.</span>
- <span class="signature">[`dmskrange( N, x, strideX, mask, strideMask )`][@stdlib/stats/base/dmskrange]</span><span class="delimiter">: </span><span class="description">calculate the range of a double-precision floating-point strided array according to a mask.</span>
- <span class="signature">[`dnanmeanpn( N, x, strideX )`][@stdlib/stats/base/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring `NaN` values and using a two-pass error correction algorithm.</span>
- <span class="signature">[`dnanmeanpn( N, x, strideX )`][@stdlib/stats/strided/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring `NaN` values and using a two-pass error correction algorithm.</span>
- <span class="signature">[`dnanmeanpw( N, x, strideX )`][@stdlib/stats/base/dnanmeanpw]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring `NaN` values and using pairwise summation.</span>
- <span class="signature">[`dnanmeanwd( N, x, strideX )`][@stdlib/stats/base/dnanmeanwd]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, using Welford's algorithm and ignoring `NaN` values.</span>
- <span class="signature">[`dnanmin( N, x, strideX )`][@stdlib/stats/base/dnanmin]</span><span class="delimiter">: </span><span class="description">calculate the minimum value of a double-precision floating-point strided array, ignoring `NaN` values.</span>
Expand Down Expand Up @@ -329,7 +329,7 @@ console.log( objectKeys( ns ) );

[@stdlib/stats/base/dmskrange]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dmskrange

[@stdlib/stats/base/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dnanmeanpn
[@stdlib/stats/strided/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dnanmeanpn

[@stdlib/stats/base/dnanmeanpw]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dnanmeanpw

Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/stats/base/dmeanpn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ console.log( v );
## See Also

- <span class="package-name">[`@stdlib/stats/base/dmean`][@stdlib/stats/base/dmean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array.</span>
- <span class="package-name">[`@stdlib/stats/base/dnanmeanpn`][@stdlib/stats/base/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/strided/dnanmeanpn`][@stdlib/stats/strided/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/base/meanpn`][@stdlib/stats/base/meanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/base/smeanpn`][@stdlib/stats/base/smeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array using a two-pass error correction algorithm.</span>

Expand All @@ -223,7 +223,7 @@ console.log( v );

[@stdlib/stats/base/dmean]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dmean

[@stdlib/stats/base/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dnanmeanpn
[@stdlib/stats/strided/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dnanmeanpn

[@stdlib/stats/base/meanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/meanpn

Expand Down
27 changes: 0 additions & 27 deletions lib/node_modules/@stdlib/stats/base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import dmeanvarpn = require( '@stdlib/stats/base/dmeanvarpn' );
import dmskmax = require( '@stdlib/stats/base/dmskmax' );
import dmskmin = require( '@stdlib/stats/base/dmskmin' );
import dmskrange = require( '@stdlib/stats/base/dmskrange' );
import dnanmeanpn = require( '@stdlib/stats/base/dnanmeanpn' );
import dnanmeanpw = require( '@stdlib/stats/base/dnanmeanpw' );
import dnanmeanwd = require( '@stdlib/stats/base/dnanmeanwd' );
import dnanmin = require( '@stdlib/stats/base/dnanmin' );
Expand Down Expand Up @@ -644,32 +643,6 @@ interface Namespace {
*/
dmskrange: typeof dmskrange;

/**
* Computes the arithmetic mean of a double-precision floating-point strided array, ignoring `NaN` values and using a two-pass error correction algorithm.
*
* @param N - number of indexed elements
* @param x - input array
* @param strideX - stride length
* @returns arithmetic mean
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ 1.0, -2.0, NaN, 2.0 ] );
*
* var v = ns.dnanmeanpn( x.length, x, 1 );
* // returns ~0.3333
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ 1.0, -2.0, NaN, 2.0 ] );
*
* var v = ns.dnanmeanpn.ndarray( x.length, x, 1, 0 );
* // returns ~0.3333
*/
dnanmeanpn: typeof dnanmeanpn;

/**
* Computes the arithmetic mean of a double-precision floating-point strided array, ignoring `NaN` values and using pairwise summation.
*
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/stats/base/dsnanmeanpn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ int main( void ) {

## See Also

- <span class="package-name">[`@stdlib/stats/base/dnanmeanpn`][@stdlib/stats/base/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/strided/dnanmeanpn`][@stdlib/stats/strided/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/base/dsmeanpn`][@stdlib/stats/base/dsmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array using a two-pass error correction algorithm with extended accumulation and returning an extended precision result.</span>
- <span class="package-name">[`@stdlib/stats/base/dsnanmean`][@stdlib/stats/base/dsnanmean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array, ignoring NaN values, using extended accumulation, and returning an extended precision result.</span>
- <span class="package-name">[`@stdlib/stats/base/nanmeanpn`][@stdlib/stats/base/nanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
Expand All @@ -341,7 +341,7 @@ int main( void ) {

<!-- <related-links> -->

[@stdlib/stats/base/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dnanmeanpn
[@stdlib/stats/strided/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dnanmeanpn

[@stdlib/stats/base/dsmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dsmeanpn

Expand Down
9 changes: 0 additions & 9 deletions lib/node_modules/@stdlib/stats/base/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,6 @@ setReadOnly( ns, 'dmskmin', require( '@stdlib/stats/base/dmskmin' ) );
*/
setReadOnly( ns, 'dmskrange', require( '@stdlib/stats/base/dmskrange' ) );

/**
* @name dnanmeanpn
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/stats/base/dnanmeanpn}
*/
setReadOnly( ns, 'dnanmeanpn', require( '@stdlib/stats/base/dnanmeanpn' ) );

/**
* @name dnanmeanpw
* @memberof ns
Expand Down
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/stats/base/nanmeanpn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var v = nanmeanpn.ndarray( N, x, 2, 1 );

- If `N <= 0`, both functions return `NaN`.
- If every indexed element is `NaN`, both functions return `NaN`.
- Depending on the environment, the typed versions ([`dnanmeanpn`][@stdlib/stats/base/dnanmeanpn], [`snanmeanpn`][@stdlib/stats/base/snanmeanpn], etc.) are likely to be significantly more performant.
- Depending on the environment, the typed versions ([`dnanmeanpn`][@stdlib/stats/strided/dnanmeanpn], [`snanmeanpn`][@stdlib/stats/base/snanmeanpn], etc.) are likely to be significantly more performant.

</section>

Expand Down Expand Up @@ -196,7 +196,7 @@ console.log( v );

## See Also

- <span class="package-name">[`@stdlib/stats/base/dnanmeanpn`][@stdlib/stats/base/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/strided/dnanmeanpn`][@stdlib/stats/strided/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/base/meanpn`][@stdlib/stats/base/meanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/base/nanmean`][@stdlib/stats/base/nanmean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array, ignoring NaN values.</span>
- <span class="package-name">[`@stdlib/stats/base/snanmeanpn`][@stdlib/stats/base/snanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
Expand All @@ -221,7 +221,7 @@ console.log( v );

<!-- <related-links> -->

[@stdlib/stats/base/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dnanmeanpn
[@stdlib/stats/strided/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dnanmeanpn

[@stdlib/stats/base/meanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/meanpn

Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/stats/base/snanmeanpn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ int main( void ) {

## See Also

- <span class="package-name">[`@stdlib/stats/base/dnanmeanpn`][@stdlib/stats/base/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/strided/dnanmeanpn`][@stdlib/stats/strided/dnanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a double-precision floating-point strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/base/nanmeanpn`][@stdlib/stats/base/nanmeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a strided array, ignoring NaN values and using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/base/smeanpn`][@stdlib/stats/base/smeanpn]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array using a two-pass error correction algorithm.</span>
- <span class="package-name">[`@stdlib/stats/base/snanmean`][@stdlib/stats/base/snanmean]</span><span class="delimiter">: </span><span class="description">calculate the arithmetic mean of a single-precision floating-point strided array, ignoring NaN values.</span>
Expand All @@ -335,7 +335,7 @@ int main( void ) {

<!-- <related-links> -->

[@stdlib/stats/base/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dnanmeanpn
[@stdlib/stats/strided/dnanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/strided/dnanmeanpn

[@stdlib/stats/base/nanmeanpn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/nanmeanpn

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

// MODULES //

var dnanmeanpn = require( '@stdlib/stats/base/dnanmeanpn' ).ndarray;
var dnanmeanpn = require( '@stdlib/stats/strided/dnanmeanpn' ).ndarray;


// MAIN //
Expand Down
8 changes: 4 additions & 4 deletions lib/node_modules/@stdlib/stats/strided/dnanmean/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"dependencies": [
"@stdlib/blas/base/shared",
"@stdlib/strided/base/stride2offset",
"@stdlib/stats/base/dnanmeanpn",
"@stdlib/stats/strided/dnanmeanpn",
"@stdlib/napi/export",
"@stdlib/napi/argv",
"@stdlib/napi/argv-int64",
Expand All @@ -62,7 +62,7 @@
"dependencies": [
"@stdlib/blas/base/shared",
"@stdlib/strided/base/stride2offset",
"@stdlib/stats/base/dnanmeanpn"
"@stdlib/stats/strided/dnanmeanpn"
]
},
{
Expand All @@ -79,7 +79,7 @@
"dependencies": [
"@stdlib/blas/base/shared",
"@stdlib/strided/base/stride2offset",
"@stdlib/stats/base/dnanmeanpn"
"@stdlib/stats/strided/dnanmeanpn"
]
},
{
Expand All @@ -96,7 +96,7 @@
"dependencies": [
"@stdlib/blas/base/shared",
"@stdlib/strided/base/stride2offset",
"@stdlib/stats/base/dnanmeanpn"
"@stdlib/stats/strided/dnanmeanpn"
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/stats/strided/dnanmean/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include "stdlib/stats/strided/dnanmean.h"
#include "stdlib/stats/base/dnanmeanpn.h"
#include "stdlib/stats/strided/dnanmeanpn.h"
#include "stdlib/blas/base/shared.h"
#include "stdlib/strided/base/stride2offset.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The [arithmetic mean][arithmetic-mean] is defined as
```

<!-- <div class="equation" align="center" data-raw-text="\mu = \frac{1}{n} \sum_{i=0}^{n-1} x_i" data-equation="eq:arithmetic_mean">
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@939b3065109682bbaf70403aba5b13b054107b3e/lib/node_modules/@stdlib/stats/base/dnanmeanpn/docs/img/equation_arithmetic_mean.svg" alt="Equation for the arithmetic mean.">
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@939b3065109682bbaf70403aba5b13b054107b3e/lib/node_modules/@stdlib/stats/strided/dnanmeanpn/docs/img/equation_arithmetic_mean.svg" alt="Equation for the arithmetic mean.">
<br>
</div> -->

Expand All @@ -48,7 +48,7 @@ The [arithmetic mean][arithmetic-mean] is defined as
## Usage

```javascript
var dnanmeanpn = require( '@stdlib/stats/base/dnanmeanpn' );
var dnanmeanpn = require( '@stdlib/stats/strided/dnanmeanpn' );
```

#### dnanmeanpn( N, x, strideX )
Expand Down Expand Up @@ -152,7 +152,7 @@ var v = dnanmeanpn.ndarray( 5, x, 2, 1 );
var randu = require( '@stdlib/random/base/randu' );
var round = require( '@stdlib/math/base/special/round' );
var Float64Array = require( '@stdlib/array/float64' );
var dnanmeanpn = require( '@stdlib/stats/base/dnanmeanpn' );
var dnanmeanpn = require( '@stdlib/stats/strided/dnanmeanpn' );

var x;
var i;
Expand Down Expand Up @@ -198,7 +198,7 @@ console.log( v );
### Usage

```c
#include "stdlib/stats/base/dnanmeanpn.h"
#include "stdlib/stats/strided/dnanmeanpn.h"
```

#### stdlib_strided_dnanmeanpn( N, \*X, strideX )
Expand Down Expand Up @@ -263,7 +263,7 @@ double stdlib_strided_dnanmeanpn_ndarray( const CBLAS_INT N, const double *X, co
### Examples

```c
#include "stdlib/stats/base/dnanmeanpn.h"
#include "stdlib/stats/strided/dnanmeanpn.h"
#include <stdio.h>

int main( void ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

#include "stdlib/stats/base/dnanmeanpn.h"
#include "stdlib/stats/strided/dnanmeanpn.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

#include "stdlib/stats/base/dnanmeanpn.h"
#include "stdlib/stats/strided/dnanmeanpn.h"
#include <stdio.h>

int main( void ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* limitations under the License.
*/

#ifndef STDLIB_STATS_BASE_DNANMEANPN_H
#define STDLIB_STATS_BASE_DNANMEANPN_H
#ifndef STDLIB_STATS_STRIDED_DNANMEANPN_H
#define STDLIB_STATS_STRIDED_DNANMEANPN_H

#include "stdlib/blas/base/shared.h"

Expand All @@ -42,4 +42,4 @@ double API_SUFFIX(stdlib_strided_dnanmeanpn_ndarray)( const CBLAS_INT N, const d
}
#endif

#endif // !STDLIB_STATS_BASE_DNANMEANPN_H
#endif // !STDLIB_STATS_STRIDED_DNANMEANPN_H
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
/**
* Compute the arithmetic mean of a double-precision floating-point strided array, ignoring `NaN` values and using a two-pass error correction algorithm.
*
* @module @stdlib/stats/base/dnanmeanpn
* @module @stdlib/stats/strided/dnanmeanpn
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
* var dnanmeanpn = require( '@stdlib/stats/base/dnanmeanpn' );
* var dnanmeanpn = require( '@stdlib/stats/strided/dnanmeanpn' );
*
* var x = new Float64Array( [ 1.0, -2.0, NaN, 2.0 ] );
*
Expand All @@ -34,7 +34,7 @@
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
* var dnanmeanpn = require( '@stdlib/stats/base/dnanmeanpn' );
* var dnanmeanpn = require( '@stdlib/stats/strided/dnanmeanpn' );
*
* var x = new Float64Array( [ 2.0, 1.0, 2.0, -2.0, -2.0, 2.0, 3.0, 4.0, NaN, NaN ] );
*
Expand Down
Loading
Loading