Skip to content

Commit 5fcc133

Browse files
committed
fix: fixing redme error
1 parent 2df48ca commit 5fcc133

File tree

1 file changed

+4
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf

1 file changed

+4
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ y = cdf( 2.0, 0.0 );
103103
Returns a function for evaluating the [cumulative distribution function][cdf] of a [Rayleigh][rayleigh-distribution] distribution with parameter `sigma` (scale parameter).
104104

105105
```javascript
106-
var myCDF = cdf.factory( 0.5 );
106+
var y;
107+
var myCDF;
108+
myCDF = cdf.factory( 0.5 );
107109
y = myCDF( 1.0 );
108110
// returns ~0.865
109111

@@ -168,7 +170,7 @@ for ( i = 0; i < 10; i++ ) {
168170
#include "stdlib/stats/base/dists/rayleigh/cdf.h"
169171
```
170172

171-
#### stdlib_base_dists_rayleigh_cdf( x, a, b )
173+
#### stdlib_base_dists_rayleigh_cdf( x, sigma )
172174

173175
Evaluates the cumulative distribution function (CDF) for an Rayleigh distribution.
174176

0 commit comments

Comments
 (0)