Skip to content

Commit 5532193

Browse files
committed
update index.js
1 parent 55ca3e4 commit 5532193

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

  • lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance

lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ Returns the variance for a [half-normal][half-normal-distribution] distribution
174174
double out = stdlib_base_dists_halfnormal_variance( 1.0 );
175175
// returns ~0.3633802276
176176
```
177+
177178
The function accepts the following arguments:
178179

179180
- **sigma**: `[in] double` scale parameter.

lib/node_modules/@stdlib/stats/base/dists/halfnormal/variance/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ var opts = {
2727
};
2828
var sigma = uniform( 10, 0.0, 20.0, opts );
2929

30-
logEachMap( 'σ: %0.4f, Var(X;σ): %0.4f', sigma, variance );
30+
logEachMap( 'σ: %lf, Var(X;σ): %lf', sigma, variance );

0 commit comments

Comments
 (0)