68template <
unsigned int idim,
unsigned int n =
idim>
74 template <
class MatrixRep>
79 unsigned int work[
n+1] = {0};
81 typename MatrixRep::value_type
det(0.0);
84 Error(
"Inverter::Dinv",
"Dfact_matrix failed!!");
89 if (
ifail == 0)
return true;
101 if (
ifail == 0)
return true;
143template <
unsigned int idim,
unsigned int n =
idim>
147 template <
class MatrixRep>
170 template <
class MatrixRep>
187 template <
class MatrixRep>
212 template <
class MatrixRep>
215 typedef typename MatrixRep::value_type T;
218 if (
det == T(0.) ) {
return false; }
243 if (
det == T(0.)) {
return false; }
270 template <
class MatrixRep>
285 template <
class MatrixRep>
300 template <
class MatrixRep>
312template <
unsigned int idim>
316 template <
class MatrixRep>
header file containing the templated implementation of matrix inversion routines for use with ROOT's ...
#define STATIC_CHECK(expr, msg)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
static bool Dinv(MatRepSym< T, idim > &rhs)
static bool Dinv(MatrixRep &)
Fast Matrix Inverter class Class to specialize calls to Dinv.
static bool Dinv(MatRepSym< T, idim > &rhs)
static bool Dinv(MatrixRep &rhs)
static bool Dinv(MatrixRep &)
static bool Dinv(MatrixRep &rhs)
static bool Dinv(MatRepSym< T, 2 > &rep)
static bool Dinv(MatrixRep &rhs)
Matrix Inverter class Class to specialize calls to Dinv.
static bool Dinv(MatrixRep &rhs)
matrix inversion for a generic square matrix using LU factorization (code originally from CERNLIB and...
static void InvertBunchKaufman(MatRepSym< T, idim > &rhs, int &ifail)
Bunch-Kaufman method for inversion of symmetric matrices.
static bool Dinv(MatRepSym< T, idim > &rhs)
symmetric matrix inversion using Bunch-kaufman pivoting method implementation in Math/MatrixInversion...
static int DfactMatrix(MatRepStd< T, idim, n > &rhs, T &det, unsigned int *work)
LU Factorization method for inversion of general square matrices (see implementation in Math/MatrixIn...
static int DfinvMatrix(MatRepStd< T, idim, n > &rhs, unsigned int *work)
LU inversion of general square matrices.
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...