OpenKalman
number.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-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_VALUE_NUMBER_HPP
17 #define OPENKALMAN_VALUE_NUMBER_HPP
18 
19 #include <type_traits>
21 
22 namespace OpenKalman::values
23 {
29  template<typename T>
30 #ifdef __cpp_concepts
31  concept number =
32 #else
33  constexpr bool number =
34 #endif
36 
37 
38 } // namespace OpenKalman::values
39 
40 
41 #endif //OPENKALMAN_VALUE_NUMBER_HPP
constexpr bool number
T is a numerical type.
Definition: number.hpp:33
Definition for values::abs.
Definition: constant_coefficient.hpp:25
Definition: number_traits.hpp:36
Traits for arithmetic and complex scalar types.