def fresnel_zeros(nt): """Compute nt complex zeros of the sine and cosine fresnel integrals S(z) and C(z). """ if (floor(nt)!=nt) or (nt<=0) or not isscalar(nt): raise ValueError("Argument must be positive scalar integer.") return specfun.fcszo(2,nt), specfun.fcszo(1,nt)
def fresnel_zeros(nt): """Compute nt complex zeros of the sine and cosine fresnel integrals S(z) and C(z). """ if (floor(nt) != nt) or (nt <= 0) or not isscalar(nt): raise ValueError, "Argument must be positive scalar integer." return specfun.fcszo(2, nt), specfun.fcszo(1, nt)
def fresnelc_zeros(nt): """Compute nt complex zeros of the cosine fresnel integral C(z). """ if (floor(nt)!=nt) or (nt<=0) or not isscalar(nt): raise ValueError, "Argument must be positive scalar integer." return specfun.fcszo(1,nt)
def fresnelc_zeros(nt): """Compute nt complex zeros of the cosine fresnel integral C(z). """ if (floor(nt) != nt) or (nt <= 0) or not isscalar(nt): raise ValueError("Argument must be positive scalar integer.") return specfun.fcszo(1, nt)