Skip to content

Commit 650458c

Browse files
chore: update markdown description
1 parent 9cdc43c commit 650458c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/bernoulli/mgf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ for ( i = 0; i < 10; i++ ) {
168168

169169
#### stdlib_base_dists_bernoulli_mgf( t, p )
170170

171-
Evaluates the moment-generating function (MGF) for a Bernoulli distribution with success probability `p`.
171+
Evaluates the moment-generating function ([MGF][mgf]) of a [Bernoulli][bernoulli-distribution] distribution with success probability `p`.
172172

173173
```c
174174
double y = stdlib_base_dists_bernoulli_mgf( 0.2, 0.5 );
175-
// returns 1.111
175+
// returns ~1.111
176176
```
177177

178178
The function accepts the following arguments:

lib/node_modules/@stdlib/stats/base/dists/bernoulli/mgf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* @example
3131
* double y = stdlib_base_dists_bernoulli_mgf( 0.2, 0.5 );
32-
* // returns 1.111
32+
* // returns ~1.111
3333
*/
3434
double stdlib_base_dists_bernoulli_mgf( const double t, const double p ) {
3535
if (

0 commit comments

Comments
 (0)