def erf_zeros(nt): """Compute nt complex zeros of the error function erf(z). """ if (floor(nt)!=nt) or (nt<=0) or not isscalar(nt): raise ValueError("Argument must be positive scalar integer.") return specfun.cerzo(nt)
def erf_zeros(nt): """Compute nt complex zeros of the error function erf(z). """ if (floor(nt) != nt) or (nt <= 0) or not isscalar(nt): raise ValueError, "Argument must be positive scalar integer." return specfun.cerzo(nt)