SciPy

scipy.special.cosm1

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

cos(x) - 1 for use when x is near zero.

Previous topic

scipy.special.expm1

Next topic

scipy.special.round