21namespace seqan3::detail
26template <
typename score_type>
40template <
typename matrix_t>
96template <matrix matrix1_t, matrix matrix2_t>
98 requires std::equality_comparable_with<typename matrix1_t::reference, typename matrix2_t::reference>
100inline bool operator==(matrix1_t
const & lhs, matrix2_t
const & rhs)
noexcept
102 if (lhs.rows() != rhs.rows())
105 if (lhs.cols() != rhs.cols())
108 for (
size_t row = 0u; row < lhs.rows(); ++row)
109 for (
size_t col = 0u; col < lhs.cols(); ++col)
110 if (matrix_coordinate co{row_index_type{row}, column_index_type{col}}; lhs.at(co) != rhs.at(co))
122template <matrix matrix1_t, matrix matrix2_t>
124 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);
The <concepts> header from C++20's standard library.
Provides seqan3::detail::matrix_index, seqan3::detail::matrix_coordinate and associated strong types.