lib/partial.js
/**
* FUNCTION: partial( alpha, beta )
*	Partially applies shape parameter `alpha` and rate parameter `beta` and returns a function for evaluating the cumulative distribution function (CDF) for a Gamma distribution.
*
* @param {Number} alpha - shape parameter
* @param {Number} beta - rate parameter
* @returns {Function} CDF
*/
partial( alpha, beta )
Partially applies shape parameter `alpha` and rate parameter `beta` and returns a function for evaluating the cumulative distribution function (CDF) for a Gamma distribution.
partial ( alpha beta ) Partially applies shape parameter ` alpha ` and rate parameter ` beta ` and returns a function for evaluating the cumulative distribution function ( CDF ) for a Gamma distribution .
function partial( alpha, beta ) {
	return function cdf( x ) {
		if ( x <= 0 ) {
			return 0;
		}
		return gammainc( beta * x, alpha );
	};
} 
function partial ( alpha , beta ) { return function cdf ( x ) { if ( x <= 0 ) { return 0 ; } return gammainc ( beta * x , alpha ) ; } ; }
FUNCTION: partial( alpha, beta )
Partially applies shape parameter `alpha` and rate parameter `beta` and returns a function for evaluating the cumulative distribution function (CDF) for a Gamma distribution.
FUNCTION : partial ( alpha beta ) Partially applies shape parameter ` alpha ` and rate parameter ` beta ` and returns a function for evaluating the cumulative distribution function ( CDF ) for a Gamma distribution .
/**
	* FUNCTION: cdf( x )
	*	Evaluates the cumulative distribution function (CDF) for a Gamma distribution.
	*
	* @private
	* @param {Number} x - input value
	* @returns {Number} evaluated CDF
	*/ // end FUNCTION partial()