LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Kalman filter linear algebra typedefs. More...
#include "boost/numeric/ublas/lu.hpp"
#include "boost/numeric/ublas/matrix.hpp"
#include "boost/numeric/ublas/symmetric.hpp"
#include "boost/numeric/ublas/vector.hpp"
#include "boost/serialization/array_wrapper.hpp"
#include <cmath>
Go to the source code of this file.
Classes | |
struct | trkf::KVector< N > |
Define a shortened alias for ublas namespace. More... | |
struct | trkf::KSymMatrix< N > |
Symmetric matrix, dimension NxN. More... | |
struct | trkf::KMatrix< N, M > |
General matrix, dimension NxM. More... | |
struct | trkf::KHMatrix< N > |
Kalman H-matrix, dimension Nx5. More... | |
struct | trkf::KGMatrix< N > |
Kalman gain matrix, dimension 5xN. More... | |
Namespaces | |
trkf | |
Typedefs | |
typedef KVector< 5 >::type | trkf::TrackVector |
Track state vector, dimension 5. More... | |
typedef KSymMatrix< 5 >::type | trkf::TrackError |
Track error matrix, dimension 5x5. More... | |
typedef KMatrix< 5, 5 >::type | trkf::TrackMatrix |
General 5x5 matrix. More... | |
Functions | |
template<class T , class TRI , class L , class A > | |
bool | trkf::syminvert (ublas::symmetric_matrix< T, TRI, L, A > &m) |
template<class T , class L , class A > | |
bool | trkf::invert (ublas::matrix< T, L, A > &m) |
template<class M > | |
M::value_type | trkf::trace (const M &m) |
Kalman filter linear algebra typedefs.
There are various linear algebra typedefs defined in this header:
The above typedefs refer to some ublas (boost/numeric/ublas) linear algebra class. The templated typedefs are defined as a member of a template class because c++ doesn't have template typedefs.
All linear algebra objects use the following storage model.
Surprisingly, the ublas linear algebra package does not have any built-in symmetric matrix inverse function. We provide one here as free function syminvert.
Definition in file KalmanLinearAlgebra.h.