18namespace seqan3::detail
23template <
typename score_type>
32template <
typename matrix_t>
42 } -> std::same_as<typename std::remove_cvref_t<matrix_t>::size_type>;
46 } -> std::same_as<typename std::remove_cvref_t<matrix_t>::size_type>;
49 m.at(matrix_coordinate{})
50 } -> std::same_as<typename std::remove_cvref_t<matrix_t>::reference>;
55#if SEQAN3_DOXYGEN_ONLY(1) 0
56template <
typename matrix_t>
99template <matrix matrix1_t, matrix matrix2_t>
100 requires std::equality_comparable_with<typename matrix1_t::reference, typename matrix2_t::reference>
101inline bool operator==(matrix1_t
const & lhs, matrix2_t
const & rhs)
noexcept
103 if (lhs.rows() != rhs.rows())
106 if (lhs.cols() != rhs.cols())
109 for (
size_t row = 0u; row < lhs.rows(); ++row)
110 for (
size_t col = 0u; col < lhs.cols(); ++col)
111 if (matrix_coordinate co{row_index_type{row}, column_index_type{col}}; lhs.at(co) != rhs.at(co))
123template <matrix matrix1_t, matrix matrix2_t>
124 requires std::equality_comparable_with<typename matrix1_t::reference, typename matrix2_t::reference>
125inline bool operator!=(matrix1_t
const & lhs, matrix2_t
const & rhs)
noexcept
127 return !(lhs == rhs);
Provides seqan3::detail::matrix_index, seqan3::detail::matrix_coordinate and associated strong types.