'use strict';

/**
* Weibull distribution probability density function (PDF).
*
* @module @stdlib/math/base/dist/weibull/pdf
*
* @example
* var pdf = require( '@stdlib/math/base/dist/weibull/pdf' );
*
* var y = pdf( 2.0, 0.5, 1.0 );
* // returns ~0.037
*
* var myPDF = pdf.factory( 6.0, 7.0 );
* y = myPDF( 7.0 );
* // returns ~0.155
*/

// MODULES //

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


// EXPORTS //

module.exports = require( './pdf.js' );
setReadOnly( module.exports, 'factory', require( './factory.js' ) );

'use strict';

/**
* Weibull distribution probability density function (PDF).
*
* @module @stdlib/math/base/dist/weibull/pdf
*
* @example
* var pdf = require( '@stdlib/math/base/dist/weibull/pdf' );
*
* var y = pdf( 2.0, 0.5, 1.0 );
* // returns ~0.037
*
* var myPDF = pdf.factory( 6.0, 7.0 );
* y = myPDF( 7.0 );
* // returns ~0.155
*/

// MODULES //

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


// METHODS //

setReadOnly( pdf, 'factory', factory );


// EXPORTS //

module.exports = pdf;

Improve code style in main export file
Improve code style in main export file
