old_contents: 'use strict';
  
  /**
  * Evaluate the moment-generating function (MGF) for a beta distribution.
  *
  * @module @stdlib/math/base/dist/beta/mgf
  *
  * @example
  * var mgf = require( '@stdlib/math/base/dist/beta/mgf' );
  *
  * var y = mgf( 0.5, 1.0, 1.0 );
  * // returns ~1.297
  *
  * y = mgf( 0.5, 2.0, 4.0 );
  * // returns ~1.186
  *
  * y = mgf( 3.0, 2.0, 2.0 );
  * // returns ~5.575
  *
  * y = mgf( -0.8, 4.0, 4.0 );
  * // returns ~0.676
  *
  * var myMGF = mgf.factory( 0.5, 0.5 );
  *
  * y = myMGF( 0.8 );
  * // returns ~1.522
  *
  * y = myMGF( 0.3 );
  * // returns ~1.168
  */
  
  // MODULES //
  
  var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
  var mgf = require( './mgf.js' );
  var factory = require( './factory.js' );
  
  
  // MAIN //
  
  setReadOnly( mgf, 'factory', factory );
  
  
  // EXPORTS //
  
  module.exports = mgf;
  
new_contents: 'use strict';
  
  /**
  * Moment-generating function (MGF) for a beta distribution.
  *
  * @module @stdlib/math/base/dist/beta/mgf
  *
  * @example
  * var mgf = require( '@stdlib/math/base/dist/beta/mgf' );
  *
  * var y = mgf( 0.5, 1.0, 1.0 );
  * // returns ~1.297
  *
  * y = mgf( 0.5, 2.0, 4.0 );
  * // returns ~1.186
  *
  * y = mgf( 3.0, 2.0, 2.0 );
  * // returns ~5.575
  *
  * y = mgf( -0.8, 4.0, 4.0 );
  * // returns ~0.676
  *
  * @example
  * var factory = require( '@stdlib/math/base/dist/beta/mgf' ).factory;
  *
  * var mgf = factory( 0.5, 0.5 );
  *
  * var y = mgf( 0.8 );
  * // returns ~1.522
  *
  * y = mgf( 0.3 );
  * // returns ~1.168
  */
  
  // MODULES //
  
  var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
  var mgf = require( './mgf.js' );
  var factory = require( './factory.js' );
  
  
  // MAIN //
  
  setReadOnly( mgf, 'factory', factory );
  
  
  // EXPORTS //
  
  module.exports = mgf;
  
subject: Update example