views::to_simd's range adaptor closure object type.
More...
#include <seqan3/utility/simd/views/to_simd.hpp>
|
using | padding_t = typename simd_traits< simd_t >::scalar_type |
| The type of a padding value.
|
|
|
constexpr auto | operator() () const noexcept |
| Returns a range adaptor object.
|
|
constexpr auto | operator() (padding_t const padding_value) const noexcept |
| Returns a range adaptor closure object with the given parameter.
|
|
template<std::ranges::range urng_t> |
constexpr auto | operator() (urng_t &&urange) const noexcept |
| Call the view's constructor with the underlying std::ranges::viewable_range as argument.
|
|
template<std::ranges::range urng_t> |
constexpr auto | operator() (urng_t &&urange, padding_t const padding_value) const noexcept |
| Call the view's constructor with the underlying std::ranges::viewable_range as argument.
|
|
|
template<std::ranges::range urng_t> |
constexpr friend auto | operator| (urng_t &&urange, to_simd_fn const &me) |
| Overloaded bit-operator to allow chaining with other ranges.
|
|
template<simd::simd_concept simd_t>
struct seqan3::detail::to_simd_fn< simd_t >
views::to_simd's range adaptor closure object type.
- Template Parameters
-
simd_t | The target simd type. |
Returns a seqan3::detail::view_to_simd view for a given std::ranges::viewable_range.
◆ operator()() [1/3]
template<simd::simd_concept simd_t>
Returns a range adaptor closure object with the given parameter.
- Parameters
-
[in] | padding_value | The padding character to use for smaller sequences. |
◆ operator()() [2/3]
template<simd::simd_concept simd_t>
template<std::ranges::range urng_t>
Call the view's constructor with the underlying std::ranges::viewable_range as argument.
- Parameters
-
[in] | urange | The input range to process; must model std::ranges::forward_range and std::ranges::viewable_range. |
- Returns
- A range that transforms a collection of sequences into chunks of simd vectors.
◆ operator()() [3/3]
template<simd::simd_concept simd_t>
template<std::ranges::range urng_t>
Call the view's constructor with the underlying std::ranges::viewable_range as argument.
- Parameters
-
[in] | urange | The input range to process; must model std::ranges::forward_range and std::ranges::viewable_range. |
[in] | padding_value | The padding character to use for smaller sequences. |
- Returns
- A range that transforms a collection of sequences into chunks of simd vectors.
The documentation for this struct was generated from the following file: