/third_party/boost/libs/math/test/ |
D | test_bessel_hooks.hpp | 19 inline float cyl_bessel_j(float a, float x) in cyl_bessel_j() function 21 inline double cyl_bessel_j(double a, double x) in cyl_bessel_j() function 23 inline long double cyl_bessel_j(long double a, long double x) in cyl_bessel_j() function 53 inline float cyl_bessel_j(float a, float x) in cyl_bessel_j() function 55 inline double cyl_bessel_j(double a, double x) in cyl_bessel_j() function 57 inline long double cyl_bessel_j(long double a, long double x) in cyl_bessel_j() function 86 …boost::math::concepts::real_concept cyl_bessel_j(boost::math::concepts::real_concept, boost::math:… in cyl_bessel_j() function
|
D | test_recurrence.cpp | 117 T first = boost::math::cyl_bessel_j(v + 1, x); in test_spots() 118 T second = boost::math::cyl_bessel_j(v, x); in test_spots() 120 T expected1 = boost::math::cyl_bessel_j(v - 6, x); in test_spots() 121 T expected2 = boost::math::cyl_bessel_j(v - 5, x); in test_spots() 128 expected1 = boost::math::cyl_bessel_j(v - i, x); in test_spots() 136 first = boost::math::cyl_bessel_j(v, x); in test_spots() 137 second = boost::math::cyl_bessel_j(v - 1, x); in test_spots() 140 …tor< bessel_jy_recurrence<T> > it2(bessel_jy_recurrence<T>(v, x), boost::math::cyl_bessel_j(v, x)); in test_spots() 144 expected1 = boost::math::cyl_bessel_j(v - i, x); in test_spots()
|
D | test_tr1.cpp | 502 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(2457)/1024, static_cast<float>(1)/1024), st… in test_values() 503 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(5.5), static_cast<float>(3217)/1024), stati… in test_values() 504 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(-5.5), static_cast<float>(3217)/1024), stat… in test_values() 505 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(-5.5), static_cast<float>(1e+04)), static_c… in test_values() 506 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(5.5), static_cast<float>(1e+04)), static_ca… in test_values() 507 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(5.5), static_cast<float>(1e+06)), static_ca… in test_values() 508 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(5.125), static_cast<float>(1e+06)), static_… in test_values() 509 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(5.875), static_cast<float>(1e+06)), static_… in test_values() 510 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(0.5), static_cast<float>(101)), static_cast… in test_values() 511 …BOOST_CHECK_CLOSE(tr1::cyl_bessel_j(static_cast<float>(-5.5), static_cast<float>(1e+04)), static_c… in test_values() [all …]
|
D | test_bessel_j.hpp | 34 pg funcp = boost::math::cyl_bessel_j<value_type, value_type>; in do_test_cyl_bessel_j() 36 pg funcp = boost::math::cyl_bessel_j; in do_test_cyl_bessel_j() 63 return static_cast<T>(boost::math::cyl_bessel_j(boost::math::itrunc(v), x)); in cyl_bessel_j_int_wrapper() 270 BOOST_MATH_CHECK_THROW(boost::math::cyl_bessel_j(T(-2.5), T(0)), std::domain_error); in test_bessel() 271 BOOST_MATH_CHECK_THROW(boost::math::cyl_bessel_j(T(-2.5), T(-2)), std::domain_error); in test_bessel() 272 BOOST_MATH_CHECK_THROW(boost::math::cyl_bessel_j(T(2.5), T(-2)), std::domain_error); in test_bessel()
|
D | test_tr1.c | 573 …check_close(cyl_bessel_j(2457/1024.0, 1/1024.0), 3.80739920118603335646474073457326714709615200130… in test_values() 574 …check_close(cyl_bessel_j(5.5, 3217.0/1024), 0.0281933076257506091621579544064767140470089107926550… in test_values() 575 …check_close(cyl_bessel_j(-5.5, 3217.0/1024), -2.55820064470647911823175836997490971806135336759164… in test_values() 576 …check_close(cyl_bessel_j(-5.5, 1e+04), 2.449843111985605522111159013846599118397e-03, eps * 5000, … in test_values() 577 …check_close(cyl_bessel_j(5.5, 1e+04), 0.0075934350272267036139558519815481704718548014729466527064… in test_values() 578 …check_close(cyl_bessel_j(5.5, 1e+06), -0.000747424248595630177396350688505919533097973148718960064… in test_values() 579 …check_close(cyl_bessel_j(5.125, 1e+06), -0.0007766001248357042806336409113296916427487836631982073… in test_values() 580 …check_close(cyl_bessel_j(5.875, 1e+06), -0.0004663227211151930716310085815295030958197050884843864… in test_values() 581 …check_close(cyl_bessel_j(0.5, 101), 0.035887448787564382202049667769242928786341955569944706622640… in test_values() 582 …check_close(cyl_bessel_j(-5.5, 1e+04), 0.002449843111985605522111159013846599118397376866767664608… in test_values() [all …]
|
D | test_policy_sf.cpp | 124 TEST_POLICY_SF(cyl_bessel_j(2.0, 5.0)); in BOOST_AUTO_TEST_CASE() 125 TEST_POLICY_SF(cyl_bessel_j(2, 5.0)); in BOOST_AUTO_TEST_CASE()
|
D | test_numerical_differentiation.cpp | 23 using boost::math::cyl_bessel_j; 33 auto f = [](Real t) { return boost::math::cyl_bessel_j<Real>(1, t); }; in test_order() 94 auto f = [](Real t) { return boost::math::cyl_bessel_j(12, t); }; in test_bessel()
|
/third_party/boost/libs/math/doc/overview/ |
D | result_type_calc.qbk | 49 cyl_bessel_j(2.0f, 3.0f); 64 cyl_bessel_j(0, boost::multiprecision::cpp_bin_quad_float(2)); 66 cyl_bessel_j(boost::multiprecision::cpp_bin_quad_float(2), 3); 68 …cyl_bessel_j(boost::multiprecision::cpp_bin_quad_float(2), boost::multiprecision::cpp_bin_quad_flo… 78 cyl_bessel_j(0, NTL::RR(2)); 80 cyl_bessel_j(NTL::RR(2), 3); 82 cyl_bessel_j(NTL::quad_float(2), NTL::RR(3));
|
/third_party/boost/libs/math/reporting/performance/ |
D | test_jv.cpp | 58 …screen_data([](const std::vector<double>& v){ return boost::math::cyl_bessel_j(v[0], v[1]); }, [… in main() 62 …screen_data([](const std::vector<double>& v){ return std::tr1::cyl_bessel_j(v[0], v[1]); }, [](c… in main() 79 …time = exec_timed_test([](const std::vector<double>& v){ return boost::math::cyl_bessel_j(v[0], v… in main() 91 …time = exec_timed_test([](const std::vector<double>& v){ return boost::math::cyl_bessel_j(v[0], v… in main() 102 …time = exec_timed_test([](const std::vector<double>& v){ return std::tr1::cyl_bessel_j(v[0], v[1]… in main()
|
D | test_jn.cpp | 96 …screen_data([](const std::vector<double>& v){ return boost::math::cyl_bessel_j(static_cast<int>(v… in main() 103 …screen_data([](const std::vector<double>& v){ return std::tr1::cyl_bessel_j(static_cast<int>(v[0]… in main() 118 …time = exec_timed_test([](const std::vector<double>& v){ return boost::math::cyl_bessel_j(static_… in main() 134 …time = exec_timed_test([](const std::vector<double>& v){ return boost::math::cyl_bessel_j(static_… in main() 150 …time = exec_timed_test([](const std::vector<double>& v){ return std::tr1::cyl_bessel_j(static_cas… in main()
|
/third_party/boost/libs/math/test/compile_test/ |
D | sf_bessel_incl_test.cpp | 18 check_result<float>(boost::math::cyl_bessel_j<float>(f, f)); in compile_and_link_test() 19 check_result<double>(boost::math::cyl_bessel_j<double>(d, d)); in compile_and_link_test() 21 check_result<long double>(boost::math::cyl_bessel_j<long double>(l, l)); in compile_and_link_test()
|
D | tr1_incl_test.cpp | 82 check_result<float>(boost::math::tr1::cyl_bessel_j(f, f)); in compile_and_link_test() 84 check_result<double>(boost::math::tr1::cyl_bessel_j(d, d)); in compile_and_link_test() 85 check_result<long double>(boost::math::tr1::cyl_bessel_j(l, l)); in compile_and_link_test() 87 check_result<double>(boost::math::tr1::cyl_bessel_j(ui, ui)); in compile_and_link_test() 88 check_result<double>(boost::math::tr1::cyl_bessel_j(i, ui)); in compile_and_link_test() 89 check_result<double>(boost::math::tr1::cyl_bessel_j(f, d)); in compile_and_link_test() 90 check_result<long double>(boost::math::tr1::cyl_bessel_j(l, d)); in compile_and_link_test()
|
/third_party/boost/boost/math/special_functions/ |
D | airy.hpp | 30 T j1 = boost::math::cyl_bessel_j(v, p, pol); in airy_ai_imp() 31 T j2 = boost::math::cyl_bessel_j(-v, p, pol); in airy_ai_imp() 68 T j1 = boost::math::cyl_bessel_j(v, p, pol); in airy_bi_imp() 69 T j2 = boost::math::cyl_bessel_j(-v, p, pol); in airy_bi_imp() 101 T j1 = boost::math::cyl_bessel_j(v, p, pol); in airy_ai_prime_imp() 102 T j2 = boost::math::cyl_bessel_j(-v, p, pol); in airy_ai_prime_imp() 136 T j1 = boost::math::cyl_bessel_j(v, p, pol); in airy_bi_prime_imp() 137 T j2 = boost::math::cyl_bessel_j(-v, p, pol); in airy_bi_prime_imp()
|
/third_party/boost/boost/math/special_functions/detail/ |
D | bessel_jy_zero.hpp | 192 return boost::math::cyl_bessel_j(my_v, x, my_pol); in operator ()() 222 j_v = boost::math::cyl_bessel_j(0, x, my_pol); in operator ()() 223 j_v_prime = -boost::math::cyl_bessel_j(1, x, my_pol); in operator ()() 227 j_v = boost::math::cyl_bessel_j( my_v, x, my_pol); in operator ()() 228 const T j_v_m1 (boost::math::cyl_bessel_j(T(my_v - 1), x, my_pol)); in operator ()() 292 … const bool hi_end_of_bracket_is_negative = (boost::math::cyl_bessel_j(v, root_hi, pol) < 0); in initial_guess() 296 … const bool lo_end_of_bracket_is_negative = (boost::math::cyl_bessel_j(v, root_lo, pol) < 0); in initial_guess()
|
D | hypergeometric_1F1_large_a.hpp | 25 T result = boost::math::cyl_bessel_j(b - 1, sqrt(2 * z * (b - 2 * a)), pol); in hypergeometric_1F1_large_neg_a_asymtotic_dlmf_13_8_9()
|
D | hypergeometric_1F1_bessel.hpp | 73 …bessel_cache[cache_size - 1] = bessel_arg > 0 ? boost::math::cyl_bessel_j(b_minus_1_plus_n - 1, 2 … in hypergeometric_1F1_AS_13_3_7_tricomi_series() 208 bessel_cache[1] = cyl_bessel_j(b_minus_1_plus_n + 1, 2 * sqrt(bessel_arg), pol); in refill_cache() 213 … bessel_cache[pos + 1] = cyl_bessel_j(b_minus_1_plus_n + pos + 1, 2 * sqrt(bessel_arg), pol); in refill_cache() 233 … ratio = cyl_bessel_j(b_minus_1_plus_n + pos, 2 * sqrt(bessel_arg), pol) / bessel_cache[pos]; in refill_cache() 309 …rg < 0 ? cyl_bessel_i(b_minus_1_plus_n, 2 * sqrt(-bessel_arg), pol) : cyl_bessel_j(b_minus_1_plus_… in refill_cache() 618 … T result = C_minus_2 * power_term * boost::math::cyl_bessel_j(bessel_order, bessel_arg, pol);
|
D | hypergeometric_0F1_bessel.hpp | 27 boost::math::cyl_bessel_j(b - 1, 2 * sqrt_z, pol) : in hypergeometric_0F1_bessel()
|
/third_party/boost/libs/multiprecision/example/ |
D | floating_point_examples.cpp | 80 return boost::math::tgamma(v + 1) * boost::math::cyl_bessel_j(v, z) / std::pow(z / 2, v); in JEL1() 101 …return boost::math::tgamma(v + 1) * boost::math::cyl_bessel_j(v, z) / boost::multiprecision::pow(z… in JEL2() 133 return boost::math::tgamma(v + 1) * boost::math::cyl_bessel_j(v, z) / pow(z / 2, v); in JEL3() 181 return boost::math::tgamma(v + 1) * boost::math::cyl_bessel_j(v, z) / pow(z / 2, v); in JEL4() 663 std::cout << boost::math::cyl_bessel_j(2, mp_type(123) / 100) << std::endl; in main()
|
/third_party/boost/libs/multiprecision/performance/ |
D | sf_performance.hpp | 105 … r += boost::math::cyl_bessel_j(Real(bessel_j_int_data[i][0]), Real(bessel_j_int_data[i][1])); in test_bessel() 111 r += boost::math::cyl_bessel_j(Real(bessel_j_data[i][0]), Real(bessel_j_data[i][1])); in test_bessel() 117 … r += boost::math::cyl_bessel_j(Real(bessel_j_large_data[i][0]), Real(bessel_j_large_data[i][1])); in test_bessel()
|
/third_party/boost/libs/multiprecision/test/concepts/ |
D | sf_concept_check_bessel.cpp | 74 boost::math::cyl_bessel_j(v1, v2); in test_extra() 75 boost::math::cyl_bessel_j(i, v2); in test_extra()
|
/third_party/boost/libs/math/src/tr1/ |
D | cyl_bessel_jl.cpp | 16 return c_policies::cyl_bessel_j BOOST_PREVENT_MACRO_SUBSTITUTION(nu, x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
D | cyl_bessel_jf.cpp | 16 return c_policies::cyl_bessel_j BOOST_PREVENT_MACRO_SUBSTITUTION(nu, x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
D | cyl_bessel_j.cpp | 16 return c_policies::cyl_bessel_j BOOST_PREVENT_MACRO_SUBSTITUTION(nu, x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
|
/third_party/boost/libs/math/tools/ |
D | bessel_derivative_data.cpp | 28 return (v / x) * boost::math::cyl_bessel_j(v, x) - boost::math::cyl_bessel_j(v+1, x); in bessel_j_derivative_bare()
|
D | bessel_derivative_data_from_bessel_ipps.cpp | 26 return (v / x) * boost::math::cyl_bessel_j(v, x) - boost::math::cyl_bessel_j(v+1, x); in bessel_j_derivative_bare()
|