new expon()
- Source
Methods
(static) dist(x, lambda, cumulative) → {number}
Returns the exponential distribution.
Parameters:
Name | Type | Description |
---|---|---|
x | number | The value of the function. |
lambda | number | The parameter value. |
cumulative | boolean | A logical value that indicates which form of the exponential function to provide. If cumulative is TRUE, EXPON.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function. |
- Source
Returns:
the exponential distribution or an error if the arguments are incorrect.
- Type:
- number