def std_cdf(x):
 return (0.5 + (0.5 * tt.erf((x / tt.sqrt(2.0)))))

def std_cdf ( x ) : return ( 0.5 + ( 0.5 * tt . erf ( ( x / tt . sqrt ( 2.0 ) ) ) ) )
calculates the standard normal cumulative distribution function .