Skip to content

Commit b34d5c3

Browse files
committed
docs: update stats/base/dists/truncated-normal to use Greek symbols
--- 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: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - 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 ---
1 parent ccb1a1b commit b34d5c3

File tree

2 files changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/truncated-normal/pdf

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/truncated-normal/pdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ for ( i = 0; i < 25; i++ ) {
137137
mu = ( randu() * 20.0 ) - 10.0;
138138
sigma = ( randu() * 10.0 ) + 2.0;
139139
y = pdf( x, a, b, mu, sigma );
140-
console.log( 'x: %d, a: %d, b: %d, mu: %d, sigma: %d, f(x;a,b,mu,sigma): %d', x.toFixed( 4 ), a.toFixed( 4 ), b.toFixed( 4 ), mu.toFixed( 4 ), sigma.toFixed( 4 ), y.toFixed( 4 ) );
140+
console.log( 'x: %d, a: %d, b: %d, µ: %d, σ: %d, f(x;a,b,µ,σ): %d', x.toFixed( 4 ), a.toFixed( 4 ), b.toFixed( 4 ), mu.toFixed( 4 ), sigma.toFixed( 4 ), y.toFixed( 4 ) );
141141
}
142142
```
143143

lib/node_modules/@stdlib/stats/base/dists/truncated-normal/pdf/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ for ( i = 0; i < 25; i++ ) {
3636
mu = ( randu() * 20.0 ) - 10.0;
3737
sigma = ( randu() * 10.0 ) + 2.0;
3838
y = pdf( x, a, b, mu, sigma );
39-
console.log( 'x: %d, a: %d, b: %d, mu: %d, sigma: %d, f(x;a,b,mu,sigma): %d', x.toFixed( 4 ), a.toFixed( 4 ), b.toFixed( 4 ), mu.toFixed( 4 ), sigma.toFixed( 4 ), y.toFixed( 4 ) );
39+
console.log( 'x: %d, a: %d, b: %d, µ: %d, σ: %d, f(x;a,b,µ,σ): %d', x.toFixed( 4 ), a.toFixed( 4 ), b.toFixed( 4 ), mu.toFixed( 4 ), sigma.toFixed( 4 ), y.toFixed( 4 ) );
4040
}

0 commit comments

Comments
 (0)