OpenKalman
ParticleDistribution.hpp
1 /* This file is part of OpenKalman, a header-only C++ library for
2  * Kalman filters and other recursive filters.
3  *
4  * Copyright (c) 2017-2021 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 
11 #ifndef OPENKALMAN_PARTICLEDISTRIBUTION_HPP
12 #define OPENKALMAN_PARTICLEDISTRIBUTION_HPP
13 
14 #include <vector>
15 #include <tuple>
16 
17 namespace OpenKalman {
18 
26  template<typename... Properties>
27  struct ParticleDistribution: std::vector<std::tuple<Properties...>>
28  {
29  protected:
30  using Properties = std::tuple<Properties...>;
31  };
32 
33 }
34 
35 #endif //OPENKALMAN_PARTICLEDISTRIBUTION_HPP
Distribution of particles.
Definition: ParticleDistribution.hpp:27
The root namespace for OpenKalman.
Definition: basics.hpp:34
constexpr bool vector
T is a vector (e.g., column or row vector).
Definition: vector.hpp:67