OpenKalman
dynamic_pattern.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-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_COORDINATE_DYNAMIC_PATTERN_HPP
17 #define OPENKALMAN_COORDINATE_DYNAMIC_PATTERN_HPP
18 
21 
23 {
27  template<typename T>
28 #ifdef __cpp_concepts
29  concept dynamic_pattern =
30 #else
31  constexpr bool dynamic_pattern =
32 #endif
33  pattern<T> and (not fixed_pattern<T>);
34 
35 
36 } // namespace OpenKalman::coordinates
37 
38 #endif //OPENKALMAN_COORDINATE_DYNAMIC_PATTERN_HPP
Definition for coordinates::fixed_pattern.
constexpr bool dynamic_pattern
A coordinates::pattern for which the size is defined at runtime.
Definition: dynamic_pattern.hpp:31
Definition for coordinates::pattern.
Definition: compares_with.hpp:28