Lines Matching refs:k
98 double k= 0.0; in BesselJ() local
124 k = 2.0; in BesselJ()
130 for (k =1.0; k<= N-1; k = k + 1.0) in BesselJ()
132 m_bar=2.0 * fmod(k-1.0, 2.0) * f_bar; in BesselJ()
134 g_bar = m_bar - 2.0*k/fX + g; in BesselJ()
141 m_bar=2.0 * fmod(k-1.0, 2.0) * f_bar; in BesselJ()
143 g_bar = m_bar - 2.0*k/fX + g; in BesselJ()
148 k = k + 1.0; in BesselJ()
153 m_bar = 2.0 * fmod(k-1.0, 2.0) * f_bar; in BesselJ()
155 g_bar = m_bar - 2.0*k/fX + g; in BesselJ()
161 k = k + 1.0; in BesselJ()
163 while (!bHasfound && k <= fMaxIteration); in BesselJ()
354 double k = 1.0; in Bessely0() local
365 k = k + 1; in Bessely0()
368 km1mod2 = fmod(k-1.0,2.0); in Bessely0()
374 alpha = sign_alpha * (4.0/k); in Bessely0()
378 g_bar = m_bar - (2.0*k)/fX + g; in Bessely0()
384 k=k+1; in Bessely0()
386 while (!bHasFound && k<fMaxIteration); in Bessely0()
409 double k = 1.0; in Bessely1() local
422 k = k + 1.0; in Bessely1()
425 km1mod2 = fmod(k-1.0,2.0); in Bessely1()
427 q = (k-1.0)/2.0; in Bessely1()
436 g_bar = m_bar - (2.0*k)/fX + g; in Bessely1()
442 k=k+1; in Bessely1()
444 while (!bHasFound && k<fMaxIteration); in Bessely1()