File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
lib/node_modules/@stdlib/stats/base/dists/geometric/mgf
include/stdlib/stats/base/dists/geometric Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 20
20
#include "stdlib/math/base/special/ln.h"
21
21
#include <stdlib.h>
22
22
#include <stdio.h>
23
- #include <math.h>
24
23
25
24
static double random_uniform ( const double min , const double max ) {
26
25
double v = (double )rand () / ( (double )RAND_MAX + 1.0 );
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ extern "C" {
27
27
#endif
28
28
29
29
/**
30
- * Evaluates the moment-generating function (MGF) for the geometric distribution with probability `p` at a value `x `.
30
+ * Evaluates the moment-generating function (MGF) for the geometric distribution with probability `p` at a value `t `.
31
31
*/
32
32
double stdlib_base_dists_geometric_mgf ( const double t , const double p );
33
33
You can’t perform that action at this time.
0 commit comments