Home
last modified time | relevance | path

Searched refs:math (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/policies/
H A Derror_handling.hpp37 namespace boost{ namespace math{ namespace
79 …typedef typename boost::math::policies::precision<T, boost::math::policies::policy<> >::type prec_… in prec_format()
134 replace_all_in_string(function, "%1%", boost::math::policies::detail::name_of<T>()); in raise_error()
158 replace_all_in_string(function, "%1%", boost::math::policies::detail::name_of<T>()); in raise_error()
178 const ::boost::math::policies::domain_error< ::boost::math::policies::throw_on_error>&) in raise_domain_error()
190 …const ::boost::math::policies::domain_error< ::boost::math::policies::ignore_error>&) BOOST_MATH_N… in raise_domain_error()
202 …const ::boost::math::policies::domain_error< ::boost::math::policies::errno_on_error>&) BOOST_MATH… in raise_domain_error()
215 const ::boost::math::policies::domain_error< ::boost::math::policies::user_error>&) in raise_domain_error()
225 const ::boost::math::policies::pole_error< ::boost::math::policies::throw_on_error>&) in raise_pole_error()
227 …return boost::math::policies::detail::raise_domain_error(function, message, val, ::boost::math::p… in raise_pole_error()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/
H A Ddirection_code.hpp41 math::equals(geometry::get<Index>(point1), geometry::get<Index>(point2)) in sign_of_difference()
67 if ( (math::equals(geometry::get<0>(segment_b), geometry::get<0>(segment_a)) in apply()
68 && math::equals(geometry::get<1>(segment_b), geometry::get<1>(segment_a))) in apply()
69 || (math::equals(geometry::get<0>(segment_b), geometry::get<0>(p)) in apply()
70 && math::equals(geometry::get<1>(segment_b), geometry::get<1>(p))) ) in apply()
80 calc_t ax = (std::min)(math::abs(x1), math::abs(x2)); in apply()
81 calc_t ay = (std::min)(math::abs(y1), math::abs(y2)); in apply()
115 typedef math::detail::constants_on_spheroid<coord1_t, units_t> constants1; in apply()
116 typedef math::detail::constants_on_spheroid<coord2_t, units_t> constants2; in apply()
117 typedef math::detail::constants_on_spheroid<calc_t, units_t> constants; in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/special_functions/
H A Dmath_fwd.hpp38 namespace math namespace
1071 …inline T modf(const T& v, boost::long_long_type* ipart){ using boost::math::modf; return modf(v, i…
1074 …inline boost::long_long_type lltrunc(const T& v){ using boost::math::lltrunc; return lltrunc(v, Po…
1077 …inline boost::long_long_type llround(const T& v){ using boost::math::llround; return llround(v, Po…
1088 inline typename boost::math::tools::promote_args<RT1, RT2>::type \
1089 beta(RT1 a, RT2 b) { return ::boost::math::beta(a, b, Policy()); }\
1092 inline typename boost::math::tools::promote_args<RT1, RT2, A>::type \
1093 beta(RT1 a, RT2 b, A x){ return ::boost::math::beta(a, b, x, Policy()); }\
1096 inline typename boost::math::tools::promote_args<RT1, RT2, RT3>::type \
1097 betac(RT1 a, RT2 b, RT3 x) { return ::boost::math::betac(a, b, x, Policy()); }\
[all …]
H A Dsign.hpp20 namespace boost{ namespace math{ namespace
59 return (boost::math::signbit)(static_cast<double>(x)); in signbit_impl()
63 return (boost::math::signbit)(static_cast<double>(x)); in signbit_impl()
113 pd[0] = boost::math::changesign(pd[0]);
114 pd[1] = boost::math::changesign(pd[1]);
120 pd[0] = boost::math::changesign(pd[0]);
121 pd[1] = boost::math::changesign(pd[1]);
165 return (z == 0) ? 0 : (boost::math::signbit)(z) ? -1 : 1; in BOOST_NO_MACRO_EXPAND()
184 …return (boost::math::signbit)(static_cast<result_type>(x)) != (boost::math::signbit)(static_cast<r… in BOOST_NO_MACRO_EXPAND()
185 ? (boost::math::changesign)(static_cast<result_type>(x)) : static_cast<result_type>(x); in BOOST_NO_MACRO_EXPAND()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/util/
H A Dnormalize_spheroidal_coordinates.hpp22 namespace math namespace
35 return math::two_pi<CoordinateType>(); in period()
40 return math::pi<CoordinateType>(); in half_period()
45 static CoordinateType const minus_pi = -math::pi<CoordinateType>(); in min_longitude()
51 return math::pi<CoordinateType>(); in max_longitude()
57 = -math::half_pi<CoordinateType>(); in min_latitude()
63 return math::half_pi<CoordinateType>(); in max_latitude()
111 math::mod(value + constants::half_period(), constants::period()) in normalize_up()
118 math::mod(value - constants::half_period(), constants::period()) in normalize_down()
126 if (math::equals(math::abs(longitude), constants::half_period())) in apply()
[all …]
H A Dnormalize_spheroidal_box_coordinates.hpp21 namespace math namespace
39 return ! math::smaller(math::abs(longitude1 - longitude2), in is_band()
53 if (math::equals(latitude1, constants::min_latitude()) in apply()
54 && math::equals(latitude2, constants::min_latitude())) in apply()
59 else if (math::equals(latitude1, constants::max_latitude()) in apply()
60 && math::equals(latitude2, constants::max_latitude())) in apply()
80 BOOST_GEOMETRY_ASSERT(! math::larger(latitude1, latitude2)); in apply()
81 BOOST_GEOMETRY_ASSERT(! math::smaller(latitude1, constants::min_latitude())); in apply()
82 BOOST_GEOMETRY_ASSERT(! math::larger(latitude2, constants::max_latitude())); in apply()
85 BOOST_GEOMETRY_ASSERT(! math::larger(longitude1, longitude2)); in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/tools/
H A Dbig_constant.hpp16 namespace boost{ namespace math{ namespace
66 boost::math::tools::make_big_value<T>(\
69 mpl::bool_< (is_convertible<boost::math::tools::largest_float, T>::value) && \
70 ((D <= boost::math::tools::numeric_traits<boost::math::tools::largest_float>::digits) \
72 || (boost::math::tools::numeric_traits<T>::is_specialized && \
73 …(boost::math::tools::numeric_traits<T>::digits10 <= boost::math::tools::numeric_traits<boost::math
79 boost::math::tools::make_big_value<T>(0.0L, BOOST_STRINGIZE(x), \
80math::tools::numeric_traits<T>::is_specialized && boost::math::tools::numeric_traits<T>::max_expon…
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/formulas/
H A Dsjoberg_intersection.hpp102 bool const is_vertical1 = math::equals(sin_dlon1, c0); in apply()
103 bool const is_vertical2 = math::equals(sin_dlon2, c0); in apply()
149 CT const pi = math::pi<CT>(); in apply()
151 CT const lon_dist1 = (std::max)((std::min)(math::longitude_difference<radian>(lon1, lon), in apply()
152 math::longitude_difference<radian>(lon_a2, lon)), in apply()
153 (std::min)(math::longitude_difference<radian>(lon2, lon), in apply()
154math::longitude_difference<radian>(lon_b2, lon))); in apply()
155 CT const lon_dist2 = (std::max)((std::min)(math::longitude_difference<radian>(lon1, lon_2), in apply()
156math::longitude_difference<radian>(lon_a2, lon_2)), in apply()
157 (std::min)(math::longitude_difference<radian>(lon2, lon_2), in apply()
[all …]
H A Dvertex_longitude.hpp51 return lon + math::pi<CT>(); in apply()
61 T h = boost::math::hypot(x, y); in normalize()
81 CT const half_pi = math::pi<CT>() / c2; in apply()
82 if (math::equals(lat1, half_pi) in apply()
83 || math::equals(lat2, half_pi) in apply()
84 || math::equals(lat1, -half_pi) in apply()
85 || math::equals(lat2, -half_pi)) in apply()
93 CT const pi = math::pi<CT>(); in apply()
124 CT const cos_alp1 = math::sqrt(c1 - math::sqr(sin_alp1)); in apply()
126 CT const norm = math::sqrt(math::sqr(cos_alp1) + math::sqr(sin_alp1 * sin_bet1)); in apply()
[all …]
H A Ddifferential_quantities.hpp71 if (math::equals(sin_bet1, c0) && math::equals(sin_bet2, c0)) in apply()
73 CT const sig_12 = math::abs(dlon) / one_minus_f; in apply()
90 CT const ep2 = e2 / math::sqr(one_minus_f); in apply()
112 CT const cos_alp0_sqr = c1 - math::sqr(sin_alp0); in apply()
118 CT const dn1 = math::sqrt(c1 + ep2 * math::sqr(sin_bet1)); in apply()
119 CT const dn2 = math::sqrt(c1 + ep2 * math::sqr(sin_bet2)); in apply()
180 … CT const sin_4sig1 = c2 * sin_2sig1 * (math::sqr(cos_sig1) - math::sqr(sin_sig1)); // sin(4sig1) in J12_f()
181 … CT const sin_4sig2 = c2 * sin_2sig2 * (math::sqr(cos_sig2) - math::sqr(sin_sig2)); // sin(4sig2) in J12_f()
208 CT const cos_alp0_quad = math::sqr(cos_alp0_sqr); in J12_f()
209 CT const sin3_2sig1 = math::sqr(sin_2sig1) * sin_2sig1; in J12_f()
[all …]
H A Dthomas_inverse.hpp69 if ( math::equals(lon1, lon2) && math::equals(lat1, lat2) ) in apply()
79 CT const pi_half = math::pi<CT>() / c2; in apply()
88 CT const theta1 = math::equals(lat1, pi_half) ? lat1 : in apply()
89 math::equals(lat1, -pi_half) ? lat1 : in apply()
91 CT const theta2 = math::equals(lat2, pi_half) ? lat2 : in apply()
92 math::equals(lat2, -pi_half) ? lat2 : in apply()
104 CT const sin2_theta_m = math::sqr(sin_theta_m); in apply()
105 CT const cos2_theta_m = math::sqr(cos_theta_m); in apply()
106 CT const sin2_d_theta_m = math::sqr(sin_d_theta_m); in apply()
107 CT const cos2_d_theta_m = math::sqr(cos_d_theta_m); in apply()
[all …]
H A Dvincenty_inverse.hpp77 if (math::equals(lat1, lat2) && math::equals(lon1, lon2)) in apply()
89 CT const pi = geometry::math::pi<CT>(); in apply()
109 CT const temp_den_U1 = math::sqrt(c1 + math::sqr(tan_U1)); in apply()
110 CT const temp_den_U2 = math::sqrt(c1 + math::sqr(tan_U2)); in apply()
144 …sin_sigma = math::sqrt(math::sqr(cos_U2 * sin_lambda) + math::sqr(cos_U1 * sin_U2 - sin_U1 * cos_U… in apply()
147 cos2_alpha = c1 - math::sqr(sin_alpha); in apply()
148 …cos_2sigma_m = math::equals(cos2_alpha, 0) ? 0 : cos_sigma - c2 * sin_U1 * sin_U2 / cos2_alpha; //… in apply()
149 cos2_2sigma_m = math::sqr(cos_2sigma_m); in apply()
158 } while ( geometry::math::abs(previous_lambda - lambda) > c_e_12 in apply()
159 && geometry::math::abs(lambda) < pi in apply()
[all …]
H A Dandoyer_inverse.hpp69 if ( math::equals(lon1, lon2) && math::equals(lat1, lat2) ) in apply()
76 CT const pi = math::pi<CT>(); in apply()
102 CT const K = math::sqr(sin_lat1-sin_lat2); in apply()
103 CT const L = math::sqr(sin_lat1+sin_lat2); in apply()
110 CT const H = math::equals(one_minus_cos_d, c0) ? in apply()
113 CT const G = math::equals(one_plus_cos_d, c0) ? in apply()
127 if (math::equals(sin_d, c0)) in apply()
140 if (math::equals(cos_lat2, c0)) in apply()
153 U = (f/ c2)*math::sqr(cos_lat1)*sin_2A; in apply()
158 if (math::equals(cos_lat1, c0)) in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/envelope/
H A Dsegment.hpp105 BOOST_GEOMETRY_ASSERT(! math::equals(a1, a2)); in contains_pi_half()
107 static CalculationType const pi_half = math::half_pi<CalculationType>(); in contains_pi_half()
119 typedef math::detail::constants_on_spheroid in crosses_antimeridian()
124 return math::abs(lon1 - lon2) > constants::half_period(); // > pi in crosses_antimeridian()
140 CalculationType lat1_rad = math::as_radian<Units>(lat1); in compute_box_corners()
141 CalculationType lat2_rad = math::as_radian<Units>(lat2); in compute_box_corners()
150 if (math::equals(a1, a2)) in compute_box_corners()
167 = math::from_radian<Units>(lat_min_rad); in compute_box_corners()
179 = math::from_radian<Units>(lat_max_rad); in compute_box_corners()
195 typedef math::detail::constants_on_spheroid in special_cases()
[all …]
H A Drange_of_boxes.hpp83 return math::smaller(i1.template get<Index>(), in operator ()()
92 typedef typename math::detail::constants_on_spheroid in apply()
115 if (math::larger(lon_max - lon_min, constants::half_period())) in apply()
122 BOOST_GEOMETRY_ASSERT(! math::larger(lon_min, lon_max)); in apply()
124 (! math::larger(lon_max, constants::max_longitude())); in apply()
126 (! math::smaller(lon_min, constants::min_longitude())); in apply()
129 (! math::larger(max_gap_left, max_gap_right)); in apply()
131 (! math::larger(max_gap_right, constants::max_longitude())); in apply()
133 (! math::smaller(max_gap_left, constants::min_longitude())); in apply()
135 if (math::larger(max_gap, zero)) in apply()
[all …]
/OK3568_Linux_fs/buildroot/package/boost/
H A D0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch7 https://github.com/boostorg/math/issues/673.
10 - backport from boostorg/math 7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b
16 libs/math/test/Jamfile.v2 | 3 +++
25 diff --git a/boost/math/special_functions/detail/bernoulli_details.hpp b/boost/math/special_functio…
27 --- a/boost/math/special_functions/detail/bernoulli_details.hpp
28 +++ b/boost/math/special_functions/detail/bernoulli_details.hpp
39 …*out = (i >= m_overflow_limit) ? policies::raise_overflow_error<T>("boost::math::bernoulli_b2n<%1%…
74 diff --git a/libs/math/test/Jamfile.v2 b/libs/math/test/Jamfile.v2
76 --- a/libs/math/test/Jamfile.v2
77 +++ b/libs/math/test/Jamfile.v2
[all …]
H A D0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch8 - backport from boostorg/math 32bd6197353f6ea8e5bef01f09e25c944141acfc
13 boost/math/tools/atomic.hpp | 10 +++++-----
16 diff --git a/boost/math/tools/atomic.hpp b/boost/math/tools/atomic.hpp
18 --- a/boost/math/tools/atomic.hpp
19 +++ b/boost/math/tools/atomic.hpp
22 namespace math {
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/agnostic/
H A Dpoint_in_poly_winding.hpp43 typedef math::detail::constants_on_spheroid
94 if (math::equals(get<1>(point), get<1>(se))) in apply()
112 math::normalize_longitude<units_t>(ss20); in apply()
129 return math::equals(get<1>(point), get<1>(se)) ? in apply()
146 typedef math::detail::constants_on_spheroid<CalculationType, units_t> constants;
171 bool eq1_strict = math::equals(s1x, px); in apply()
172 bool eq2_strict = math::equals(s2x, px); in apply()
175 || math::equals(s1y, pi2) || math::equals(s1y, -pi2); // s1 is pole in apply()
177 || math::equals(s2y, pi2) || math::equals(s2y, -pi2); // s2 is pole in apply()
181 math::normalize_longitude<units_t, calc_t>(s1x_anti); in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/geographic/
H A Darea.hpp90 , m_a2(math::sqr(get_radius<0>(spheroid))) in spheroid_constants()
94 , m_ep(math::sqrt(m_ep2)) in spheroid_constants()
103 if (math::equals(e2, c0)) in authalic_radius()
108 CT const sqrt_e2 = math::sqrt(e2); in authalic_radius()
112 ((math::sqr(get_radius<2>(sph)) * boost::math::atanh(sqrt_e2)) in authalic_radius()
143 * geometry::math::pi<CT>() in area()
146 - geometry::math::abs(sum); in area()
148 if (geometry::math::sign<CT>(sum) == 1) in area()
177 if (! geometry::math::equals(get<0>(p1), get<0>(p2))) in apply()
/OK3568_Linux_fs/buildroot/package/gnuradio/
H A D0005-boost-remove-deprecated-math-common_factor.hpp.patch4 Subject: [PATCH] boost: remove deprecated math/common_factor.hpp
32 math.h
68 +#include <boost/math/common_factor_rt.hpp>
69 +#define GR_GCD boost::math::gcd
70 +#define GR_LCM boost::math::lcm
83 #include <gnuradio/math.h>
94 -#include <boost/math/common_factor_rt.hpp>
110 - return page_size / boost::math::gcd(type_size, page_size);
128 #include <gnuradio/math.h>
129 -#include <boost/math/common_factor.hpp>
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/expand/
H A Dpoint.hpp137 typedef math::detail::constants_on_spheroid in apply()
160 if (math::equals(math::abs(p_lat), constants::max_latitude())) in apply()
171 if (math::equals(b_lat_min, b_lat_max) in apply()
172 && math::equals(math::abs(b_lat_min), constants::max_latitude())) in apply()
190 if (math::smaller(p_lon, b_lon_min)) in apply()
194 if (math::larger(p_lon_shifted, b_lon_max)) in apply()
197 if (math::smaller(b_lon_min - p_lon, p_lon_shifted - b_lon_max)) in apply()
207 else if (math::larger(p_lon, b_lon_max)) in apply()
212 && math::larger(p_lon - b_lon_max, in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/special_functions/detail/
H A Dround_fwd.hpp20 namespace math namespace
83 using boost::math::round;\
84 using boost::math::iround;\
85 using boost::math::lround;\
86 using boost::math::trunc;\
87 using boost::math::itrunc;\
88 using boost::math::ltrunc;\
89 using boost::math::modf;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/equals/
H A Dcollect_vectors.hpp100 T magnitude = math::sqrt( in normalize()
117 if (math::equals(x, other.x)) in operator <()
119 if (math::equals(y, other.y)) in operator <()
121 if (math::equals(dx, other.dx)) in operator <()
140 return math::equals(x, other.x) in operator ==()
141 && math::equals(y, other.y) in operator ==()
152 return math::equals_with_epsilon(dx, other.dx) in same_direction()
153 && math::equals_with_epsilon(dy, other.dy); in same_direction()
197 divide_value(direction, math::sqrt(magnitude_sqr)); in normalize()
206 if (math::equals(get<0>(origin), get<0>(other.origin))) in operator <()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/cartesian/
H A Ddisjoint_segment_box.hpp121 if ( geometry::math::equals(diff, 0) ) in apply()
123 if ( (geometry::math::equals(t_min.second, 0) in apply()
126 (geometry::math::equals(t_max.second, 0) in apply()
129 (math::sign(ti_min) * math::sign(ti_max) > 0) ) in apply()
194 if ( geometry::math::equals(diff, 0) ) in apply()
196 if ( geometry::math::equals(t_min.first, 0) ) { t_min.first = -1; } in apply()
197 if ( geometry::math::equals(t_max.first, 0) ) { t_max.first = 1; } in apply()
199 if (math::sign(t_min.first) * math::sign(t_max.first) > 0) in apply()
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/boost/boost/
H A Dboost-math-disable-pch-for-gcc.patch4 Subject: [PATCH] boost-math: disable pch for gcc
13 libs/math/build/Jamfile.v2 | 2 +-
16 diff --git a/libs/math/build/Jamfile.v2 b/libs/math/build/Jamfile.v2
18 --- a/libs/math/build/Jamfile.v2
19 +++ b/libs/math/build/Jamfile.v2

12345678910>>...21