SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::coordinate_matrix< index_t >::convert_to_matrix_coordinate Struct Reference

A function object that converts a column index and a row index to a seqan3::detail::matrix_coordinate. More...

Public Member Functions

auto operator() (index_t const row_index) noexcept
 The conversion operator.
 

Public Attributes

index_t column_index {}
 The index of the represented column.
 

Detailed Description

template<typename index_t>
struct seqan3::detail::coordinate_matrix< index_t >::convert_to_matrix_coordinate

A function object that converts a column index and a row index to a seqan3::detail::matrix_coordinate.

This helper function object is used for the seqan3::detail::coordinate_matrix::coordinate_matrix_iterator and seqan3::detail::coordinate_matrix::coordinate_matrix_simd_iterator to convert the column and row index into a seqan3::detail::matrix_index.

Member Function Documentation

◆ operator()()

template<typename index_t >
auto seqan3::detail::coordinate_matrix< index_t >::convert_to_matrix_coordinate::operator() ( index_t const  row_index)
inlinenoexcept

The conversion operator.

Parameters
[in]row_indexThe index of the represented row.
Returns
seqan3::detail::matrix_index for the current column and row index.

The documentation for this struct was generated from the following file:
Hide me