template<unsigned int idim, unsigned int n = idim>
class ROOT::Math::Inverter< idim, n >
Matrix Inverter class Class to specialize calls to Dinv.
Dinv computes the inverse of a square matrix if dimension idim and order n. The content of the matrix will be replaced by its inverse. In case the inversion fails, the matrix content is destroyed. Invert specializes Dinv by the matrix order. E.g. if the order of the matrix is two, the routine Inverter<2> is called which implements Cramers rule.
- Author
- T. Glebe
Definition at line 69 of file Dinv.h.
template<unsigned int idim, unsigned int n>
template<class T >
LU inversion of general square matrices.
Inversion for General square matrices.
To be called after DFactMatrix (see implementation in Math/MatrixInversion.icc)
Code from dfinv routine from CERNLIB Assumed first the LU decomposition via DfactMatrix function
taken from CLHEP : L. Moneta May 2006
Definition at line 577 of file MatrixInversion.icc.
template<unsigned int idim, unsigned int N>
template<class T >
Bunch-Kaufman method for inversion of symmetric matrices.
General Inversion for a symmetric matrix Bunch-Kaufman diagonal pivoting method It is decribed in J.R.
Bunch, L. Kaufman (1977). "Some Stable Methods for Calculating Inertia and Solving Symmetric
Linear Systems", Math. Comp. 31, p. 162-179. or in Gene H. Golub, /Charles F. van Loan, "Matrix Computations" (the second edition has a bug.) and implemented in "lapack" Mario Stanke, 09/97
Definition at line 40 of file MatrixInversion.icc.