Skip to content

feat: refactor and add accessor protocol support to stats/base/nanvariancetk #6025

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
Apr 30, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
docs: update copy
Signed-off-by: Athan <[email protected]>
  • Loading branch information
kgryte authored Apr 30, 2025
commit ff5fedf92c4c49b5451a4157a3c97523e75ce876
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ var nanvariancetk = require( '@stdlib/stats/base/nanvariancetk' );

#### nanvariancetk( N, correction, x, strideX )

Computes the [variance][variance] of a strided array `x` ignoring `NaN` values and using a one-pass textbook algorithm.
Computes the [variance][variance] of a strided array ignoring `NaN` values and using a one-pass textbook algorithm.

```javascript
var x = [ 1.0, -2.0, NaN, 2.0 ];
Expand Down