OpenKalman
pattern_collection.hpp
Go to the documentation of this file.
1 /* This file is part of OpenKalman, a header-only C++ library for
2  * Kalman filters and other recursive filters.
3  *
4  * Copyright (c) 2024 Christopher Lee Ogden <ogden@gatech.edu>
5  *
6  * This Source Code Form is subject to the terms of the Mozilla Public
7  * License, v. 2.0. If a copy of the MPL was not distributed with this
8  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
9  */
10 
16 #ifndef OPENKALMAN_VECTOR_SPACE_DESCRIPTOR_COLLECTION_HPP
17 #define OPENKALMAN_VECTOR_SPACE_DESCRIPTOR_COLLECTION_HPP
18 
19 #include "basics/concepts/collection.hpp"
20 #include "pattern_tuple.hpp"
21 #include "pattern_range.hpp"
22 
24 {
29  template<typename T>
30 #ifdef __cpp_concepts
31  concept pattern_collection =
32 #else
33  constexpr bool pattern_collection =
34 #endif
35  collection<T> and (pattern_tuple<T> or pattern_range<T>);
36 
37 
38 } // namespace OpenKalman::coordinates
39 
40 #endif //OPENKALMAN_VECTOR_SPACE_DESCRIPTOR_COLLECTION_HPP
Definition: compares_with.hpp:28
Definition for pattern_range.
Definition for pattern_tuple.
constexpr bool pattern_collection
An object describing a collection of /ref coordinates::pattern objects.
Definition: pattern_collection.hpp:33