Lines Matching defs:j0
12 /* j0(x), y0(x)
14 * Method -- j0(x):
15 * 1. For tiny x, we use j0(x) = 1 - x^2/4 + x^4/64 - ...
16 * 2. Reduce x to |x| since j0(x)=j0(-x), and
18 * j0(x) = 1-z/4+ z^2*R0/S0, where z = x*x;
19 * (precision: |j0-1+z/4-z^2R0/S0 |<2**-63.67 )
21 * j0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)-q0(x)*sin(x0))
33 * j0(nan)= nan
34 * j0(0) = 1
35 * j0(inf) = 0
40 * y0(x) = 2/pi*(j0(x)*(ln(x/2)+Euler) + x^2/4 - ...)
41 * therefore y0(x)-2/pi*j0(x)*ln(x) is an even function.
43 * y0(x) = U(z)/V(z) + (2/pi)*(j0(x)*ln(x)), z= x^2
48 * Note: For tiny x, U/V = u0 and j0(x)~1, hence
71 * j0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x-pi/4)-q0(x)*sin(x-pi/4))
111 double j0(double x)
119 /* j0(+-inf)=0, j0(nan)=nan */
179 /* U(x^2)/V(x^2) + (2/pi)*j0(x)*log(x) */
185 return u/v + tpi*(j0(x)*log(x));