/third_party/boost/boost/units/ |
D | derived_dimension.hpp | 39 make_dimension_list< list< dim< DT1,static_rational<E1> >, 40 list< dim< DT2,static_rational<E2> >, 41 list< dim< DT3,static_rational<E3> >, 42 list< dim< DT4,static_rational<E4> >, 43 list< dim< DT5,static_rational<E5> >, 44 list< dim< DT6,static_rational<E6> >, 45 list< dim< DT7,static_rational<E7> >, 46 … list< dim< DT8,static_rational<E8> >, dimensionless_type > > > > > > > > >::type type; 63 make_dimension_list< list< dim< DT1,static_rational<E1> >, dimensionless_type > >::type type; 80 make_dimension_list< list< dim< DT1,static_rational<E1> >, [all …]
|
D | static_rational.hpp | 76 class static_rational class 80 typedef static_rational this_type; 109 typedef static_rational<N,D> this_type; 112 typedef static_rational< 121 BOOST_CONSTEXPR static_rational() { } in static_rational() function in boost::units::static_rational 126 class static_rational class 146 typedef static_rational<N,D> this_type; 149 typedef static_rational<Numerator,Denominator> type; 155 BOOST_CONSTEXPR static_rational() { } in static_rational() function in boost::units::static_rational 168 BOOST_TYPEOF_REGISTER_TEMPLATE(boost::units::static_rational, (long)(long)) [all …]
|
D | scale.hpp | 55 struct scale<Base, static_rational<0> > 58 typedef static_rational<0> exponent; 66 BOOST_CONSTEXPR_OR_CONST long scale<Base, static_rational<0> >::base; 95 BOOST_UNITS_SCALE_SPECIALIZATION(10,static_rational<exponent_>,value_, name_, symbol_) 119 BOOST_UNITS_SCALE_SPECIALIZATION(2, static_rational<10>, 1024.0, kibi, Ki); 120 BOOST_UNITS_SCALE_SPECIALIZATION(2, static_rational<20>, 1048576.0, mebi, Mi); 121 BOOST_UNITS_SCALE_SPECIALIZATION(2, static_rational<30>, 1073741824.0, gibi, Gi); 122 BOOST_UNITS_SCALE_SPECIALIZATION(2, static_rational<40>, 1099511627776.0, tebi, Ti); 123 BOOST_UNITS_SCALE_SPECIALIZATION(2, static_rational<50>, 1125899906842624.0, pebi, Pi); 124 BOOST_UNITS_SCALE_SPECIALIZATION(2, static_rational<60>, 1152921504606846976.0, exbi, Ei); [all …]
|
D | pow.hpp | 39 inline typename power_typeof_helper<Y,static_rational<N> >::type 42 return power_typeof_helper<Y,static_rational<N> >::value(x); in pow() 49 struct power_typeof_helper<T, static_rational<N,D> > 52 typedef detail::static_rational_power_impl<static_rational<N, D>, internal_type> impl; 63 struct power_typeof_helper<float, static_rational<N,D> > 66 typedef power_typeof_helper<double, static_rational<N,D> > base; 88 typename root_typeof_helper<Y,static_rational<N> >::type 91 return root_typeof_helper<Y,static_rational<N> >::value(x); in root() 98 struct root_typeof_helper<T,static_rational<N,D> > 101 typedef power_typeof_helper<T, static_rational<D,N> > base;
|
D | io.hpp | 70 template<integer_type N> std::string to_string(const static_rational<N>&) in to_string() 76 template<integer_type N, integer_type D> std::string to_string(const static_rational<N,D>&) in to_string() 83 …tream<Char, Traits>& operator<<(std::basic_ostream<Char, Traits>& os,const static_rational<N,D>& r) in operator <<() 252 inline std::string exponent_string(const static_rational<N,D>& r) in exponent_string() 259 inline std::string exponent_string(const static_rational<1>&) in exponent_string() 488 …system<heterogeneous_system_impl<list<heterogeneous_system_dim<Unit, static_rational<1> >,dimensio… in to_string_impl() 493 …system<heterogeneous_system_impl<list<heterogeneous_system_dim<Unit, static_rational<1> >, dimensi… in to_string_impl() 505 …system<heterogeneous_system_impl<list<heterogeneous_system_dim<Unit, static_rational<1> >,dimensio… in to_string_impl() 508 …f.template append_units_to<list<heterogeneous_system_dim<Unit, static_rational<1> >,dimensionless_… in to_string_impl() 528 …list<heterogeneous_system_dim<scaled_base_unit<Unit, UnitScale>, static_rational<1> >, dimensionle… in to_string_impl() [all …]
|
D | heterogeneous_system.hpp | 57 struct is_zero<static_rational<0> > : mpl::true_ {}; 103 boost::units::static_rational<1> \ 286 struct static_power<heterogeneous_system<S>, static_rational<N,D> > 290 typename static_power<typename S::type, static_rational<N,D> >::type, 291 typename static_power<typename S::dimensions, static_rational<N,D> >::type, 292 typename static_power<typename S::scale, static_rational<N,D> >::type 299 struct static_root<heterogeneous_system<S>, static_rational<N,D> > 303 typename static_root<typename S::type, static_rational<N,D> >::type, 304 typename static_root<typename S::dimensions, static_rational<N,D> >::type, 305 typename static_root<typename S::scale, static_rational<N,D> >::type
|
D | unit.hpp | 304 struct power_typeof_helper<unit<Dim,System>,static_rational<N,D> > 306 …typedef unit<typename static_power<Dim,static_rational<N,D> >::type,typename static_power<System, … 316 struct root_typeof_helper<unit<Dim,System>,static_rational<N,D> > 318 …typedef unit<typename static_root<Dim,static_rational<N,D> >::type,typename static_root<System, st…
|
D | homogeneous_system.hpp | 53 struct static_power<homogeneous_system<L>, static_rational<N,D> > 60 struct static_root<homogeneous_system<L>, static_rational<N,D> >
|
/third_party/boost/libs/units/example/ |
D | dimension.cpp | 54 dim<length_base_dimension, static_rational<1L, 1L> > in main() 61 dim<mass_base_dimension, static_rational<1L, 1L> > in main() 69 dim<time_base_dimension, static_rational<-2L, 1L> > >::type, in main() 70 dim<mass_base_dimension, static_rational<1L, 1L> > >::type, in main() 71 dim<length_base_dimension, static_rational<2L, 1L> > >::type>)); in main() 87 static_rational<2> in main() 95 dim<mass_base_dimension, static_rational<1L, 1L> > >::type, in main() 96 dim<length_base_dimension, static_rational<1L, 1L> > >::type>)); in main() 102 dim<time_base_dimension, static_rational<-1L, 1L> > >::type, in main() 103 dim<length_base_dimension, static_rational<1L, 1L> > >::type>)); in main() [all …]
|
D | quaternion.cpp | 69 struct power_typeof_helper<boost::math::quaternion<Y>,static_rational<N,D> > 75 typename power_typeof_helper<Y,static_rational<N,D> >::type 88 struct root_typeof_helper<boost::math::quaternion<Y>,static_rational<N,D> > 94 typename root_typeof_helper<Y,static_rational<N,D> >::type 109 static_rational<N,D> > 113 static_rational<N,D> 118 static_rational<N,D> 127 pow<static_rational<N,D> >(boost::math::quaternion<Y>( in value() 146 static_rational<N,D> > 150 static_rational<N,D> [all …]
|
D | complex.cpp | 292 struct power_typeof_helper<complex<Y>,static_rational<N,D> > 295 typename power_typeof_helper<Y,static_rational<N,D> >::type 300 const static_rational<N,D> rat; in value() 310 struct root_typeof_helper<complex<Y>,static_rational<N,D> > 313 typename root_typeof_helper<Y,static_rational<N,D> >::type 318 const static_rational<N,D> rat; in value() 328 struct power_typeof_helper<complex<quantity<Unit,Y> >,static_rational<N,D> > 331 power_typeof_helper<Y,static_rational<N,D> >::type value_type; 333 power_typeof_helper<Unit,static_rational<N,D> >::type unit_type; 340 pow<static_rational<N,D> >(complex<Y>(x.real().value(), in value() [all …]
|
D | test_system.hpp | 45 boost::mpl::list< dim< length_base_dimension,static_rational<1> > > 49 boost::mpl::list< dim< mass_base_dimension,static_rational<1> > > 53 boost::mpl::list< dim< time_base_dimension,static_rational<1> > > 69 boost::mpl::list< dim< length_base_dimension,static_rational<2> > > 73 boost::mpl::list< dim< mass_base_dimension,static_rational<1> >, 74 dim< length_base_dimension,static_rational<2> >, 75 dim< time_base_dimension,static_rational<-2> > >
|
D | quantity.cpp | 92 << pow<static_rational<3,2> >(L) << std::endl in main() 96 << root<static_rational<3,2> >(L) << std::endl in main() 119 << pow<static_rational<3,2> >(L) << std::endl in main() 123 << root<static_rational<3,2> >(L) << std::endl in main()
|
D | measurement.hpp | 289 struct power_typeof_helper<measurement<Y>,static_rational<N,D> > 292 typename power_typeof_helper<Y,static_rational<N,D> >::type 297 const static_rational<N,D> rat; in value() 309 struct root_typeof_helper<measurement<Y>,static_rational<N,D> > 312 typename root_typeof_helper<Y,static_rational<N,D> >::type 317 const static_rational<N,D> rat; in value()
|
D | kitchen_sink.cpp | 243 const static_rational<4,3> x2; in main() 286 << "U1^X2 : " << pow<static_rational<4,3> >(u1) << std::endl in main() 287 << "X2vU1 : " << root<static_rational<4,3> >(u1) << std::endl in main() 325 << "Q1^X2 : " << pow<static_rational<4,3> >(q1) << std::endl in main() 326 << "X2vQ1 : " << root<static_rational<4,3> >(q1) << std::endl in main() 443 << "w/(u*x)^(1/2) = " << w/pow< static_rational<1,2> >(u*x) in main()
|
D | unit.cpp | 66 << "L^(3/2) = " << pow<static_rational<3,2> >(L) in main() 69 << "(3/2)vM = " << root<static_rational<3,2> >(M) in main()
|
D | composite_output.cpp | 99 << symbol_string(scale<10,static_rational<-9> >()) << std::endl in main() 100 << name_string(scale<10,static_rational<-9> >()) << std::endl in main()
|
/third_party/boost/libs/units/test/ |
D | test_constants.cpp | 31 using boost::units::static_rational; 85 …check_same(pow<static_rational<2, 3> >(length_constant), pow<static_rational<2, 3> >(unwrap(length… in test_pow() 86 …check_same(root<static_rational<2, 3> >(length_constant), root<static_rational<2, 3> >(unwrap(leng… in test_pow()
|
D | test_negative_denominator.cpp | 29 BOOST_MPL_ASSERT((boost::is_same<boost::units::static_rational<-2,1>::type, boost::units::static_ra…
|
D | test_output.cpp | 66 …nits::make_scaled_unit<length, boost::units::scale<10, boost::units::static_rational<3> > >::type … 67 …ts::make_scaled_unit<velocity, boost::units::scale<10, boost::units::static_rational<3> > >::type … 69 …ed_base_unit<second_base_unit, boost::units::scale<10, boost::units::static_rational<-3> > > milli… 77 typedef boost::units::make_scaled_unit<area, boost::units::scale<10, boost::units::static_rational<… 79 …make_scaled_unit<scaled_length, boost::units::scale<2, boost::units::static_rational<10> > >::type… 81 …ed_base_unit<meter_base_unit, boost::units::scale<100, boost::units::static_rational<1> > > scaled… 91 …_unit<scaled_length_base_unit, boost::units::scale<10, boost::units::static_rational<3> > > double… 104 …its::make_scaled_unit<custom1, boost::units::scale<10, boost::units::static_rational<3> > >::type … 105 …its::make_scaled_unit<custom2, boost::units::scale<10, boost::units::static_rational<3> > >::type …
|
D | test_sqrt_scaled_unit.cpp | 35 bu::scale<10, bu::static_rational<-3> > >::type milli_meter_unit; 38 bu::scale<10, bu::static_rational<-6> > >::type micro_meter2_unit;
|
D | test_scaled_conversion.cpp | 51 typedef bu::scaled_base_unit<base_unit2, bu::scale<10, bu::static_rational<3> > > scaled_base_unit2; 52 typedef bu::scaled_base_unit<base_unit4, bu::scale<10, bu::static_rational<3> > > scaled_base_unit4;
|
/third_party/boost/boost/units/detail/ |
D | linear_algebra.hpp | 140 typedef list<static_rational<0>, typename make_zero_vector<N - 1>::type> type; 149 …typedef list<static_rational<0>, typename create_row_of_identity<Column - 1, TotalColumns - 1>::ty… 153 typedef list<static_rational<1>, typename make_zero_vector<TotalColumns - 1>::type> type; 317 static_rational<1> 326 static_rational<1> 427 static_rational<1> 436 static_rational<1> 470 static_rational<1> 479 static_rational<1> 686 typedef static_rational<0> type; [all …]
|
D | dim_impl.hpp | 52 class static_rational; 75 struct is_empty_dim< dim<T, static_rational<0, 1> > > :
|
D | static_rational_power.hpp | 24 class static_rational; 71 struct static_rational_power_impl<static_rational<N, 1>, one> 178 struct static_rational_power_impl<static_rational<N, 1>, Y>
|