OpenKalman
make_eigen_tensor_wrapper.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) 2023-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_MAKE_EIGEN_TENSOR_WRAPPER_HPP
17 #define OPENKALMAN_MAKE_EIGEN_TENSOR_WRAPPER_HPP
18 
19 namespace OpenKalman::Eigen3
20 {
24 #ifdef __cpp_concepts
25  template<indexible Arg>
26 #else
27  template<typename Arg, std::enable_if_t<indexible<Arg>, int> = 0>
28 #endif
29  inline auto
31  {
32  return EigenTensorWrapper<Arg> {std::forward<Arg>(arg)};
33  }
34 
35 } // namespace OpenKalman::Eigen3
36 
37 
38 #endif //OPENKALMAN_MAKE_EIGEN_TENSOR_WRAPPER_HPP
Definition: eigen-forward-declarations.hpp:22
auto make_eigen_tensor_wrapper(Arg &&arg)
Make a LibraryWrapper for the Eigen tensor library.
Definition: make_eigen_tensor_wrapper.hpp:30
Definition: forward-class-declarations.hpp:580