Skip to content

Commit dddbaa2

Browse files
fix: benchmarks
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: passed - task: run_c_examples status: passed - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: failed ---
1 parent fa22cd0 commit dddbaa2

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

lib/node_modules/@stdlib/stats/base/dvarmpn/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var dvarmpn = require( './../lib/dvarmpn.js' );
3131
// VARIABLES //
3232

3333
var options = {
34-
'dtype': 'float32'
34+
'dtype': 'float64'
3535
};
3636

3737

lib/node_modules/@stdlib/stats/base/dvarmpn/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var opts = {
3636
'skip': ( dvarmpn instanceof Error )
3737
};
3838
var options = {
39-
'dtype': 'float32'
39+
'dtype': 'float64'
4040
};
4141

4242

lib/node_modules/@stdlib/stats/base/dvarmpn/benchmark/benchmark.ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var dvarmpn = require( './../lib/ndarray.js' );
3131
// VARIABLES //
3232

3333
var options = {
34-
'dtype': 'float32'
34+
'dtype': 'float64'
3535
};
3636

3737

lib/node_modules/@stdlib/stats/base/dvarmpn/benchmark/benchmark.ndarray.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var opts = {
3636
'skip': ( dvarmpn instanceof Error )
3737
};
3838
var options = {
39-
'dtype': 'float32'
39+
'dtype': 'float64'
4040
};
4141

4242

lib/node_modules/@stdlib/stats/base/dvarmpn/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var linspace = require( '@stdlib/array/linspace' );
2222
var dvarmpn = require( './../lib' );
2323

2424
var options = {
25-
'dtype': 'float32'
25+
'dtype': 'float64'
2626
};
2727
var x = linspace( -5.0, 5.0, 10, options );
2828
console.log( x );

lib/node_modules/@stdlib/stats/base/dvarmpn/lib/dvarmpn.native.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ var addon = require( './../src/addon.node' );
2828
/**
2929
* Computes the variance of a double-precision floating-point strided array provided a known mean and using Neely's correction algorithm.
3030
*
31+
* ## References
32+
*
33+
* - Neely, Peter M. 1966. "Comparison of Several Algorithms for Computation of Means, Standard Deviations and Correlation Coefficients." _Communications of the ACM_ 9 (7). Association for Computing Machinery: 496–99. doi:[10.1145/365719.365958](https://doi.org/10.1145/365719.365958).
34+
* - Schubert, Erich, and Michael Gertz. 2018. "Numerically Stable Parallel Computation of (Co-)Variance." In _Proceedings of the 30th International Conference on Scientific and Statistical Database Management_. New York, NY, USA: Association for Computing Machinery. doi:[10.1145/3221269.3223036](https://doi.org/10.1145/3221269.3223036).
35+
*
3136
* @param {PositiveInteger} N - number of indexed elements
3237
* @param {number} mean - mean
3338
* @param {number} correction - degrees of freedom adjustment

0 commit comments

Comments
 (0)