W3cubDocs

/Statsmodels

statsmodels.tools.tools.recipr0

statsmodels.tools.tools.recipr0(x) [source]

Return the reciprocal of an array, setting all entries equal to 0 as 0. It does not assume that X should be positive in general.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.tools.tools.recipr0.html