23template <
typename Derived>
34template <
typename Numeric>
36 static_assert(std::is_arithmetic_v<Numeric>);
44template <
typename Numeric>
46 static_assert(std::is_arithmetic_v<Numeric>);
64 static constexpr bool has_equal_v = std::is_invocable_r_v<bool, std::equal_to<>, T, T>;
65 static constexpr bool has_less_v = std::is_invocable_r_v<bool, std::less<>, T, T>;
89template <
typename Scalar, FloatType FP>
90using restricted_t = std::conditional_t<traits::NumTraits<Scalar>::is_complex_v,
91 std::complex<typename FPTypeTraits<FP>::type>,
std::conditional_t< traits::NumTraits< Scalar >::is_complex_v, std::complex< typename FPTypeTraits< FP >::type >, typename FPTypeTraits< FP >::type > restricted_t
Helper struct to extract types from a derived basis type. Must be specialized for each derived basis ...
Helper struct to extract the type from a floating point precision enum.
Helper struct to extract types from a numerical type.
static constexpr bool is_complex_v
static constexpr bool from_floating_point_v
static constexpr bool from_integral_v
Helper struct to extract whether a type supports certain operations.
static constexpr bool has_less_v
static constexpr bool has_equal_v