File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/node_modules/@stdlib/stats/base/dists/bernoulli/mgf Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
174174double y = stdlib_base_dists_bernoulli_mgf( 0.2 , 0.5 );
175- // returns 1.111
175+ // returns ~ 1.111
176176```
177177
178178The function accepts the following arguments:
Original file line number Diff line number Diff line change 2929*
3030* @example
3131* double y = stdlib_base_dists_bernoulli_mgf( 0.2, 0.5 );
32- * // returns 1.111
32+ * // returns ~ 1.111
3333*/
3434double stdlib_base_dists_bernoulli_mgf ( const double t , const double p ) {
3535 if (
You can’t perform that action at this time.
0 commit comments