OpenKalman
floating.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) 2022-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_FLOATING_HPP
17 #define OPENKALMAN_VALUES_FLOATING_HPP
18 
19 #include "basics/basics.hpp"
20 #include "value.hpp"
21 #include "integral.hpp"
22 #include "complex.hpp"
23 
24 namespace OpenKalman::values
25 {
29  template<typename T>
30 #ifdef __cpp_concepts
31  concept floating =
32 #else
33  constexpr bool floating =
34 #endif
35  value<T> and (not integral<T>) and (not complex<T>);
36 
37 }
38 
39 #endif
constexpr bool floating
T is a floating-point value.
Definition: floating.hpp:33
Definition for values::abs.
Definition: fixed-constants.hpp:23
Definition for values::integral.
Basic definitions for OpenKalman as a whole.
Definition for values::complex.
Definition for values::value.