Evaluates the moment-generating function (MGF) of a Bernoulli distribution.
input value
evaluated MGF
Bernoulli distribution moment-generating function (MGF).
success probability
Evaluates the moment-generating function (MGF) of a Bernoulli distribution.
input value
evaluated MGF