Units.hh
Go to the documentation of this file.
25 >;
110 inline typename boost::units::root_typeof_helper <boost::units::quantity<Unit, Y>, boost::units::static_rational<3>>::type cbrt(const boost::units::quantity<Unit, Y>& q)
113 using quantity_type = typename boost::units::root_typeof_helper <boost::units::quantity<Unit, Y>, boost::units::static_rational<3>>::type;
118 inline boost::units::quantity<Unit, Y> max BOOST_PREVENT_MACRO_SUBSTITUTION(const boost::units::quantity<Unit, Y>& q1, const boost::units::quantity<Unit, Y>& q2)
126 inline boost::units::quantity<Unit, Y> min BOOST_PREVENT_MACRO_SUBSTITUTION(const boost::units::quantity<Unit, Y>& q1, const boost::units::quantity<Unit, Y>& q2)
149 using ValueCubed = typename boost::units::multiply_typeof_helper<ValueSquare<Value>, Value>::type;
152 using Value4 = typename boost::units::multiply_typeof_helper<ValueSquare<Value>, ValueSquare<Value>>::type;
typename std::enable_if< IsQuantity< Value >::value >::type OnlyIfQuantity
Definition: Units.hh:59
static type value(double x)
Definition: Units.hh:35
typename boost::units::multiply_typeof_helper< ValueSquare< Value >, Value >::type ValueCubed
Definition: Units.hh:149
Boost provides free peer-reviewed portable C++ source libraries.
Definition: LorentzVectorBase.hh:726
boost::units::quantity< boost::units::si::plane_angle > Angle
Angle measured in radian.
Definition: Si.hh:35
boost::units::root_typeof_helper< boost::units::quantity< Unit, Y >, boost::units::static_rational< 3 > >::type cbrt(const boost::units::quantity< Unit, Y > &q)
Definition: Units.hh:110
typename std::enable_if< !IsQuantity< Value >::value >::type OnlyIfNotQuantity
Definition: Units.hh:62
Angle atan2(Value const &value_1, Value const &value_2, std::true_type)
Arctangent2 .
Definition: Units.hh:197
typename boost::units::multiply_typeof_helper< ValueSquare< Value >, ValueSquare< Value >>::type Value4
Definition: Units.hh:152
static type value(const quantity< Y > &x)
Definition: Units.hh:26
typename boost::units::divide_typeof_helper< double, Value >::type ValueInverse
Definition: Units.hh:140
ValueSqrt< Value > sqrt(Value const &value, std::true_type)
Square Root.
Definition: Units.hh:172
boost::units::dimensionless_quantity< boost::units::si::system, Y >::type exp(const boost::units::quantity< boost::units::si::plane_angle, Y > &theta)
exp of theta in radians
Definition: Units.hh:77
typename boost::units::multiply_typeof_helper< Value, Value_2 >::type ValueProduct
Definition: Units.hh:134
boost::units::quantity< Unit, Y > min BOOST_PREVENT_MACRO_SUBSTITUTION(const boost::units::quantity< Unit, Y > &q1, const boost::units::quantity< Unit, Y > &q2)
Definition: Units.hh:126
typename boost::units::multiply_typeof_helper< Value, Value >::type ValueSquare
Definition: Units.hh:143
boost::units::dimensionless_quantity< boost::units::si::system, Y >::type sinh(const boost::units::quantity< boost::units::si::plane_angle, Y > &theta)
sinh of theta in radians
Definition: Units.hh:68
typename boost::units::root_typeof_helper< Value, double >::type ValueSqrt
Definition: Units.hh:146
Value abs(Value const &value, std::true_type)
Absolute value.
Definition: Units.hh:247
Value max(Value const &value_1, Value const &value_2, std::true_type)
Maximal value.
Definition: Units.hh:272
typename boost::units::divide_typeof_helper< Value, Value_2 >::type ValueQuotient
Definition: Units.hh:137
Definition: Units.hh:55
quantity< typename root_typeof_helper< Y, static_rational< 1, 2 > >::type > type
Definition: Units.hh:25
Angle acos(Value const &value_1, std::true_type)
Arccosine.
Definition: Units.hh:222