Home
last modified time | relevance | path

Searched refs:ellint_2 (Results 1 – 25 of 40) sorted by relevance

12

/third_party/boost/libs/math/test/compile_test/
Dsf_ellint_2_incl_test.cpp18 check_result<float>(boost::math::ellint_2<float>(f, f)); in compile_and_link_test()
19 check_result<double>(boost::math::ellint_2<double>(d, d)); in compile_and_link_test()
21 check_result<long double>(boost::math::ellint_2<long double>(l, l)); in compile_and_link_test()
24 check_result<float>(boost::math::ellint_2<float>(f)); in compile_and_link_test()
25 check_result<double>(boost::math::ellint_2<double>(d)); in compile_and_link_test()
27 check_result<long double>(boost::math::ellint_2<long double>(l)); in compile_and_link_test()
Dtr1_incl_test.cpp122 check_result<float>(boost::math::tr1::ellint_2(f, f)); in compile_and_link_test()
124 check_result<double>(boost::math::tr1::ellint_2(d, d)); in compile_and_link_test()
125 check_result<long double>(boost::math::tr1::ellint_2(l, l)); in compile_and_link_test()
127 check_result<double>(boost::math::tr1::ellint_2(ui, ui)); in compile_and_link_test()
128 check_result<double>(boost::math::tr1::ellint_2(i, ui)); in compile_and_link_test()
129 check_result<double>(boost::math::tr1::ellint_2(f, d)); in compile_and_link_test()
130 check_result<long double>(boost::math::tr1::ellint_2(l, d)); in compile_and_link_test()
Dinstantiate.hpp246 boost::math::ellint_2(v1); in instantiate()
247 boost::math::ellint_2(v1, v2); in instantiate()
460 boost::math::ellint_2(v1 * 1); in instantiate()
461 boost::math::ellint_2(v1 * 1, v2 + 0); in instantiate()
642 boost::math::ellint_2(v1, pol); in instantiate()
643 boost::math::ellint_2(v1, v2, pol); in instantiate()
861 test::ellint_2(v1); in instantiate()
862 test::ellint_2(v1, v2); in instantiate()
1089 boost::math::ellint_2(i); in instantiate_mixed()
1090 boost::math::ellint_2(i, l); in instantiate_mixed()
[all …]
/third_party/boost/boost/math/special_functions/
Dellint_2.hpp36 typename tools::promote_args<T1, T2>::type ellint_2(T1 k, T2 phi, const Policy& pol);
152 inline typename tools::promote_args<T>::type ellint_2(T k, const Policy& pol, const boost::true_typ… in ellint_2() function
161 inline typename tools::promote_args<T1, T2>::type ellint_2(T1 k, T2 phi, const boost::false_type&) in ellint_2() function
163 return boost::math::ellint_2(k, phi, policies::policy<>()); in ellint_2()
170 inline typename tools::promote_args<T>::type ellint_2(T k) in ellint_2() function
172 return ellint_2(k, policies::policy<>()); in ellint_2()
177 inline typename tools::promote_args<T1, T2>::type ellint_2(T1 k, T2 phi) in ellint_2() function
180 return detail::ellint_2(k, phi, tag_type()); in ellint_2()
184 inline typename tools::promote_args<T1, T2>::type ellint_2(T1 k, T2 phi, const Policy& pol) in ellint_2() function
/third_party/boost/libs/math/test/
Dtest_ellint_2.hpp37 value_type (*fp2)(value_type, value_type) = boost::math::ellint_2<value_type, value_type>; in do_test_ellint_e2()
39 value_type (*fp2)(value_type, value_type) = boost::math::ellint_2; in do_test_ellint_e2()
66 value_type (*fp1)(value_type) = boost::math::ellint_2<value_type>; in do_test_ellint_e1()
68 value_type (*fp1)(value_type) = boost::math::ellint_2; in do_test_ellint_e1()
136 BOOST_CHECK_EQUAL(boost::math::ellint_2(T(1)), T(1)); in test_spots()
137 BOOST_CHECK_EQUAL(boost::math::ellint_2(T(-1)), T(1)); in test_spots()
138 BOOST_CHECK_THROW(boost::math::ellint_2(T(1.5)), std::domain_error); in test_spots()
139 BOOST_CHECK_THROW(boost::math::ellint_2(T(-1.5)), std::domain_error); in test_spots()
Dtest_tr1.cpp560 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<float>(0), static_cast<float>(0)), static_cast<float>(… in test_values()
561 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<float>(0), static_cast<float>(-10)), static_cast<float… in test_values()
562 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<float>(-1), static_cast<float>(-1)), static_cast<float… in test_values()
563 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<float>(900) / 1024, static_cast<float>(-4)), static_ca… in test_values()
564 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<float>(-600) / 1024, static_cast<float>(8)), static_ca… in test_values()
565 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<float>(800) / 1024, static_cast<float>(1e-05)), static… in test_values()
566 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<float>(100) / 1024, static_cast<float>(1e+05)), static… in test_values()
567 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<float>(-0.5), static_cast<float>(1e+10)), static_cast<… in test_values()
568 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<float>(400) / 1024, static_cast<float>(ldexp(static_ca… in test_values()
880 …BOOST_CHECK_CLOSE(tr1::ellint_2(static_cast<double>(0), static_cast<double>(0)), static_cast<doubl… in test_values()
[all …]
Dtest_policy_sf.cpp106 TEST_POLICY_SF(ellint_2(0.25)); in BOOST_AUTO_TEST_CASE()
107 TEST_POLICY_SF(ellint_2(0.25, 0.75)); in BOOST_AUTO_TEST_CASE()
Dtest_autodiff_6.cpp45 BOOST_CHECK_CLOSE(boost::math::ellint_2(make_fvar<T, m>(k)).derivative(0u), in BOOST_AUTO_TEST_CASE_TEMPLATE()
46 boost::math::ellint_2(k), in BOOST_AUTO_TEST_CASE_TEMPLATE()
49 boost::math::ellint_2(make_fvar<T, m>(k), make_fvar<T, m>(phi)) in BOOST_AUTO_TEST_CASE_TEMPLATE()
51 boost::math::ellint_2(k, phi), 2.5e3 * test_constants::pct_epsilon()); in BOOST_AUTO_TEST_CASE_TEMPLATE()
Dtest_tr1.c631 check_close(ellint_2(0, 0), 0, eps * 5000, __LINE__); in test_values()
632 check_close(ellint_2(0, -10), -10, eps * 5000, __LINE__); in test_values()
633 …check_close(ellint_2(-1, -1), -0.84147098480789650665250232163029899962256306079837, eps * 5000, _… in test_values()
634 …check_close(ellint_2(900 / 1024.0, -4), -3.1756145986492562317862928524528520686391383168377, eps … in test_values()
635 …check_close(ellint_2(-600 / 1024.0, 8), 7.2473147180505693037677015377802777959345489333465, eps *… in test_values()
636 …check_close(ellint_2(800 / 1024.0, 1e-05), 9.999999999898274739584436515967055859383969942432E-6, … in test_values()
637 …check_close(ellint_2(100 / 1024.0, 1e+05), 99761.153306972066658135668386691227343323331995888, ep… in test_values()
638 …check_close(ellint_2(-0.5, 1e+10), 9.3421545766487137036576748555295222252286528414669e9, eps * 50… in test_values()
639 …check_close(ellint_2(400 / 1024.0, ldexp(1, 66)), 7.0886102721911705466476846969992069994308167515… in test_values()
/third_party/boost/libs/math/reporting/performance/
Dtest_ellint_2.cpp42 …screen_data([](const std::vector<double>& v){ return boost::math::ellint_2(v[1], v[0]); }, [](co… in main()
46 …screen_data([](const std::vector<double>& v){ return std::tr1::ellint_2(v[1], v[0]); }, [](const… in main()
58 …time = exec_timed_test([](const std::vector<double>& v){ return boost::math::ellint_2(v[1], v[0])… in main()
70 …time = exec_timed_test([](const std::vector<double>& v){ return boost::math::ellint_2(v[1], v[0],… in main()
81 …time = exec_timed_test([](const std::vector<double>& v){ return std::tr1::ellint_2(v[1], v[0]); … in main()
Dtest_ellint_2c.cpp42 …screen_data([](const std::vector<double>& v){ return boost::math::ellint_2(v[0]); }, [](const st… in main()
58 … time = exec_timed_test([](const std::vector<double>& v){ return boost::math::ellint_2(v[0]); }); in main()
70 …time = exec_timed_test([](const std::vector<double>& v){ return boost::math::ellint_2(v[0], boost… in main()
/third_party/boost/libs/math/tools/
Djacobi_zeta_data.cpp20 return ellint_2(k, phi) - ellint_2(k) * ellint_1(k, phi) / ellint_1(k); in jacobi_zeta()
Dellint_e_data.cpp20 return ellint_2(k); in ellint_e_data()
Dellint_d_data.cpp20 return (boost::math::ellint_1(k) - boost::math::ellint_2(k)) / (k * k); in ellint_d()
Dellint_d2_data.cpp20 return (boost::math::ellint_1(k, phi) - boost::math::ellint_2(k, phi)) / (k * k); in ellint_d()
/third_party/boost/libs/math/doc/sf/
Dellint_legendre.qbk110 [section:ellint_2 Elliptic Integrals of the Second Kind - Legendre Form]
115 #include <boost/math/special_functions/ellint_2.hpp>
121 ``__sf_result`` ellint_2(T1 k, T2 phi);
124 ``__sf_result`` ellint_2(T1 k, T2 phi, const ``__Policy``&);
127 ``__sf_result`` ellint_2(T k);
130 ``__sf_result`` ellint_2(T k, const ``__Policy``&);
139 [graph ellint_2]
146 ``__sf_result`` ellint_2(T1 k, T2 phi);
149 ``__sf_result`` ellint_2(T1 k, T2 phi, const ``__Policy``&);
160 ``__sf_result`` ellint_2(T k);
[all …]
/third_party/boost/libs/math/src/tr1/
Dcomp_ellint_2f.cpp16 return c_policies::ellint_2 BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
Dcomp_ellint_2l.cpp16 return c_policies::ellint_2 BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
Dcomp_ellint_2.cpp16 return c_policies::ellint_2 BOOST_PREVENT_MACRO_SUBSTITUTION(x); in BOOST_PREVENT_MACRO_SUBSTITUTION()
Dellint_2l.cpp16 return c_policies::ellint_2 BOOST_PREVENT_MACRO_SUBSTITUTION(k, phi); in BOOST_PREVENT_MACRO_SUBSTITUTION()
Dellint_2.cpp16 return c_policies::ellint_2 BOOST_PREVENT_MACRO_SUBSTITUTION(k, phi); in BOOST_PREVENT_MACRO_SUBSTITUTION()
Dellint_2f.cpp16 return c_policies::ellint_2 BOOST_PREVENT_MACRO_SUBSTITUTION(k, phi); in BOOST_PREVENT_MACRO_SUBSTITUTION()
/third_party/boost/libs/multiprecision/test/concepts/
Dsf_concept_check_elliptic.cpp72 boost::math::ellint_2(v1); in test_extra()
73 boost::math::ellint_2(v1, v2); in test_extra()
/third_party/boost/libs/math/reporting/accuracy/
Dbindings.hpp43 #define ELLINT_2_FUNCTION_TO_TEST std::ellint_2
512 inline double ellint_2(double k, double phi) { return ellie(phi, k * k); } in ellint_2() function
514 inline double ellint_2(double k) { return ellpe(k * k); } in ellint_2() function
584 #define ELLINT_2_FUNCTION_TO_TEST ellint_2
678 #define ELLINT_2_FUNCTION_TO_TEST boost::math::ellint_2
679 #define ELLINT_2C_FUNCTION_TO_TEST boost::math::ellint_2
/third_party/boost/libs/math/example/
Droot_finding_start_locations.cpp160 return 4 * a * boost::math::ellint_2(k) - m_arc; in operator ()()
206 T Ek = boost::math::ellint_2(k); in operator ()()
254 T Ek = boost::math::ellint_2(k); in operator ()()

12