|
| template<std::intmax_t num, std::intmax_t den> |
| constexpr C<(1 - 2 *(num< 0)) *num,(1 - 2 *(den< 0)) *den > | sym::abs (const C< num, den > &a) |
| |
| template<std::intmax_t num, std::intmax_t den> |
| auto | sym::cos (const C< num, den > &a) -> STATOR_AUTORETURN(cos_Cimpl(a, detail::select_overload |
| |
| template<std::intmax_t num, std::intmax_t den, typename = typename std::enable_if<is_whole_factor<std::ratio<num, den>, pi>::value>::type> |
| constexpr Unity | sym::cos_Cimpl (const C< num, den > &a, detail::choice< 0 >) |
| |
| template<std::intmax_t num, std::intmax_t den, typename = typename std::enable_if<is_whole_factor<std::ratio<num, den>, pi, decltype(pi() / C<2>())>::value>::type> |
| constexpr Null | sym::cos_Cimpl (const C< num, den > &a, detail::choice< 0 >) |
| |
| template<std::intmax_t n1, std::intmax_t d1, std::intmax_t n2, std::intmax_t d2> |
| constexpr auto | sym::operator* (C< n1, d1 >, C< n2, d2 >) -> STATOR_AUTORETURN((typename detail::C_wrap< std::ratio_multiply< std::ratio< n1, d1 >, std::ratio< n2, d2 > > >::type())) |
| |
| template<class T , typename = typename std::enable_if<!is_C<T>::value>::type> |
| Null | sym::operator* (const T &, Null) |
| |
| template<class T , typename = typename std::enable_if<!is_C<T>::value>::type> |
| Null | sym::operator* (Null, const T &) |
| |
| template<class T , typename = typename std::enable_if<!is_C<T>::value>::type> |
| auto | sym::operator* (const T &a, Unity) -> STATOR_AUTORETURN(a) |
| |
| template<class T , typename = typename std::enable_if<!is_C<T>::value>::type> |
| auto | sym::operator* (Unity, const T &a) -> STATOR_AUTORETURN(a) |
| |
| template<std::intmax_t n1, std::intmax_t d1, std::intmax_t n2, std::intmax_t d2> |
| constexpr auto | sym::operator+ (C< n1, d1 >, C< n2, d2 >) -> STATOR_AUTORETURN((typename detail::C_wrap< std::ratio_add< std::ratio< n1, d1 >, std::ratio< n2, d2 > > >::type())) |
| |
| template<class T , typename = typename std::enable_if<!is_C<T>::value>::type> |
| T | sym::operator+ (const T &l, Null) |
| |
| template<class T , typename = typename std::enable_if<!is_C<T>::value>::type> |
| T | sym::operator+ (Null, const T &r) |
| |
| template<std::intmax_t n1, std::intmax_t d1, std::intmax_t n2, std::intmax_t d2> |
| constexpr auto | sym::operator- (C< n1, d1 >, C< n2, d2 >) -> STATOR_AUTORETURN((typename detail::C_wrap< std::ratio_subtract< std::ratio< n1, d1 >, std::ratio< n2, d2 > > >::type())) |
| |
| template<class T , typename = typename std::enable_if<!is_C<T>::value>::type> |
| T | sym::operator- (const T &l, Null) |
| |
| template<class T , typename = typename std::enable_if<!is_C<T>::value>::type> |
| auto | sym::operator- (Null, const T &r) -> STATOR_AUTORETURN(-r) |
| |
| template<std::intmax_t n1, std::intmax_t d1, std::intmax_t n2, std::intmax_t d2> |
| constexpr auto | sym::operator/ (C< n1, d1 >, C< n2, d2 >) -> STATOR_AUTORETURN((typename detail::C_wrap< std::ratio_divide< std::ratio< n1, d1 >, std::ratio< n2, d2 > > >::type())) |
| |
| template<std::intmax_t Num, std::intmax_t Denom> |
| std::ostream & | sym::operator<< (std::ostream &os, const C< Num, Denom >) |
| | Output operator for compile-time constant (C types). More...
|
| |
| std::ostream & | sym::operator<< (std::ostream &os, const C< 1, 4 >) |
| | Output operator specialised for one quarter. More...
|
| |
| std::ostream & | sym::operator<< (std::ostream &os, const C< 1, 2 >) |
| | Output operator specialised for one half. More...
|
| |
| std::ostream & | sym::operator<< (std::ostream &os, const C< 3, 4 >) |
| | Output operator specialised for three quarters. More...
|
| |
| std::ostream & | sym::operator<< (std::ostream &os, const pi) |
| | Specialized output operator for . More...
|
| |
| template<class T > |
| std::ostream & | sym::operator<< (std::ostream &os, const std::complex< T > &c) |
| |
| template<std::intmax_t n1, std::intmax_t d1, std::intmax_t n2, std::intmax_t d2> |
| constexpr bool | sym::operator== (const C< n1, d1 > &, const C< n2, d2 > &) |
| |
| template<std::intmax_t num, std::intmax_t den> |
| auto | sym::sin (const C< num, den > &a) -> STATOR_AUTORETURN(sin_Cimpl(a, detail::select_overload |
| |
| template<std::intmax_t num, std::intmax_t den, typename = typename std::enable_if<is_whole_factor<std::ratio<num, den>, pi>::value>::type> |
| constexpr Null | sym::sin_Cimpl (const C< num, den > &a, detail::choice< 0 >) |
| |
| template<std::intmax_t num, std::intmax_t den, typename = typename std::enable_if<is_whole_factor<std::ratio<num, den>, pi, decltype(pi() / C<2>())>::value>::type> |
| constexpr Unity | sym::sin_Cimpl (const C< num, den > &a, detail::choice< 0 >) |
| |