OpenKalman
typed_adapter.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-2023 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_TYPED_ADAPTER_HPP
17 #define OPENKALMAN_TYPED_ADAPTER_HPP
18 
19 
20 namespace OpenKalman
21 {
22  // --------------- //
23  // typed_adapter //
24  // --------------- //
25 
29  template<typename T>
30 #ifdef __cpp_concepts
31  concept typed_adapter =
32 #else
33  constexpr bool typed_adapter =
34 #endif
35  typed_matrix<T> or covariance<T> or euclidean_expr<T>;
36 
37 } // namespace OpenKalman
38 
39 
40 #endif //OPENKALMAN_TYPED_ADAPTER_HPP
constexpr bool typed_adapter
Specifies that T is a typed adapter expression.
Definition: typed_adapter.hpp:33
The root namespace for OpenKalman.
Definition: basics.hpp:34