Namespaces | |
abstract | |
angle | |
astronomical | |
celsius | |
cgs | |
degree | |
detail | |
fahrenheit | |
gradian | |
imperial | |
information | |
metric | |
revolution | |
si | |
temperature | |
us | |
Enumerations | |
enum | format_mode { symbol_fmt = 0, name_fmt = 1, raw_fmt = 2, typename_fmt = 3, fmt_mask = 3 } |
format of output of units, for example "m" or "meter". More... | |
enum | autoprefix_mode { autoprefix_none = 0, autoprefix_engineering = 4, autoprefix_binary = 8, autoprefix_mask = 12 } |
automatic scaling and prefix (controlled by value of quantity) a, if any, More... | |
Functions | |
template<class Y > | |
absolute< Y > | operator+ (const absolute< Y > &aval, const Y &rval) |
add a relative value to an absolute one More... | |
template<class Y > | |
absolute< Y > | operator+ (const Y &rval, const absolute< Y > &aval) |
add a relative value to an absolute one More... | |
template<class Y > | |
absolute< Y > | operator- (const absolute< Y > &aval, const Y &rval) |
subtract a relative value from an absolute one More... | |
template<class Y > | |
Y | operator- (const absolute< Y > &aval1, const absolute< Y > &aval2) |
subtracting two absolutes gives a difference More... | |
template<class D , class S , class T > | |
quantity< absolute< unit< D, S > >, T > | operator* (const T &t, const absolute< unit< D, S > > &) |
creates a quantity from an absolute unit and a raw value More... | |
template<class D , class S , class T > | |
quantity< absolute< unit< D, S > >, T > | operator* (const absolute< unit< D, S > > &, const T &t) |
creates a quantity from an absolute unit and a raw value More... | |
template<class Char , class Traits , class Y > | |
std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const absolute< Y > &aval) |
Print an absolute unit. More... | |
template<class Unit , class Y > | |
bool isfinite | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
bool isinf | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
bool isnan | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
bool isnormal | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
bool isgreater | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
bool isgreaterequal | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
bool isless | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
bool islessequal | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
bool islessgreater | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
bool isunordered | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
quantity< Unit, Y > abs | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
quantity< Unit, Y > ceil | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
quantity< Unit, Y > copysign | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
quantity< Unit, Y > fabs | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
quantity< Unit, Y > floor | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
quantity< Unit, Y > fdim | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
quantity< Unit, Y > fmax | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
quantity< Unit, Y > fmin | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
int fpclassify | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
root_typeof_helper< typename add_typeof_helper< typename power_typeof_helper< quantity < Unit, Y >, static_rational < 2 > >::type, typename power_typeof_helper< quantity < Unit, Y >, static_rational < 2 > >::type >::type, static_rational< 2 > >::type hypot | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
quantity< Unit, Y > nextafter | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
quantity< Unit, Y > nexttoward | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
quantity< Unit, Y > round | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
int signbit | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
quantity< Unit, Y > trunc | BOOST_PREVENT_MACRO_SUBSTITUTION (const quantity< Unit, Y > &q) |
template<class Unit , class Y > | |
quantity< Unit, Y > | fmod (const quantity< Unit, Y > &q1, const quantity< Unit, Y > &q2) |
template<class Unit , class Y > | |
quantity< Unit, Y > | modf (const quantity< Unit, Y > &q1, quantity< Unit, Y > *q2) |
template<class Unit , class Y , class Int > | |
quantity< Unit, Y > | frexp (const quantity< Unit, Y > &q, Int *ex) |
template<class S , class Y > | |
quantity < BOOST_UNITS_DIMENSIONLESS_UNIT(S), Y > | pow (const quantity< BOOST_UNITS_DIMENSIONLESS_UNIT(S), Y > &q1, const quantity< BOOST_UNITS_DIMENSIONLESS_UNIT(S), Y > &q2) |
For non-dimensionless quantities, integral and rational powers and roots can be computed by pow<Ex> and root<Rt> respectively. More... | |
template<class S , class Y > | |
quantity < BOOST_UNITS_DIMENSIONLESS_UNIT(S), Y > | exp (const quantity< BOOST_UNITS_DIMENSIONLESS_UNIT(S), Y > &q) |
template<class Unit , class Y , class Int > | |
quantity< Unit, Y > | ldexp (const quantity< Unit, Y > &q, const Int &ex) |
template<class S , class Y > | |
quantity < BOOST_UNITS_DIMENSIONLESS_UNIT(S), Y > | log (const quantity< BOOST_UNITS_DIMENSIONLESS_UNIT(S), Y > &q) |
template<class S , class Y > | |
quantity < BOOST_UNITS_DIMENSIONLESS_UNIT(S), Y > | log10 (const quantity< BOOST_UNITS_DIMENSIONLESS_UNIT(S), Y > &q) |
template<class Unit , class Y > | |
root_typeof_helper< quantity < Unit, Y >, static_rational < 2 > >::type | sqrt (const quantity< Unit, Y > &q) |
template<class Y > | |
dimensionless_quantity < si::system, Y >::type | cos (const quantity< si::plane_angle, Y > &theta) |
cos of theta in radians More... | |
template<class Y > | |
dimensionless_quantity < si::system, Y >::type | sin (const quantity< si::plane_angle, Y > &theta) |
sin of theta in radians More... | |
template<class Y > | |
dimensionless_quantity < si::system, Y >::type | tan (const quantity< si::plane_angle, Y > &theta) |
tan of theta in radians More... | |
template<class System , class Y > | |
dimensionless_quantity< System, Y >::type | cos (const quantity< unit< plane_angle_dimension, System >, Y > &theta) |
cos of theta in other angular units More... | |
template<class System , class Y > | |
dimensionless_quantity< System, Y >::type | sin (const quantity< unit< plane_angle_dimension, System >, Y > &theta) |
sin of theta in other angular units More... | |
template<class System , class Y > | |
dimensionless_quantity< System, Y >::type | tan (const quantity< unit< plane_angle_dimension, System >, Y > &theta) |
tan of theta in other angular units More... | |
template<class Y , class System > | |
quantity< unit < plane_angle_dimension, homogeneous_system< System > >, Y > | acos (const quantity< unit< dimensionless_type, homogeneous_system< System > >, Y > &val) |
acos of dimensionless quantity returning angle in same system More... | |
template<class Y > | |
quantity < angle::radian_base_unit::unit_type, Y > | acos (const quantity< unit< dimensionless_type, heterogeneous_dimensionless_system >, Y > &val) |
acos of dimensionless quantity returning angle in radians More... | |
template<class Y , class System > | |
quantity< unit < plane_angle_dimension, homogeneous_system< System > >, Y > | asin (const quantity< unit< dimensionless_type, homogeneous_system< System > >, Y > &val) |
asin of dimensionless quantity returning angle in same system More... | |
template<class Y > | |
quantity < angle::radian_base_unit::unit_type, Y > | asin (const quantity< unit< dimensionless_type, heterogeneous_dimensionless_system >, Y > &val) |
asin of dimensionless quantity returning angle in radians More... | |
template<class Y , class System > | |
quantity< unit < plane_angle_dimension, homogeneous_system< System > >, Y > | atan (const quantity< unit< dimensionless_type, homogeneous_system< System > >, Y > &val) |
atan of dimensionless quantity returning angle in same system More... | |
template<class Y > | |
quantity < angle::radian_base_unit::unit_type, Y > | atan (const quantity< unit< dimensionless_type, heterogeneous_dimensionless_system >, Y > &val) |
atan of dimensionless quantity returning angle in radians More... | |
template<class Y , class Dimension , class System > | |
quantity< unit < plane_angle_dimension, homogeneous_system< System > >, Y > | atan2 (const quantity< unit< Dimension, homogeneous_system< System > >, Y > &y, const quantity< unit< Dimension, homogeneous_system< System > >, Y > &x) |
atan2 of value_type returning angle in radians More... | |
template<class Y , class Dimension , class System > | |
quantity < angle::radian_base_unit::unit_type, Y > | atan2 (const quantity< unit< Dimension, heterogeneous_system< System > >, Y > &y, const quantity< unit< Dimension, heterogeneous_system< System > >, Y > &x) |
atan2 of value_type returning angle in radians More... | |
template<class FromUnit , class ToUnit > | |
one_to_double_type< typename detail::conversion_factor_helper < FromUnit, ToUnit >::type > ::type | conversion_factor (const FromUnit &, const ToUnit &) |
Find the conversion factor between two units. More... | |
template<class T > | |
std::string | to_string (const T &t) |
template<integer_type N> | |
std::string | to_string (const static_rational< N > &) |
get string representation of integral-valued static_rational . More... | |
template<integer_type N, integer_type D> | |
std::string | to_string (const static_rational< N, D > &) |
get string representation of static_rational . More... | |
template<class Char , class Traits , integer_type N, integer_type D> | |
std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const static_rational< N, D > &r) |
Write static_rational to std::basic_ostream . More... | |
long | get_flags (std::ios_base &ios, long mask) |
returns flags controlling output. More... | |
void | set_flags (std::ios_base &ios, long new_flags, long mask) |
Set new flags controlling output format. More... | |
format_mode | get_format (std::ios_base &ios) |
returns flags controlling output format. More... | |
void | set_format (std::ios_base &ios, format_mode new_mode) |
Set new flags controlling output format. More... | |
std::ios_base & | typename_format (std::ios_base &ios) |
Set new flags for type_name output format. More... | |
std::ios_base & | raw_format (std::ios_base &ios) |
set new flag for raw format output, for example "m". More... | |
std::ios_base & | symbol_format (std::ios_base &ios) |
set new format flag for symbol output, for example "m". More... | |
std::ios_base & | name_format (std::ios_base &ios) |
set new format for name output, for example "meter". More... | |
autoprefix_mode | get_autoprefix (std::ios_base &ios) |
get autoprefix flags for output. More... | |
void | set_autoprefix (std::ios_base &ios, autoprefix_mode new_mode) |
Get format for output. More... | |
std::ios_base & | no_prefix (std::ios_base &ios) |
Clear autoprefix flags. More... | |
std::ios_base & | engineering_prefix (std::ios_base &ios) |
Set flag for engineering prefix, so 1234.5 m displays as "1.2345 km". More... | |
std::ios_base & | binary_prefix (std::ios_base &ios) |
Set flag for binary prefix, so 1024 byte displays as "1 Kib". More... | |
template<class T > | |
autoprefix_norm_impl< T >::type | autoprefix_norm (const T &arg) |
template<class Dimension , class System > | |
std::string | typename_string (const unit< Dimension, System > &) |
template<class Dimension , class System > | |
std::string | symbol_string (const unit< Dimension, System > &) |
template<class Dimension , class System > | |
std::string | name_string (const unit< Dimension, System > &) |
template<class Char , class Traits , class Dimension , class System > | |
std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const unit< Dimension, System > &u) |
Print a unit as a list of base units and their exponents. More... | |
template<class Char , class Traits , class Unit , class T > | |
std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const quantity< Unit, T > &q) |
Print a quantity . More... | |
template<typename System , typename Dim , typename Arg > | |
const multiply_typeof_helper < boost::units::unit< Dim, System > , boost::lambda::lambda_functor < Arg > >::type | operator* (const boost::units::unit< Dim, System > &a, const boost::lambda::lambda_functor< Arg > &b) |
Disambiguating overload for action unit<Dim, System> * lambda_functor<Arg> based on <boost/lambda/detail/operators.hpp>. More... | |
template<typename System , typename Dim , typename Arg > | |
const divide_typeof_helper < boost::units::unit< Dim, System > , boost::lambda::lambda_functor < Arg > >::type | operator/ (const boost::units::unit< Dim, System > &a, const boost::lambda::lambda_functor< Arg > &b) |
Disambiguating overload for action unit<Dim, System> / lambda_functor<Arg> based on <boost/lambda/detail/operators.hpp>. More... | |
template<typename System , typename Dim , typename Arg > | |
const multiply_typeof_helper < boost::lambda::lambda_functor < Arg >, boost::units::unit < Dim, System > >::type | operator* (const boost::lambda::lambda_functor< Arg > &a, const boost::units::unit< Dim, System > &b) |
Disambiguating overload for action lambda_functor<Arg> * unit<Dim, System> based on <boost/lambda/detail/operators.hpp>. More... | |
template<typename System , typename Dim , typename Arg > | |
const divide_typeof_helper < boost::lambda::lambda_functor < Arg >, boost::units::unit < Dim, System > >::type | operator/ (const boost::lambda::lambda_functor< Arg > &a, const boost::units::unit< Dim, System > &b) |
Disambiguating overload for action lambda_functor<Arg> / unit<Dim, System> based on <boost/lambda/detail/operators.hpp>. More... | |
template<typename System , typename Dim , typename Arg > | |
const multiply_typeof_helper < boost::lambda::lambda_functor < Arg > , boost::units::absolute < boost::units::unit< Dim, System > > >::type | operator* (const boost::lambda::lambda_functor< Arg > &a, const boost::units::absolute< boost::units::unit< Dim, System > > &b) |
Disambiguating overload for action lambda_functor<Arg> * absolute<unit<Dim, System> > based on <boost/lambda/detail/operators.hpp>. More... | |
template<typename System , typename Dim , typename Arg > | |
const multiply_typeof_helper < boost::units::absolute < boost::units::unit< Dim, System > >, boost::lambda::lambda_functor < Arg > >::type | operator* (const boost::units::absolute< boost::units::unit< Dim, System > > &a, const boost::lambda::lambda_functor< Arg > &b) |
Disambiguating overload for action absolute<unit<Dim, System> > * lambda_functor<Arg> based on <boost/lambda/detail/operators.hpp>. More... | |
template<class Rat , class Y > | |
power_typeof_helper< Y, Rat >::type | pow (const Y &x) |
raise a value to a static_rational power. More... | |
template<long N, class Y > | |
power_typeof_helper< Y, static_rational< N > >::type | pow (const Y &x) |
raise a value to an integer power. More... | |
template<class Rat , class Y > | |
root_typeof_helper< Y, Rat >::type | root (const Y &x) |
take the static_rational root of a value. More... | |
template<long N, class Y > | |
root_typeof_helper< Y, static_rational< N > >::type | root (const Y &x) |
take the integer root of a value. More... | |
template<class X , class Y > | |
X | quantity_cast (Y &source) |
quantity_cast provides mutating access to underlying quantity value_type More... | |
template<class X , class Y > | |
X | quantity_cast (const Y &source) |
template<class Unit , class Y > | |
void | swap (quantity< Unit, Y > &lhs, quantity< Unit, Y > &rhs) |
swap quantities More... | |
template<class System , class Dim , class Y > | |
multiply_typeof_helper< unit < Dim, System >, Y >::type | operator* (const unit< Dim, System > &, const Y &rhs) |
runtime unit times scalar INTERNAL ONLY More... | |
template<class System , class Dim , class Y > | |
divide_typeof_helper< unit < Dim, System >, Y >::type | operator/ (const unit< Dim, System > &, const Y &rhs) |
runtime unit divided by scalar More... | |
template<class System , class Dim , class Y > | |
multiply_typeof_helper< Y, unit< Dim, System > >::type | operator* (const Y &lhs, const unit< Dim, System > &) |
runtime scalar times unit More... | |
template<class System , class Dim , class Y > | |
divide_typeof_helper< Y, unit < Dim, System > >::type | operator/ (const Y &lhs, const unit< Dim, System > &) |
runtime scalar divided by unit More... | |
template<class Unit , class X > | |
multiply_typeof_helper < quantity< Unit, X >, X > ::type | operator* (const quantity< Unit, X > &lhs, const X &rhs) |
runtime quantity times scalar More... | |
template<class Unit , class X > | |
multiply_typeof_helper< X, quantity< Unit, X > >::type | operator* (const X &lhs, const quantity< Unit, X > &rhs) |
runtime scalar times quantity More... | |
template<class Unit , class X > | |
divide_typeof_helper< quantity < Unit, X >, X >::type | operator/ (const quantity< Unit, X > &lhs, const X &rhs) |
runtime quantity divided by scalar More... | |
template<class Unit , class X > | |
divide_typeof_helper< X, quantity< Unit, X > >::type | operator/ (const X &lhs, const quantity< Unit, X > &rhs) |
runtime scalar divided by quantity More... | |
template<class System1 , class Dim1 , class Unit2 , class Y > | |
multiply_typeof_helper< unit < Dim1, System1 >, quantity < Unit2, Y > >::type | operator* (const unit< Dim1, System1 > &, const quantity< Unit2, Y > &rhs) |
runtime unit times quantity More... | |
template<class System1 , class Dim1 , class Unit2 , class Y > | |
divide_typeof_helper< unit < Dim1, System1 >, quantity < Unit2, Y > >::type | operator/ (const unit< Dim1, System1 > &, const quantity< Unit2, Y > &rhs) |
runtime unit divided by quantity More... | |
template<class Unit1 , class System2 , class Dim2 , class Y > | |
multiply_typeof_helper < quantity< Unit1, Y >, unit < Dim2, System2 > >::type | operator* (const quantity< Unit1, Y > &lhs, const unit< Dim2, System2 > &) |
runtime quantity times unit More... | |
template<class Unit1 , class System2 , class Dim2 , class Y > | |
divide_typeof_helper< quantity < Unit1, Y >, unit< Dim2, System2 > >::type | operator/ (const quantity< Unit1, Y > &lhs, const unit< Dim2, System2 > &) |
runtime quantity divided by unit More... | |
template<class Unit , class Y > | |
unary_plus_typeof_helper < quantity< Unit, Y > >::type | operator+ (const quantity< Unit, Y > &val) |
runtime unary plus quantity More... | |
template<class Unit , class Y > | |
unary_minus_typeof_helper < quantity< Unit, Y > >::type | operator- (const quantity< Unit, Y > &val) |
runtime unary minus quantity More... | |
template<class Unit1 , class Unit2 , class X , class Y > | |
add_typeof_helper< quantity < Unit1, X >, quantity< Unit2, Y > >::type | operator+ (const quantity< Unit1, X > &lhs, const quantity< Unit2, Y > &rhs) |
runtime quantity plus quantity More... | |
template<class Unit1 , class Unit2 , class X , class Y > | |
subtract_typeof_helper < quantity< Unit1, X > , quantity< Unit2, Y > >::type | operator- (const quantity< Unit1, X > &lhs, const quantity< Unit2, Y > &rhs) |
runtime quantity minus quantity More... | |
template<class Unit1 , class Unit2 , class X , class Y > | |
multiply_typeof_helper < quantity< Unit1, X > , quantity< Unit2, Y > >::type | operator* (const quantity< Unit1, X > &lhs, const quantity< Unit2, Y > &rhs) |
runtime quantity times quantity More... | |
template<class Unit1 , class Unit2 , class X , class Y > | |
divide_typeof_helper< quantity < Unit1, X >, quantity< Unit2, Y > >::type | operator/ (const quantity< Unit1, X > &lhs, const quantity< Unit2, Y > &rhs) |
runtime quantity divided by quantity More... | |
template<class Unit , class X , class Y > | |
bool | operator== (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator== More... | |
template<class Unit , class X , class Y > | |
bool | operator!= (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator!= More... | |
template<class Unit , class X , class Y > | |
bool | operator< (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator< More... | |
template<class Unit , class X , class Y > | |
bool | operator<= (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator<= More... | |
template<class Unit , class X , class Y > | |
bool | operator> (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator> More... | |
template<class Unit , class X , class Y > | |
bool | operator>= (const quantity< Unit, X > &val1, const quantity< Unit, Y > &val2) |
runtime operator>= More... | |
template<long Base, class Exponent > | |
std::string | symbol_string (const scale< Base, Exponent > &) |
template<long Base, class Exponent > | |
std::string | name_string (const scale< Base, Exponent > &) |
template<class T , integer_type N, integer_type D> | |
divide_typeof_helper< T, T >::type | value (const static_rational< N, D > &) |
get decimal value of static_rational More... | |
std::string | name_string (const reduce_unit< cgs::acceleration >::type &) |
std::string | symbol_string (const reduce_unit< cgs::acceleration >::type &) |
template<class Dim , class System > | |
unary_plus_typeof_helper< unit < Dim, System > >::type | operator+ (const unit< Dim, System > &) |
unit runtime unary plus More... | |
template<class Dim , class System > | |
unary_minus_typeof_helper < unit< Dim, System > >::type | operator- (const unit< Dim, System > &) |
unit runtime unary minus More... | |
template<class Dim1 , class Dim2 , class System1 , class System2 > | |
add_typeof_helper< unit< Dim1, System1 >, unit< Dim2, System2 > >::type | operator+ (const unit< Dim1, System1 > &, const unit< Dim2, System2 > &) |
runtime add two units More... | |
template<class Dim1 , class Dim2 , class System1 , class System2 > | |
subtract_typeof_helper< unit < Dim1, System1 >, unit< Dim2, System2 > >::type | operator- (const unit< Dim1, System1 > &, const unit< Dim2, System2 > &) |
runtime subtract two units More... | |
template<class Dim1 , class Dim2 , class System1 , class System2 > | |
multiply_typeof_helper< unit < Dim1, System1 >, unit< Dim2, System2 > >::type | operator* (const unit< Dim1, System1 > &, const unit< Dim2, System2 > &) |
runtime multiply two units More... | |
template<class Dim1 , class Dim2 , class System1 , class System2 > | |
divide_typeof_helper< unit < Dim1, System1 >, unit< Dim2, System2 > >::type | operator/ (const unit< Dim1, System1 > &, const unit< Dim2, System2 > &) |
runtime divide two units More... | |
template<class Dim1 , class Dim2 , class System1 , class System2 > | |
bool | operator== (const unit< Dim1, System1 > &, const unit< Dim2, System2 > &) |
unit runtime operator== More... | |
template<class Dim1 , class Dim2 , class System1 , class System2 > | |
bool | operator!= (const unit< Dim1, System1 > &, const unit< Dim2, System2 > &) |
unit runtime operator!= More... | |
template<class T > | |
std::string | name_string (const T &) |
template<class T > | |
std::string | symbol_string (const T &) |
template<class T > | |
std::string | raw_string (const T &) |
template<class T > | |
std::string | typename_string (const T &) |
typedef derived_dimension<length_base_dimension,2, time_base_dimension,-2>::type boost::units::absorbed_dose_dimension |
derived dimension for absorbed dose : L^2 T^-2
typedef derived_dimension<length_base_dimension,1, time_base_dimension,-2>::type boost::units::acceleration_dimension |
derived dimension for acceleration : L T^-2
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-1>::type boost::units::action_dimension |
derived dimension for action : L^2 M T^-1
derived dimension for activity : T^-1
dimension of amount of substance (N)
typedef derived_dimension<time_base_dimension,-2, plane_angle_base_dimension,1>::type boost::units::angular_acceleration_dimension |
derived dimension for angular acceleration : T^-2 QP
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-1, plane_angle_base_dimension,-1>::type boost::units::angular_momentum_dimension |
derived dimension for angular momentum : L^2 M T^-1 QP^-1
typedef derived_dimension<time_base_dimension,-1, plane_angle_base_dimension,1>::type boost::units::angular_velocity_dimension |
derived dimension for angular velocity : T^-1 QP
derived dimension for area : L^2
typedef derived_dimension<length_base_dimension,-2, mass_base_dimension,-1, time_base_dimension,4, current_base_dimension,2>::type boost::units::capacitance_dimension |
derived dimension for capacitance : L^-2 M^-1 T^4 I^2
typedef derived_dimension<length_base_dimension,-2, mass_base_dimension,-1, time_base_dimension,3, current_base_dimension,2>::type boost::units::conductance_dimension |
derived dimension for conductance : L^-2 M^-1 T^3 I^2
typedef derived_dimension<length_base_dimension,-3, mass_base_dimension,-1, time_base_dimension,3, current_base_dimension,2>::type boost::units::conductivity_dimension |
derived dimension for conductivity : L^-3 M^-1 T^3 I^2
dimension of electric current (I)
typedef derived_dimension<length_base_dimension,2, time_base_dimension,-2>::type boost::units::dose_equivalent_dimension |
derived dimension for dose equivalent : L^2 T^-2
typedef derived_dimension<mass_base_dimension,1, length_base_dimension,-1, time_base_dimension,-1>::type boost::units::dynamic_viscosity_dimension |
derived dimension for dynamic viscosity : M L^-1 T^-1
typedef derived_dimension<time_base_dimension,1, current_base_dimension,1>::type boost::units::electric_charge_dimension |
derived dimension for electric charge : T^1 I^1
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-3, current_base_dimension,-1>::type boost::units::electric_potential_dimension |
derived dimension for electric potential : L^2 M T^-3 I^-1
typedef derived_dimension<length_base_dimension,-1, mass_base_dimension,1, time_base_dimension,-2>::type boost::units::energy_density_dimension |
derived dimension for energy density : L^-1 M^1 T^-2
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-2>::type boost::units::energy_dimension |
derived dimension for energy : L^2 M T^-2
typedef derived_dimension<length_base_dimension,1, mass_base_dimension,1, time_base_dimension,-2>::type boost::units::force_dimension |
derived dimension for force : L M T^-2
derived dimension for frequency : T^-1
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-2, temperature_base_dimension,-1>::type boost::units::heat_capacity_dimension |
derived dimension for heat capacity : L^2 M T^-2 Theta^-1
typedef derived_dimension<length_base_dimension,-2, luminous_intensity_base_dimension,1, solid_angle_base_dimension,1>::type boost::units::illuminance_dimension |
derived dimension for illuminance : L^-2 I QS
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-3, current_base_dimension,-2>::type boost::units::impedance_dimension |
derived dimension for impedance : L^2 M T^-3 I^-2
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-2, current_base_dimension,-2>::type boost::units::inductance_dimension |
derived dimension for inductance : L^2 M T^-2 I^-2
dimension of information
typedef long boost::units::integer_type |
typedef derived_dimension<length_base_dimension,2, time_base_dimension,-1>::type boost::units::kinematic_viscosity_dimension |
derived dimension for kinematic viscosity : L^2 T^-1
dimension of length (L)
typedef derived_dimension<length_base_dimension,-2, luminous_intensity_base_dimension,1>::type boost::units::luminance_dimension |
derived dimension for luminance : L^-2 I
typedef derived_dimension<luminous_intensity_base_dimension,1, solid_angle_base_dimension,1>::type boost::units::luminous_flux_dimension |
derived dimension for luminous flux : I QS
typedef luminous_intensity_base_dimension::dimension_type boost::units::luminous_intensity_dimension |
dimension of luminous intensity (J)
typedef derived_dimension<length_base_dimension,-1, current_base_dimension,1>::type boost::units::magnetic_field_intensity_dimension |
derived dimension for magnetic field intensity : L^-1 I
typedef derived_dimension<mass_base_dimension,1, time_base_dimension,-2, current_base_dimension,-1>::type boost::units::magnetic_flux_density_dimension |
derived dimension for magnetic flux density : M T^-2 I^-1
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-2, current_base_dimension,-1>::type boost::units::magnetic_flux_dimension |
derived dimension for magnetic flux : L^2 M T^-2 I^-1
typedef derived_dimension<length_base_dimension,-3, mass_base_dimension,1>::type boost::units::mass_density_dimension |
derived dimension for mass density : L^-3 M
dimension of mass (M)
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-2, amount_base_dimension,-1>::type boost::units::molar_energy_dimension |
derived dimension for molar energy : L^2 M T^-2 N^-1
derived dimension for molar heat capacity : L^2 M T^-2 Theta^-1 N^-1
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, plane_angle_base_dimension,-2>::type boost::units::moment_of_inertia_dimension |
derived dimension for moment of inertia : L^2 M QP^-2
typedef derived_dimension<length_base_dimension,1, mass_base_dimension,1, time_base_dimension,-1>::type boost::units::momentum_dimension |
derived dimension for linear momentum : L M T^-1
INTERNAL ONLY.
typedef derived_dimension<length_base_dimension,1, mass_base_dimension,1, time_base_dimension,-2, current_base_dimension,-2>::type boost::units::permeability_dimension |
derived dimension for permeability : L M T^-2 I^-2
typedef derived_dimension<length_base_dimension,-3, mass_base_dimension,-1, time_base_dimension,4, current_base_dimension,2>::type boost::units::permittivity_dimension |
derived dimension for permittivity : L^-3 M^-1 T^4 I^2
base dimension of plane angle (QP)
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-3>::type boost::units::power_dimension |
derived dimension for power : L^2 M T^-3
typedef derived_dimension<length_base_dimension,-1, mass_base_dimension,1, time_base_dimension,-2>::type boost::units::pressure_dimension |
derived dimension for pressure : L^-1 M T^-2
typedef derived_dimension<length_base_dimension,-2, mass_base_dimension,-1, time_base_dimension,2, current_base_dimension,2>::type boost::units::reluctance_dimension |
derived dimension for reluctance : L^-2 M^-1 T^2 I^2
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-3, current_base_dimension,-2>::type boost::units::resistance_dimension |
derived dimension for resistance : L^2 M T^-3 I^-2
typedef derived_dimension<length_base_dimension,3, mass_base_dimension,1, time_base_dimension,-3, current_base_dimension,-2>::type boost::units::resistivity_dimension |
derived dimension for resistivity : L^3 M T^-3 I^-2
base dimension of solid angle (QS)
typedef derived_dimension<length_base_dimension,2, time_base_dimension,-2>::type boost::units::specific_energy_dimension |
derived dimension for specific energy : L^2 T^-2
typedef derived_dimension<length_base_dimension,2, time_base_dimension,-2, temperature_base_dimension,-1>::type boost::units::specific_heat_capacity_dimension |
derived dimension for specific heat capacity : L^2 T^-2 Theta^-1
typedef derived_dimension<length_base_dimension,3, mass_base_dimension,-1>::type boost::units::specific_volume_dimension |
derived dimension for specific volume : L^3 M^-1
typedef derived_dimension<length_base_dimension,-1, mass_base_dimension,1, time_base_dimension,-2>::type boost::units::stress_dimension |
derived dimension for stress : L^-1 M T^-2
typedef derived_dimension<length_base_dimension,-2, mass_base_dimension,1>::type boost::units::surface_density_dimension |
derived dimension for surface density : L^-2 M
typedef derived_dimension<mass_base_dimension,1, time_base_dimension,-2>::type boost::units::surface_tension_dimension |
derived dimension for surface tension : M T^-2
dimension of temperature (Theta)
typedef derived_dimension<length_base_dimension,1, mass_base_dimension,1, time_base_dimension,-3, temperature_base_dimension,-1>::type boost::units::thermal_conductivity_dimension |
derived dimension for thermal_conductivity : L^1 M^1 T^-3 Theta^-1
dimension of time (T)
typedef derived_dimension<length_base_dimension,2, mass_base_dimension,1, time_base_dimension,-2, plane_angle_base_dimension,-1>::type boost::units::torque_dimension |
derived dimension for torque : L^2 M T^-2 QP^-1
typedef derived_dimension<length_base_dimension,1, time_base_dimension,-1>::type boost::units::velocity_dimension |
derived dimension for velocity : L T^-1
derived dimension for volume : l^3
derived dimension for wavenumber : L^-1
automatic scaling and prefix (controlled by value of quantity) a, if any,
format of output of units, for example "m" or "meter".
quantity<unit<plane_angle_dimension, homogeneous_system<System> >,Y> boost::units::acos | ( | const quantity< unit< dimensionless_type, homogeneous_system< System > >, Y > & | val | ) |
acos of dimensionless quantity returning angle in same system
References acos(), and boost::phoenix::val().
Referenced by acos().
quantity<angle::radian_base_unit::unit_type,Y> boost::units::acos | ( | const quantity< unit< dimensionless_type, heterogeneous_dimensionless_system >, Y > & | val | ) |
acos of dimensionless quantity returning angle in radians
References acos(), boost::units::quantity< Unit, Y >::from_value(), and boost::phoenix::val().
Referenced by acos().
quantity<unit<plane_angle_dimension, homogeneous_system<System> >,Y> boost::units::asin | ( | const quantity< unit< dimensionless_type, homogeneous_system< System > >, Y > & | val | ) |
asin of dimensionless quantity returning angle in same system
References asin(), and boost::phoenix::val().
Referenced by asin().
quantity<angle::radian_base_unit::unit_type,Y> boost::units::asin | ( | const quantity< unit< dimensionless_type, heterogeneous_dimensionless_system >, Y > & | val | ) |
asin of dimensionless quantity returning angle in radians
References asin(), boost::units::quantity< Unit, Y >::from_value(), and boost::phoenix::val().
Referenced by asin().
quantity<unit<plane_angle_dimension, homogeneous_system<System> >,Y> boost::units::atan | ( | const quantity< unit< dimensionless_type, homogeneous_system< System > >, Y > & | val | ) |
atan of dimensionless quantity returning angle in same system
References atan(), and boost::phoenix::val().
Referenced by atan().
quantity<angle::radian_base_unit::unit_type,Y> boost::units::atan | ( | const quantity< unit< dimensionless_type, heterogeneous_dimensionless_system >, Y > & | val | ) |
atan of dimensionless quantity returning angle in radians
References atan(), boost::units::quantity< Unit, Y >::from_value(), and boost::phoenix::val().
Referenced by atan().
quantity<unit<plane_angle_dimension, homogeneous_system<System> >, Y> boost::units::atan2 | ( | const quantity< unit< Dimension, homogeneous_system< System > >, Y > & | y, |
const quantity< unit< Dimension, homogeneous_system< System > >, Y > & | x | ||
) |
atan2 of value_type
returning angle in radians
References atan2(), boost::flyweights::x, and boost::polygon::y().
Referenced by atan2().
quantity<angle::radian_base_unit::unit_type,Y> boost::units::atan2 | ( | const quantity< unit< Dimension, heterogeneous_system< System > >, Y > & | y, |
const quantity< unit< Dimension, heterogeneous_system< System > >, Y > & | x | ||
) |
atan2 of value_type
returning angle in radians
References atan2(), boost::units::quantity< Unit, Y >::from_value(), boost::flyweights::x, and boost::polygon::y().
Referenced by atan2().
autoprefix_norm_impl<T>::type boost::units::autoprefix_norm | ( | const T & | arg | ) |
References boost::spirit::x3::detail::call().
Referenced by boost::units::detail::do_print_prefixed_impl(), and operator<<().
|
inline |
Set flag for binary prefix, so 1024 byte displays as "1 Kib".
References autoprefix_binary, and set_autoprefix().
|
inline |
References boost::math::isfinite(), and boost::units::quantity< Unit, Y >::value().
Referenced by BOOST_PREVENT_MACRO_SUBSTITUTION().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References BOOST_PREVENT_MACRO_SUBSTITUTION(), fmax, and boost::units::quantity< Unit, Y >::value().
|
inline |
References BOOST_PREVENT_MACRO_SUBSTITUTION(), fmin, and boost::units::quantity< Unit, Y >::value().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Find the conversion factor between two units.
References boost::program_options::value().
dimensionless_quantity<si::system,Y>::type boost::units::cos | ( | const quantity< si::plane_angle, Y > & | theta | ) |
cos of theta in radians
References cos(), and boost::units::quantity< Unit, Y >::value().
Referenced by cos().
dimensionless_quantity<System,Y>::type boost::units::cos | ( | const quantity< unit< plane_angle_dimension, System >, Y > & | theta | ) |
|
inline |
Set flag for engineering prefix, so 1234.5 m displays as "1.2345 km".
References autoprefix_engineering, and set_autoprefix().
|
inline |
|
inline |
References boost::units::quantity< Unit, Y >::value().
|
inline |
References boost::units::quantity< Unit, Y >::value().
|
inline |
get autoprefix flags for output.
References autoprefix_mask, and get_flags().
Referenced by operator<<().
|
inline |
returns flags controlling output.
Referenced by get_autoprefix(), and get_format().
|
inline |
returns flags controlling output format.
References fmt_mask, and get_flags().
Referenced by boost::units::detail::do_print_prefixed_impl(), boost::units::detail::print_scale_t< Os >::operator()(), and operator<<().
|
inline |
References boost::units::quantity< Unit, Y >::value().
|
inline |
|
inline |
|
inline |
References quantity_cast(), and boost::units::quantity< Unit, Y >::value().
|
inline |
set new format for name output, for example "meter".
References name_fmt, and set_format().
|
inline |
std::string boost::units::name_string | ( | const T & | ) |
std::string boost::units::name_string | ( | const scale< Base, Exponent > & | ) |
References boost::iostreams::gzip::flags::name.
|
inline |
References boost::units::detail::to_string_impl().
Referenced by boost::units::detail::format_name_impl::operator()(), and operator<<().
|
inline |
Clear autoprefix flags.
References autoprefix_none, and set_autoprefix().
|
inline |
unit runtime operator!=
References boost::detail::type, and value().
|
inline |
runtime operator!=
|
inline |
Disambiguating overload for action unit<Dim, System> * lambda_functor<Arg> based on <boost/lambda/detail/operators.hpp>.
References boost::spirit::x3::unicode::inherited.
quantity<absolute<unit<D, S> >, T> boost::units::operator* | ( | const T & | t, |
const absolute< unit< D, S > > & | |||
) |
creates a quantity from an absolute unit and a raw value
References T.
quantity<absolute<unit<D, S> >, T> boost::units::operator* | ( | const absolute< unit< D, S > > & | , |
const T & | t | ||
) |
creates a quantity from an absolute unit and a raw value
References T.
|
inline |
Disambiguating overload for action lambda_functor<Arg> * unit<Dim, System> based on <boost/lambda/detail/operators.hpp>.
References boost::spirit::x3::unicode::inherited.
multiply_typeof_helper< unit<Dim1,System1>, unit<Dim2,System2> >::type boost::units::operator* | ( | const unit< Dim1, System1 > & | , |
const unit< Dim2, System2 > & | |||
) |
runtime multiply two units
References boost::detail::type.
|
inline |
Disambiguating overload for action lambda_functor<Arg> * absolute<unit<Dim, System> > based on <boost/lambda/detail/operators.hpp>.
References boost::asio::b, and boost::spirit::x3::unicode::inherited.
|
inline |
Disambiguating overload for action absolute<unit<Dim, System> > * lambda_functor<Arg> based on <boost/lambda/detail/operators.hpp>.
References boost::a, and boost::spirit::x3::unicode::inherited.
|
inline |
runtime unit times scalar INTERNAL ONLY
References boost::detail::type.
|
inline |
runtime scalar times unit
References boost::detail::type.
|
inline |
runtime quantity times scalar
References boost::detail::type.
|
inline |
runtime scalar times quantity
References boost::detail::type.
|
inline |
runtime unit times quantity
References boost::detail::type.
|
inline |
runtime quantity times unit
References boost::detail::type.
|
inline |
runtime quantity times quantity
References boost::detail::type.
absolute<Y> boost::units::operator+ | ( | const absolute< Y > & | aval, |
const Y & | rval | ||
) |
add a relative value to an absolute one
References boost::units::absolute< Y >::value().
absolute<Y> boost::units::operator+ | ( | const Y & | rval, |
const absolute< Y > & | aval | ||
) |
add a relative value to an absolute one
References boost::units::absolute< Y >::value().
unary_plus_typeof_helper< unit<Dim,System> >::type boost::units::operator+ | ( | const unit< Dim, System > & | ) |
unit runtime unary plus
References boost::detail::type.
add_typeof_helper< unit<Dim1,System1>, unit<Dim2,System2> >::type boost::units::operator+ | ( | const unit< Dim1, System1 > & | , |
const unit< Dim2, System2 > & | |||
) |
runtime add two units
References boost::BOOST_STATIC_ASSERT(), boost::detail::type, and boost::program_options::value().
unary_plus_typeof_helper< quantity<Unit,Y> >::type boost::units::operator+ | ( | const quantity< Unit, Y > & | val | ) |
runtime unary plus quantity
References boost::detail::type.
|
inline |
runtime quantity plus quantity
References boost::detail::type.
absolute<Y> boost::units::operator- | ( | const absolute< Y > & | aval, |
const Y & | rval | ||
) |
subtract a relative value from an absolute one
References boost::units::absolute< Y >::value().
Y boost::units::operator- | ( | const absolute< Y > & | aval1, |
const absolute< Y > & | aval2 | ||
) |
subtracting two absolutes gives a difference
References boost::units::absolute< Y >::value().
unary_minus_typeof_helper< unit<Dim,System> >::type boost::units::operator- | ( | const unit< Dim, System > & | ) |
unit runtime unary minus
References boost::detail::type.
subtract_typeof_helper< unit<Dim1,System1>, unit<Dim2,System2> >::type boost::units::operator- | ( | const unit< Dim1, System1 > & | , |
const unit< Dim2, System2 > & | |||
) |
runtime subtract two units
References boost::BOOST_STATIC_ASSERT(), boost::detail::type, and boost::program_options::value().
unary_minus_typeof_helper< quantity<Unit,Y> >::type boost::units::operator- | ( | const quantity< Unit, Y > & | val | ) |
runtime unary minus quantity
References boost::detail::type.
|
inline |
runtime quantity minus quantity
References boost::detail::type.
|
inline |
Disambiguating overload for action unit<Dim, System> / lambda_functor<Arg> based on <boost/lambda/detail/operators.hpp>.
References boost::spirit::x3::unicode::inherited.
|
inline |
Disambiguating overload for action lambda_functor<Arg> / unit<Dim, System> based on <boost/lambda/detail/operators.hpp>.
References boost::spirit::x3::unicode::inherited.
divide_typeof_helper< unit<Dim1,System1>, unit<Dim2,System2> >::type boost::units::operator/ | ( | const unit< Dim1, System1 > & | , |
const unit< Dim2, System2 > & | |||
) |
runtime divide two units
References boost::detail::type.
|
inline |
runtime unit divided by scalar
References boost::detail::type.
|
inline |
runtime scalar divided by unit
References boost::detail::type.
|
inline |
runtime quantity divided by scalar
References boost::detail::type.
|
inline |
runtime scalar divided by quantity
References boost::detail::type.
|
inline |
runtime unit divided by quantity
References boost::detail::type.
|
inline |
runtime quantity divided by unit
References boost::detail::type.
|
inline |
runtime quantity divided by quantity
References boost::detail::type.
|
inline |
runtime operator<
References boost::units::quantity< Unit, Y >::value().
|
inline |
Write static_rational
to std::basic_ostream
.
References to_string().
std::basic_ostream<Char, Traits>& boost::units::operator<< | ( | std::basic_ostream< Char, Traits > & | os, |
const absolute< Y > & | aval | ||
) |
Print an absolute unit.
|
inline |
Print a unit
as a list of base units and their exponents.
for symbol_format
outputs e.g. "m s^-1" or "J". for name_format
outputs e.g. "meter second^-1" or "joule". for raw_format
outputs e.g. "m s^-1" or "meter kilogram^2 second^-2". for typename_format
outputs the typename itself (currently demangled only on GCC).
References boost::units::detail::do_print(), get_format(), name_fmt, name_string(), raw_fmt, symbol_fmt, symbol_string(), boost::units::detail::to_string_impl(), typename_fmt, and typename_string().
|
inline |
Print a quantity
.
Prints the value followed by the unit. If the engineering_prefix, or binary_prefix is set, tries to scale the value appropriately. For example, it might print 12.345 km instead of 12345 m. (Note does not attempt to automatically scale scalars like double, float...)
References autoprefix_binary, autoprefix_engineering, autoprefix_none, autoprefix_norm(), get_autoprefix(), and boost::units::detail::test_norm().
|
inline |
runtime operator<=
References boost::units::quantity< Unit, Y >::value().
|
inline |
unit runtime operator==
References boost::detail::type, and value().
|
inline |
runtime operator==
|
inline |
runtime operator>
|
inline |
runtime operator>=
|
inline |
raise a value to a static_rational
power.
References boost::program_options::value().
|
inline |
raise a value to an integer power.
References value().
|
inline |
For non-dimensionless quantities, integral and rational powers and roots can be computed by pow<Ex>
and root<Rt>
respectively.
References pow().
|
inline |
quantity_cast provides mutating access to underlying quantity value_type
Referenced by modf().
|
inline |
|
inline |
set new flag for raw format output, for example "m".
References raw_fmt, and set_format().
std::string boost::units::raw_string | ( | const T & | ) |
root_typeof_helper<Y,Rat>::type boost::units::root | ( | const Y & | x | ) |
take the static_rational
root of a value.
References boost::program_options::value().
Referenced by boost::mpi::detail::broadcast_impl(), boost::detail::mmd_impl< Graph, DegreeMap, InversePermutationMap, PermutationMap, SuperNodeMap, VertexIndexMap >::build_permutation(), boost::intrusive::treap_impl< ValueTraits, VoidOrKeyComp, VoidOrPrioComp, SizeType, ConstantTimeSize, HeaderHolder >::ctop(), boost::math::detail::digamma_imp_1_2(), boost::wave::impl::pp_iterator_functor< ContextT >::dispatch_directive(), boost::mpi::gather(), boost::intrusive::bstree_algorithms< NodeTraits >::rebalance(), boost::mpi::reduce(), boost::mpi::detail::reduce_impl(), boost::remove_edge(), boost::mpi::scatter(), boost::intrusive::treap_impl< ValueTraits, VoidOrKeyComp, VoidOrPrioComp, SizeType, ConstantTimeSize, HeaderHolder >::top(), and boost::mpi::detail::tree_reduce_impl().
root_typeof_helper<Y,static_rational<N> >::type boost::units::root | ( | const Y & | x | ) |
take the integer root of a value.
References value().
|
inline |
Get format for output.
References autoprefix_mask, and set_flags().
Referenced by binary_prefix(), engineering_prefix(), and no_prefix().
|
inline |
Set new flags controlling output format.
Referenced by set_autoprefix(), and set_format().
|
inline |
Set new flags controlling output format.
References fmt_mask, and set_flags().
Referenced by name_format(), raw_format(), symbol_format(), and typename_format().
dimensionless_quantity<si::system,Y>::type boost::units::sin | ( | const quantity< si::plane_angle, Y > & | theta | ) |
sin of theta in radians
References sin(), and boost::units::quantity< Unit, Y >::value().
Referenced by sin().
dimensionless_quantity<System,Y>::type boost::units::sin | ( | const quantity< unit< plane_angle_dimension, System >, Y > & | theta | ) |
|
inline |
References boost::units::quantity< Unit, Y >::value().
|
inline |
swap quantities
|
inline |
set new format flag for symbol output, for example "m".
References set_format(), and symbol_fmt.
|
inline |
std::string boost::units::symbol_string | ( | const T & | ) |
std::string boost::units::symbol_string | ( | const scale< Base, Exponent > & | ) |
References boost::spirit::x3::unicode::symbol.
|
inline |
References boost::units::detail::to_string_impl().
Referenced by boost::units::detail::format_symbol_impl::operator()(), and operator<<().
dimensionless_quantity<si::system,Y>::type boost::units::tan | ( | const quantity< si::plane_angle, Y > & | theta | ) |
tan of theta in radians
References tan(), and boost::units::quantity< Unit, Y >::value().
Referenced by tan().
dimensionless_quantity<System,Y>::type boost::units::tan | ( | const quantity< unit< plane_angle_dimension, System >, Y > & | theta | ) |
|
inline |
References boost::flyweights::t.
Referenced by boost::units::detail::exponent_string(), operator<<(), and to_string().
std::string boost::units::to_string | ( | const static_rational< N > & | ) |
get string representation of integral-valued static_rational
.
References N, and to_string().
std::string boost::units::to_string | ( | const static_rational< N, D > & | ) |
get string representation of static_rational
.
References N, and to_string().
|
inline |
Set new flags for type_name output format.
References set_format(), and typename_fmt.
std::string boost::units::typename_string | ( | const T & | ) |
|
inline |
References boost::detail::type.
Referenced by operator<<().
|
inline |