16 #ifndef OPENKALMAN_IDENTITY_MATRIX_HPP 17 #define OPENKALMAN_IDENTITY_MATRIX_HPP 22 #ifndef __cpp_concepts 25 template<
typename T,
typename =
void>
30 : std::bool_constant<values::internal::near(constant_diagonal_coefficient_v<T>, 1)> {};
43 (values::fixed<constant_diagonal_coefficient<T>> and
values::internal::near(constant_diagonal_coefficient_v<T>, 1)) or
52 #endif //OPENKALMAN_IDENTITY_MATRIX_HPP Definition: tuple_reverse.hpp:103
The root namespace for OpenKalman.
Definition: basics.hpp:34
constexpr bool identity_matrix
Specifies that a type is an identity matrix.
Definition: identity_matrix.hpp:45
Definition: identity_matrix.hpp:26
constexpr bool near(const Arg1 &arg1, const Arg2 &arg2)
Determine whether two numbers are within a rounding tolerance.
Definition: near.hpp:36