SciPy

scipy.special.exprel

scipy.special.exprel(x) = <ufunc 'exprel'>

Relative error exponential, (exp(x)-1)/x, for use when x is near zero.

Parameters:

x : ndarray

Input array.

Returns:

res : ndarray

Output array.

See also

expm1,

Previous topic

scipy.special.logsumexp

Next topic

scipy.special.sinc