OpenKalman
compares_with_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) 2019-2025 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_COMPARES_WITH_PATTERN_COLLECTION_HPP
17 #define OPENKALMAN_COMPARES_WITH_PATTERN_COLLECTION_HPP
18 
19 #include "coordinates/coordinates.hpp"
21 
22 namespace OpenKalman
23 {
29  template<typename T, typename D, auto comp = &stdex::is_eq, applicability a = applicability::permitted>
30 #ifdef __cpp_concepts
32 #else
33  constexpr bool compares_with_pattern_collection =
34 #endif
35  indexible<T> and
36  coordinates::pattern_collection<D> and
37  coordinates::pattern_collection_compares_with<decltype(get_pattern_collection(std::declval<T>())), D, comp, a>;
38 
39 }
40 
41 #endif
constexpr bool compares_with_pattern_collection
Compares the associated pattern collection of indexible T with pattern_collection D...
Definition: compares_with_pattern_collection.hpp:33
The root namespace for OpenKalman.
Definition: basics.hpp:34
Definition for indexible.