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 2020#include "stdlib/math/base/special/ln.h"
2121#include <stdlib.h>
2222#include <stdio.h>
23- #include <math.h>
2423
2524static double random_uniform ( const double min , const double max ) {
2625 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" {
2727#endif
2828
2929/**
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 `.
3131*/
3232double stdlib_base_dists_geometric_mgf ( const double t , const double p );
3333
You can’t perform that action at this time.
0 commit comments