OpenKalman
constants.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) 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_VALUES_CONSTANTS_HPP
17 #define OPENKALMAN_VALUES_CONSTANTS_HPP
18 
19 #ifdef __cpp_lib_span
20 #include <span>
21 #else
22 #include <limits>
23 #endif
24 
25 namespace OpenKalman
26 {
35  enum struct applicability : int {
36  guaranteed,
37  permitted,
38  };
39 
40 
41  constexpr applicability operator not (applicability x)
42  {
44  }
45 
46 
47  constexpr applicability operator and (applicability x, applicability y)
48  {
50  }
51 
52 
53  constexpr applicability operator or (applicability x, applicability y)
54  {
56  }
57 
58 
59 }
60 
61 #endif
The concept, trait, or restraint represents a compile-time guarantee.
applicability
The applicability of a concept, trait, or restraint.
Definition: constants.hpp:35
The concept, trait, or restraint is permitted, but whether it applies is not necessarily known at com...
The root namespace for OpenKalman.
Definition: basics.hpp:34