'use strict';

/*
* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
*/

// MODULES //

var setReadOnly = require( '@stdlib/utils/define-read-only-property' );


// MAIN //

/**
* Top-level namespace.
*
* @namespace discreteUniform
*/
var discreteUniform = {};

/**
* @name kurtosis
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/kurtosis}
*/
setReadOnly( discreteUniform, 'kurtosis', require( '@stdlib/math/base/dists/discrete-uniform/kurtosis' ) );

/**
* @name mean
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/mean}
*/
setReadOnly( discreteUniform, 'mean', require( '@stdlib/math/base/dists/discrete-uniform/mean' ) );

/**
* @name median
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/median}
*/
setReadOnly( discreteUniform, 'median', require( '@stdlib/math/base/dists/discrete-uniform/median' ) );

/**
* @name skewness
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/skewness}
*/
setReadOnly( discreteUniform, 'skewness', require( '@stdlib/math/base/dists/discrete-uniform/skewness' ) );

/**
* @name stdev
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/stdev}
*/
setReadOnly( discreteUniform, 'stdev', require( '@stdlib/math/base/dists/discrete-uniform/stdev' ) );

/**
* @name variance
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/variance}
*/
setReadOnly( discreteUniform, 'variance', require( '@stdlib/math/base/dists/discrete-uniform/variance' ) );


// EXPORTS //

module.exports = discreteUniform;

'use strict';

/*
* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
*/

// MODULES //

var setReadOnly = require( '@stdlib/utils/define-read-only-property' );


// MAIN //

/**
* Top-level namespace.
*
* @namespace discreteUniform
*/
var discreteUniform = {};

/**
* @name entropy
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/entropy}
*/
setReadOnly( discreteUniform, 'entropy', require( '@stdlib/math/base/dists/discrete-uniform/entropy' ) );

/**
* @name kurtosis
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/kurtosis}
*/
setReadOnly( discreteUniform, 'kurtosis', require( '@stdlib/math/base/dists/discrete-uniform/kurtosis' ) );

/**
* @name mean
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/mean}
*/
setReadOnly( discreteUniform, 'mean', require( '@stdlib/math/base/dists/discrete-uniform/mean' ) );

/**
* @name median
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/median}
*/
setReadOnly( discreteUniform, 'median', require( '@stdlib/math/base/dists/discrete-uniform/median' ) );

/**
* @name mgf
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/mgf}
*/
setReadOnly( discreteUniform, 'mgf', require( '@stdlib/math/base/dists/discrete-uniform/mgf' ) );

/**
* @name skewness
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/skewness}
*/
setReadOnly( discreteUniform, 'skewness', require( '@stdlib/math/base/dists/discrete-uniform/skewness' ) );

/**
* @name stdev
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/stdev}
*/
setReadOnly( discreteUniform, 'stdev', require( '@stdlib/math/base/dists/discrete-uniform/stdev' ) );

/**
* @name variance
* @memberof discreteUniform
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/dists/discrete-uniform/variance}
*/
setReadOnly( discreteUniform, 'variance', require( '@stdlib/math/base/dists/discrete-uniform/variance' ) );


// EXPORTS //

module.exports = discreteUniform;

Add MGF to distribution namespace