lib/accessor.js
/**
* FUNCTION: cdf( out, arr, alpha, beta, accessor )
*	Evaluates the cumulative distribution function (CDF) for a Gamma distribution with shape parameter `alpha` and rate parameter `beta` using an accessor function.
*
* @param {Array|Int8Array|Uint8Array|Uint8ClampedArray|Int16Array|Uint16Array|Int32Array|Uint32Array|Float32Array|Float64Array} out - output array
* @param {Array} arr - input array
* @param {Number} alpha - shape parameter
* @param {Number} beta - rate parameter
* @param {Function} accessor - accessor function for accessing array values
* @returns {Number[]|Int8Array|Uint8Array|Uint8ClampedArray|Int16Array|Uint16Array|Int32Array|Uint32Array|Float32Array|Float64Array} output array
*/
cdf( out, arr, alpha, beta, accessor )
Evaluates the cumulative distribution function (CDF) for a Gamma distribution with shape parameter `alpha` and rate parameter `beta` using an accessor function.
cdf ( out arr alpha beta accessor ) Evaluates the cumulative distribution function ( CDF ) for a Gamma distribution with shape parameter ` alpha ` and rate parameter ` beta ` using an accessor function .
function cdf( y, x, alpha, beta, clbk ) {
	var len = x.length,
		fcn,
		v, i;
	fcn = partial( alpha, beta );
	for ( i = 0; i < len; i++ ) {
		v = clbk( x[ i ], i );
		if ( typeof v === 'number' ) {
			y[ i ] = fcn( v );
		} else {
			y[ i ] = NaN;
		}
	}
	return y;
} 
function cdf ( y , x , alpha , beta , clbk ) { var len = x . length , fcn , v , i ; fcn = partial ( alpha , beta ) ; for ( i = 0 ; i < len ; i ++ ) { v = clbk ( x [ i ] , i ) ; if ( typeof v === 'number' ) { y [ i ] = fcn ( v ) ; } else { y [ i ] = NaN ; } } return y ; }
FUNCTION: cdf( out, arr, alpha, beta, accessor )
Evaluates the cumulative distribution function (CDF) for a Gamma distribution with shape parameter `alpha` and rate parameter `beta` using an accessor function.
FUNCTION : cdf ( out arr alpha beta accessor ) Evaluates the cumulative distribution function ( CDF ) for a Gamma distribution with shape parameter ` alpha ` and rate parameter ` beta ` using an accessor function .
// end FUNCTION cdf()