/third_party/boost/libs/math/test/ |
D | test_pFq_precision.cpp | 29 #define SC_(x) BOOST_MATH_BIG_CONSTANT(mp_type, 1000000, x) 32 typedef boost::multiprecision::mpfr_float mp_type; typedef 38 mp_type tolerance = 2e-20; in test_spots_1F0() 40 …E_FRACTION(boost::math::hypergeometric_pFq_precision({ mp_type(-3) }, {}, mp_type(2), 20), mp_type… in test_spots_1F0() 41 …E_FRACTION(boost::math::hypergeometric_pFq_precision({ mp_type(-3) }, {}, mp_type(4), 20), mp_type… in test_spots_1F0() 42 …_FRACTION(boost::math::hypergeometric_pFq_precision({ mp_type(-3) }, {}, mp_type(0.5), 20), mp_typ… in test_spots_1F0() 43 …_FRACTION(boost::math::hypergeometric_pFq_precision({ mp_type(3) }, {}, mp_type(0.5), 20), mp_type… in test_spots_1F0() 44 …E_FRACTION(boost::math::hypergeometric_pFq_precision({ mp_type(3) }, {}, mp_type(2), 20), mp_type(… in test_spots_1F0() 45 …ACTION(boost::math::hypergeometric_pFq_precision({ mp_type(3) }, {}, mp_type(4), 20), mp_type(mp_t… in test_spots_1F0() 46 …RACTION(boost::math::hypergeometric_pFq_precision({ mp_type(3) }, {}, mp_type(-0.5), 20), pow(mp_t… in test_spots_1F0() [all …]
|
/third_party/boost/libs/math/minimax/ |
D | f.cpp | 19 mp_type f(const mp_type& x, int variant) in f() 21 static const mp_type tiny = boost::math::tools::min_value<mp_type>() * 64; in f() 26 mp_type x_ = sqrt(x == 0 ? 1e-80 : x); in f() 31 mp_type x_ = 1 / x; in f() 40 mp_type y(x); in f() 56 … return boost::lexical_cast<mp_type>("0.42278433509846713939348790991759756895784066406008") / 3; in f() 68 … mp_type r1 = boost::lexical_cast<mp_type>("0.57721566490153286060651209008240243104215933593992"); in f() 69 … mp_type r2 = boost::lexical_cast<mp_type>("0.42278433509846713939348790991759756895784066406008"); in f() 89 … mp_type r1 = boost::lexical_cast<mp_type>("0.57721566490153286060651209008240243104215933593992"); in f() 90 … mp_type r2 = boost::lexical_cast<mp_type>("0.42278433509846713939348790991759756895784066406008"); in f() [all …]
|
D | multiprecision.hpp | 17 typedef boost::math::ntl::RR mp_type; typedef 26 return mp_type::precision(working_precision); in get_working_precision() 34 inline mp_type round_to_precision(mp_type m, int bits) in round_to_precision() 45 …uble_extended real_cast<boost::multiprecision::cpp_bin_float_double_extended, mp_type>(mp_type val) in real_cast() 54 …sion::cpp_bin_float_quad real_cast<boost::multiprecision::cpp_bin_float_quad, mp_type>(mp_type val) in real_cast() 71 typedef boost::multiprecision::cpp_bin_float_100 mp_type; typedef 83 inline mp_type round_to_precision(mp_type m, int bits) in round_to_precision() 86 mp_type f = frexp(m, &i); in round_to_precision() 95 return std::numeric_limits<mp_type>::digits; in get_working_precision() 103 …uble_extended real_cast<boost::multiprecision::cpp_bin_float_double_extended, mp_type>(mp_type val) in real_cast() [all …]
|
D | main.cpp | 26 extern mp_type f(const mp_type& x, int variant); 28 const boost::math::tools::polynomial<mp_type>& n, 29 const boost::math::tools::polynomial<mp_type>& d, 30 const mp_type& x_offset, 31 const mp_type& y_offset, 36 mp_type a(0), b(1); // range to optimise over 47 mp_type x_offset(0), y_offset(0), x_scale(1); 50 boost::shared_ptr<boost::math::tools::remez_minimax<mp_type> > p_remez; 52 mp_type the_function(const mp_type& val) in the_function() 68 mp_type fa, fb, fm; in step_some() [all …]
|
/third_party/boost/libs/math/tools/ |
D | gauss_kronrod_constants.cpp | 81 typedef boost::multiprecision::number<boost::multiprecision::cpp_bin_float<250> > mp_type; in main() typedef 83 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("f", 9, 0); in main() 84 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("", 17, 1); in main() 85 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("L", 35, 2); in main() 86 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("Q", 35, 3); in main() 87 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 7> >("", 115, 4); in main() 89 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 10> >("f", 9, 0); in main() 90 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 10> >("", 17, 1); in main() 91 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 10> >("L", 35, 2); in main() 92 print_gauss_constants<boost::math::quadrature::gauss<mp_type, 10> >("Q", 35, 3); in main() [all …]
|
D | tgamma_large_data.cpp | 20 typedef number<mpfr_float_backend<1000> > mp_type; typedef 23 boost::math::tuple<mp_type, mp_type, mp_type> generate(mp_type a) in generate() 25 mp_type tg, lg; in generate() 33 parameter_info<mp_type> arg1, arg2; in cpp_main() 34 test_data<mp_type> data; in cpp_main()
|
/third_party/boost/libs/multiprecision/example/ |
D | floating_point_examples.cpp | 363 typedef boost::multiprecision::number<cpp_dec_float<64> > mp_type; typedef 365 mp_type mysin(const mp_type& x) in mysin() 368 static const std::array<mp_type, 32U> coefs = in mysin() 370 …mp_type("+1.57079632679489661923132169163975144209858469968755291048747229615390820314310449931401… in mysin() 371 …mp_type("-0.64596409750624625365575656389794573337969351178927307696134454382929989411386887578263… in mysin() 372 …mp_type("+0.07969262624616704512050554949047802252091164235106119545663865720995702920146198554317… in mysin() 373 …mp_type("-0.00468175413531868810068546393395343785949502801850105757495386051026651579131574262298… in mysin() 374 …mp_type("+0.00016044118478735982187266087016347332970280754062061156858775174056686380286868007443… in mysin() 375 …mp_type("-3.598843235212085340458540018208389404888495232432127661083907575106196374913134E-6"), /… in mysin() 376 …mp_type("+5.692172921967926811775255303592184372902829756054598109818158853197797542565E-8"), // ^… in mysin() [all …]
|
D | hypergeometric_luke_algorithms.cpp | 43 …def boost::multiprecision::number<boost::multiprecision::cpp_bin_float<DIGIT_COUNT + 10> > mp_type; typedef 46 …def boost::multiprecision::number<boost::multiprecision::cpp_dec_float<DIGIT_COUNT + 10> > mp_type; typedef 49 …oost::multiprecision::number<boost::multiprecision::mpfr_float_backend<DIGIT_COUNT + 10> > mp_type; typedef 648 std::vector<mp_type> hypergeometric_0f1_results(20U); in main() 649 std::vector<mp_type> hypergeometric_1f0_results(20U); in main() 650 std::vector<mp_type> hypergeometric_1f1_results(20U); in main() 651 std::vector<mp_type> hypergeometric_2f1_results(20U); in main() 652 std::vector<mp_type> hypergeometric_1f2_results(20U); in main() 654 const mp_type a(mp_type(3) / 7); in main() 655 const mp_type b(mp_type(2) / 3); in main() [all …]
|
/third_party/boost/libs/numeric/odeint/test/ |
D | prepare_stepper_testing.hpp | 44 typedef boost::multiprecision::cpp_dec_float_50 mp_type; typedef 45 typedef boost::array< mp_type , 1 > mp_array_type; 48 array_type , complex_array_type , mp_type , mp_array_type 55 struct algebra_dispatcher< mp_type > 62 struct vector_space_norm_inf< mp_type > 64 typedef mp_type result_type; 65 mp_type operator()( mp_type x ) const in operator ()()
|
/third_party/boost/libs/multiprecision/tools/ |
D | sincos.cpp | 20 typedef number<mpfr_float_backend<1000> > mp_type; typedef 23 boost::math::tuple<mp_type, mp_type, mp_type> generate(mp_type a) in generate() 25 mp_type ts, tc; in generate() 33 parameter_info<mp_type> arg1, arg2; in cpp_main() 34 test_data<mp_type> data; in cpp_main()
|
/third_party/boost/libs/math/doc/graphs/ |
D | bessel_i0_errors.cpp | 19 …n_float<256, boost::multiprecision::backends::digit_base_2>, boost::multiprecision::et_on> mp_type; typedef 40 mp_type input2(input); in test_type() 42 mp_type result2 = boost::math::cyl_bessel_i(0, input2); in test_type() 43 …mp_type err = boost::math::relative_difference(result2, mp_type(result)) / mp_type(std::numeric_li… in test_type() 44 if(result2 < mp_type(result)) in test_type() 87 mp_type input2(input); in test_type() 89 mp_type result2 = boost::math::cyl_bessel_i(0, input2); in test_type() 90 …mp_type err = boost::math::relative_difference(result2, mp_type(result)) / mp_type(std::numeric_li… in test_type() 93 if(result2 > mp_type((std::numeric_limits<T>::max)())) in test_type() 98 if(result2 < mp_type(result)) in test_type()
|
D | bessel_i1_errors.cpp | 19 …n_float<256, boost::multiprecision::backends::digit_base_2>, boost::multiprecision::et_on> mp_type; typedef 40 mp_type input2(input); in test_type() 42 mp_type result2 = boost::math::cyl_bessel_i(1, input2); in test_type() 43 …mp_type err = boost::math::relative_difference(result2, mp_type(result)) / mp_type(std::numeric_li… in test_type() 44 if(result2 < mp_type(result)) in test_type() 91 mp_type input2(input); in test_type() 93 mp_type result2 = boost::math::cyl_bessel_i(1, input2); in test_type() 94 …mp_type err = boost::math::relative_difference(result2, mp_type(result)) / mp_type(std::numeric_li… in test_type() 97 if(result2 > mp_type((std::numeric_limits<T>::max)())) in test_type() 102 if(result2 < mp_type(result)) in test_type()
|
D | plot_1d_errors.cpp | 53 …:multiprecision::cpp_bin_float<mp_digits, boost::multiprecision::backends::digit_base_2> > mp_type; in plot_errors_1d() typedef 60 Real exact_value = static_cast<Real>(f(mp_type(pos))); in plot_errors_1d()
|
/third_party/boost/libs/math/example/ |
D | numerical_derivative_example.cpp | 99 typedef number<mp_backend> mp_type; typedef 124 std::cout << " expected : " << sqrt(static_cast<mp_type>(5))/3U << std::endl; in main() 133 const mp_type mp = in main() 134 derivative(mp_type(mp_type(3) / 2U), // x = 3/2 in main() 135 mp_type(mp_type(1) / 10000000U), // Step size 10^7. in main() 136 [](const mp_type & x)->mp_type in main() 149 std::cout << " expected : " << sqrt(static_cast<mp_type>(5))/3U << std::endl; in main()
|
/third_party/boost/boost/phoenix/bind/ |
D | bind_member_variable.hpp | 30 typedef detail::member_variable<RT, RT ClassT::*> mp_type; in bind() typedef 32 detail::expression::function_eval<mp_type, ClassA> in bind() 33 ::make(mp_type(mp), obj); in bind() 46 typedef detail::member_variable<RT, RT ClassT::*> mp_type; in bind() typedef 49 mp_type in bind() 51 >::make(mp_type(mp), obj); in bind()
|
/third_party/boost/libs/multiprecision/test/ |
D | test_cpp_dec_float_round.cpp | 23 typedef boost::multiprecision::number<mp_backend_type, boost::multiprecision::et_off> mp_type; in round_test_imp() typedef 25 const mp_type original_digits(1.0F); in round_test_imp() 27 const mp_type scale = pow(mp_type(10), N); in round_test_imp() 29 mp_type these_digits = original_digits * scale; in round_test_imp()
|
D | test_cpp_int_left_shift.cpp | 83 …t_backend<N, N, boost::multiprecision::unsigned_magnitude>, boost::multiprecision::et_off> mp_type; in test() typedef 87 mp_type mp(-1); in test() 91 test_value(generate_random<mp_type>(std::numeric_limits<mp_type>::digits)); in test()
|
/third_party/boost/libs/multiprecision/test/math/high_prec/ |
D | test_gamma.cpp | 68 typedef boost::multiprecision::number<boost::multiprecision::mpfr_float_backend<450> > mp_type; in BOOST_AUTO_TEST_CASE() typedef 71 typedef boost::multiprecision::number<boost::multiprecision::cpp_bin_float<450> > mp_type; in BOOST_AUTO_TEST_CASE() typedef 75 test_gamma(mp_type(0), name); in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/geometry/test/geometries/ |
D | boost_polygon_overlay.cpp | 36 > mp_type; in test_overlay_using_boost_polygon() typedef 37 mp_type mp, mq; in test_overlay_using_boost_polygon() 79 > mp_type; in test_overlay_using_boost_geometry() typedef 82 mp_type p, q, out_i, out_u; in test_overlay_using_boost_geometry()
|
/third_party/boost/libs/geometry/doc/src/examples/core/ |
D | point_type.cpp | 25 typedef boost::geometry::model::multi_polygon<polygon_type> mp_type; in main() typedef 27 typedef boost::geometry::point_type<mp_type>::type ptype; in main()
|
/third_party/boost/libs/geometry/doc/doxy/doxygen_input/sourcecode/ |
D | doxygen_4.cpp | 268 typedef boost::geometry::multi_polygon<poly_type> mp_type; in svg_intersection_countries() typedef 270 typedef boost::tuple<mp_type, std::string> country_type; in svg_intersection_countries() 276 read_wkt<mp_type>("../../../example/data/world.wkt", countries, bbox); in svg_intersection_countries() 285 mp_type const& mp = countries[i].get<0>(); in svg_intersection_countries()
|
/third_party/boost/libs/math/doc/sf/ |
D | hypergeometric.qbk | 478 typedef boost::multiprecision::mpfr_float mp_type; 482 mp_type result = boost::math::hypergeometric_pFq_precision( 483 { mp_type(a1), mp_type(a2) }, { mp_type(b1), mp_type(b2) }, mp_type(z), 20, 10.0
|