math.erf(x)
Return the error function at x.
The erf()
function can be used to compute traditional statistical functions such as the cumulative standard normal distribution:
def phi(x): 'Cumulative distribution function for the standard normal distribution' return (1.0 + erf(x / sqrt(2.0))) / 2.0
New in version 3.2.
Please login to continue.