#include <numeric>
#include <ratio>
Go to the source code of this file.
|
| struct | sequoia::maths::ratio< Num, Den > |
| |
| struct | sequoia::maths::impl::ratio_product< Relaxed, ratio< Num1, Den1 >, ratio< Num2, Den2 > > |
| |
| struct | sequoia::maths::impl::ratio_product< Relaxed, ratio< Num1, Den1 >, std::ratio< Num2, Den2 > > |
| |
| struct | sequoia::maths::impl::ratio_product< Relaxed, std::ratio< Num1, Den1 >, ratio< Num2, Den2 > > |
| |
| struct | sequoia::maths::impl::ratio_product< Relaxed, std::ratio< Num1, Den1 >, std::ratio< Num2, Den2 > > |
| |
|
|
template<allow_ratio_fp_conversion Relaxed, class T , class U > |
| using | sequoia::maths::impl::ratio_product_t = ratio_product< Relaxed, T, U >::type |
| |
|
template<class T , class U , allow_ratio_fp_conversion Relaxed = allow_ratio_fp_conversion::no> |
| using | sequoia::maths::ratio_multiply = impl::ratio_product_t< Relaxed, T, U > |
| |
|
template<class T , class U , allow_ratio_fp_conversion Relaxed = allow_ratio_fp_conversion::no> |
| using | sequoia::maths::ratio_divide = impl::ratio_product_t< Relaxed, T, ratio< U::den, U::num > > |
| |
|
| enum class | allow_ratio_fp_conversion : bool { no
, yes
} |
| |
◆ defines_ratio_v
template<class T >
| constexpr bool sequoia::maths::defines_ratio_v |
|
inlineconstexpr |
Initial value:{
requires {
T::num;
T::den;
}
}
\brieft A concept for arithmetic types
Definition: Concepts.hpp:81