SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
alignment_score_matrix_proxy.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
4 // This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5 // shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6 // -----------------------------------------------------------------------------------------------------
7 
13 #pragma once
14 
17 
18 namespace seqan3::detail
19 {
20 
34 template <typename score_type>
35 struct alignment_score_matrix_proxy
36 {
37  static_assert(arithmetic<score_type> || simd_concept<score_type>,
38  "Value type must either be an arithmetic type or a simd vector type.");
39 
40  score_type & current;
41  score_type & diagonal;
42  score_type & r_left;
43  score_type & w_left;
44  score_type & up;
45 };
46 } // namespace seqan3::detail
concept.hpp
Provides seqan3::simd::simd_concept.
core_language.hpp
Provides concepts for core language types and relations that don't have concepts in C++20 (yet).
arithmetic
A type that satisfies std::is_arithmetic_v<t>.