TypeSI
Units of 'Système international' Blended for C++
|
Mathematical operations with Si units. More...
Go to the source code of this file.
Classes | |
struct | Si::Internal::std_pow< T > |
Namespaces | |
namespace | Si::Internal |
Technical namespace for core library logic. | |
namespace | Si::Math |
Mathematical operations with Si units. | |
Functions | |
template<typename Power , typename T , typename Function = Internal::std_pow<T>, typename... Powers> | |
Internal::Unit< T, std::ratio_multiply< Power, Powers >... > | Si::Math::pow (const Internal::Unit< T, Powers... > &base) |
Function for exponentiation with Unit as base. More... | |
template<typename Power , typename Unit , typename Function = Internal::std_pow<decltype(+std::declval<Unit>())>, typename PrefixRatio > | |
Internal::GenericPrefix< typename std::ratio< static_cast< std::intmax_t >(std::pow(PrefixRatio::num, Power::num)), static_cast< std::intmax_t >(std::pow(PrefixRatio::den, Power::num))>::type, decltype(pow< Power >(std::declval< Unit >()))> | Si::Math::pow (const Internal::GenericPrefix< PrefixRatio, Unit > &base) |
Function for exponentiation with prefixed Unit as base. More... | |
Mathematical operations with Si units.