21namespace seqan3::detail
26template <
typename score_type>
40template <
typename matrix_t>
63 } -> std::same_as<typename std::remove_cvref_t<matrix_t>::size_type>;
72 } -> std::same_as<typename std::remove_cvref_t<matrix_t>::size_type>;
80 m.at(matrix_coordinate{})
81 } -> std::same_as<typename std::remove_cvref_t<matrix_t>::reference>;
100template <matrix matrix1_t, matrix matrix2_t>
101 requires std::equality_comparable_with<typename matrix1_t::reference, typename matrix2_t::reference>
102inline bool operator==(matrix1_t
const & lhs, matrix2_t
const & rhs)
noexcept
104 if (lhs.rows() != rhs.rows())
107 if (lhs.cols() != rhs.cols())
110 for (
size_t row = 0u; row < lhs.rows(); ++row)
111 for (
size_t col = 0u; col < lhs.cols(); ++col)
112 if (matrix_coordinate co{row_index_type{row}, column_index_type{col}}; lhs.at(co) != rhs.at(co))
124template <matrix matrix1_t, matrix matrix2_t>
125 requires std::equality_comparable_with<typename matrix1_t::reference, typename matrix2_t::reference>
126inline bool operator!=(matrix1_t
const & lhs, matrix2_t
const & rhs)
noexcept
128 return !(lhs == rhs);
Provides seqan3::detail::matrix_index, seqan3::detail::matrix_coordinate and associated strong types.