function mgf( t ) {
		var base;
		if ( isnan( t ) ) {
			return NaN;
		}
		base = 1.0 - p + (p * exp(t));
		return pow( base, n );
	}
Evaluates the moment-generating function (MGF) for a binomial distribution.

@private
@param {number} t - input value
@returns {number} evaluated MGF

@example
var y = mgf( 0.5 );
// returns <number>