#include "Math/SMatrix.h"
#include "Math/CholeskyDecomp.h"
Go to the source code of this file.
Functions | |
template<typename T , unsigned int N> | |
bool | invertPosDefMatrix (ROOT::Math::SMatrix< T, N, N, ROOT::Math::MatRepSym< T, N > > &m) |
template<typename T , unsigned int N> | |
bool | invertPosDefMatrix (ROOT::Math::SMatrix< T, N, N, ROOT::Math::MatRepSym< T, N > > const &mIn, ROOT::Math::SMatrix< T, N, N, ROOT::Math::MatRepSym< T, N > > &mOut) |
bool invertPosDefMatrix | ( | ROOT::Math::SMatrix< T, N, N, ROOT::Math::MatRepSym< T, N > > & | m | ) | [inline] |
Definition at line 9 of file invertPosDefMatrix.h.
References ROOT::Math::CholeskyDecomp< F, N >::Invert(), and m.
Referenced by PerigeeTrajectoryError::calculateWeightMatrix(), KalmanVertexUpdator< N >::chi2Increment(), TrajectoryStateCombiner::combine(), KalmanVertexUpdator< N >::positionUpdate(), KalmanVertexTrackUpdator< 5 >::trackRefit(), KinematicConstrainedVertexUpdatorT< nTrk, nConstraint >::update(), and LocalTrajectoryError::weightMatrix().
{ ROOT::Math::CholeskyDecomp<T,N> decomp(m); if (!decomp) { return m.Invert(); } else decomp.Invert(m); return true; }
bool invertPosDefMatrix | ( | ROOT::Math::SMatrix< T, N, N, ROOT::Math::MatRepSym< T, N > > const & | mIn, |
ROOT::Math::SMatrix< T, N, N, ROOT::Math::MatRepSym< T, N > > & | mOut | ||
) | [inline] |
Definition at line 21 of file invertPosDefMatrix.h.
References ROOT::Math::CholeskyDecomp< F, N >::Invert().
{ ROOT::Math::CholeskyDecomp<T,N> decomp(mIn); if (!decomp) { mOut=mIn; return mOut.Invert(); } else decomp.Invert(mOut); return true; }