16 #ifndef OPENKALMAN_ZERO_HPP 17 #define OPENKALMAN_ZERO_HPP 22 #ifndef __cpp_concepts 25 template<
typename T,
typename =
void>
29 struct is_zero<T,
std::enable_if_t<values::fixed<constant_coefficient<T>>>>
30 : std::bool_constant<values::internal::near(constant_coefficient_v<T>, 0)> {};
49 #endif //OPENKALMAN_ZERO_HPP Definition: tuple_reverse.hpp:103
The root namespace for OpenKalman.
Definition: basics.hpp:34
constexpr bool zero
Specifies that a type is known at compile time to be a constant matrix of value zero.
Definition: zero.hpp:43
constexpr bool near(const Arg1 &arg1, const Arg2 &arg2)
Determine whether two numbers are within a rounding tolerance.
Definition: near.hpp:36