You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,9 @@ y = cdf( 2.0, 0.0 );
103
103
Returns a function for evaluating the [cumulative distribution function][cdf] of a [Rayleigh][rayleigh-distribution] distribution with parameter `sigma` (scale parameter).
104
104
105
105
```javascript
106
-
var myCDF =cdf.factory( 0.5 );
106
+
var y;
107
+
var myCDF;
108
+
myCDF =cdf.factory( 0.5 );
107
109
y =myCDF( 1.0 );
108
110
// returns ~0.865
109
111
@@ -168,7 +170,7 @@ for ( i = 0; i < 10; i++ ) {
168
170
#include"stdlib/stats/base/dists/rayleigh/cdf.h"
169
171
```
170
172
171
-
#### stdlib_base_dists_rayleigh_cdf( x, a, b )
173
+
#### stdlib_base_dists_rayleigh_cdf( x, sigma )
172
174
173
175
Evaluates the cumulative distribution function (CDF) for an Rayleigh distribution.
0 commit comments