Skip to content

Commit 089a106

Browse files
committed
Fix example code
1 parent 43554b6 commit 089a106

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/degenerate/logpmf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ var y = mylogpmf( 10.0 );
6161
y = mylogpmf( 5.0 );
6262
// returns -Infinity
6363

64-
y = mypmf( 12.0 );
64+
y = mylogpmf( 12.0 );
6565
// returns -Infinity
6666
```
6767

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ y = cdf( 2.0, 0.0, 0.0 );
9090
Returns a function for evaluating the [cumulative distribution function][cdf] of a [lognormal][lognormal-distribution] distribution with parameters `mu` (location parameter) and `sigma` (scale parameter).
9191

9292
```javascript
93-
var mycdf = factory( 3.0, 1.5 );
93+
var mycdf = cdf.factory( 3.0, 1.5 );
9494

9595
var y = mycdf( 1.0 );
9696
// returns ~0.023

lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ y = logpdf( 2.0, 0.0, 0.0 );
9393
Returns a function for evaluating the natural logarithm of the [probability density function][pdf] (PDF) of a [lognormal][lognormal-distribution] distribution with parameters `mu` (location parameter) and `sigma` (scale parameter).
9494

9595
```javascript
96-
var mylogpdf = factory( 4.0, 2.0 );
96+
var mylogpdf = logpdf.factory( 4.0, 2.0 );
9797
var y = mylogpdf( 10.0 );
9898
// returns ~-4.269
9999

lib/node_modules/@stdlib/stats/base/dists/lognormal/pdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ y = pdf( 2.0, 0.0, 0.0 );
9393
Returns a function for evaluating the [probability density function][pdf] (PDF) of a [lognormal][lognormal-distribution] distribution with parameters `mu` (location parameter) and `sigma` (scale parameter).
9494

9595
```javascript
96-
var mypdf = factory( 4.0, 2.0 );
96+
var mypdf = pdf.factory( 4.0, 2.0 );
9797
var y = mypdf( 10.0 );
9898
// returns ~0.014
9999

0 commit comments

Comments
 (0)