OpenKalman
IndexedView.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) 2019-2023 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_EIGEN_TRAITS_INDEXEDVIEW_HPP
17 #define OPENKALMAN_EIGEN_TRAITS_INDEXEDVIEW_HPP
18 
19 #include <type_traits>
20 
21 
22 namespace OpenKalman::interface
23 {
24  // \todo: Add other interface traits.
25 
26  template<typename XprType, typename RowIndices, typename ColIndices>
27  struct indexible_object_traits<Eigen::IndexedView<XprType, RowIndices, ColIndices>>
28  : Eigen3::indexible_object_traits_base<Eigen::IndexedView<XprType, RowIndices, ColIndices>>
29  {
30  };
31 
32 } // namespace OpenKalman::interface
33 
34 #endif //OPENKALMAN_EIGEN_TRAITS_INDEXEDVIEW_HPP
Definition: indexible_object_traits.hpp:36
Definition: basics.hpp:41
Trait object providing get and set routines.
Definition: eigen-forward-declarations.hpp:502
Definition: eigen-comma-initializers.hpp:20