This is documentation for an old release of SciPy (version 0.12.0). Read this page in the documentation of the latest stable release (version 1.15.1).
Logit ufunc for ndarrays.
The logit function is defined as logit(p) = log(p/(1-p)). Note that logit(0) = -inf, logit(1) = inf, and logit(p) for p<0 or p>1 yields nan.
Parameters : | x : ndarray
|
---|---|
Returns : | out : ndarray
|
Notes
As a ufunc logit takes a number of optional keywork arguments. For more information see ufuncs