Go to the source code of this file.
|
| template<typename T > |
| constexpr T | gcem::internal::binomial_coef_recur (const T n, const T k) noexcept |
| |
| template<typename T , typename std::enable_if< std::is_integral< T >::value >::type * = nullptr> |
| constexpr T | gcem::internal::binomial_coef_check (const T n, const T k) noexcept |
| |
| template<typename T1 , typename T2 , typename TC = common_t<T1,T2>> |
| constexpr TC | gcem::internal::binomial_coef_type_check (const T1 n, const T2 k) noexcept |
| |
| template<typename T1 , typename T2 > |
| constexpr common_t< T1, T2 > | gcem::binomial_coef (const T1 n, const T2 k) noexcept |
| | Compile-time binomial coefficient.
|
| |