OpenKalman
linalg.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 
17 #ifndef OPENKALMAN_COMPATIBILITY_LINALG_HPP
18 #define OPENKALMAN_COMPATIBILITY_LINALG_HPP
19 
20 //#include "mdspan.hpp"
21 
22 #ifdef __cpp_lib_linalg
23 #include <linalg>
24 namespace OpenKalman::stdex
25 {
26  using namespace std::linalg;
27 }
28 #else
29 
30 #define MDSPAN_IMPL_STANDARD_NAMESPACE OpenKalman
31 #define MDSPAN_IMPL_PROPOSED_NAMESPACE stdex
32 #define MDSPAN_IMPL_TRAIT(TRAIT, ...) TRAIT<__VA_ARGS__>::value
33 #include "std-lib-reference/linalg-reference-implementation/include/experimental/linalg"
34 
35 #endif
36 
37 
38 #endif
Definition: basics.hpp:55