Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::FastInverter< idim, n > Class Template Reference

template<unsigned int idim, unsigned int n = idim>
class ROOT::Math::FastInverter< idim, n >

Fast 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 less than 5 , the class implements Cramers rule. Be careful that for matrix with high condition the accuracy of the Cramer rule is much poorer

Author
L. Moneta

Definition at line 144 of file Dinv.h.

Static Public Member Functions

template<class T >
static bool Dinv (MatRepSym< T, idim > &rhs)
 
template<class MatrixRep >
static bool Dinv (MatrixRep &rhs)
 

#include <Math/Dinv.h>

Member Function Documentation

◆ Dinv() [1/2]

template<unsigned int idim, unsigned int n = idim>
template<class T >
static bool ROOT::Math::FastInverter< idim, n >::Dinv ( MatRepSym< T, idim > &  rhs)
inlinestatic

Definition at line 152 of file Dinv.h.

◆ Dinv() [2/2]

template<unsigned int idim, unsigned int n = idim>
template<class MatrixRep >
static bool ROOT::Math::FastInverter< idim, n >::Dinv ( MatrixRep &  rhs)
inlinestatic

Definition at line 148 of file Dinv.h.


The documentation for this class was generated from the following file: