42#if !defined(R__SOLARIS) && !defined(R__ACC) && !defined(R__FBSD)
48template<
class Element>
51 if (
m.GetNrows() != 2) {
52 Error(
"Inv2x2",
"matrix should be square 2x2");
56 Element *
pM =
m.GetMatrixArray();
64 Error(
"Inv2x2",
"matrix is singular");
78template<
class Element>
81 if (
m.GetNrows() != 3) {
82 Error(
"Inv3x3",
"matrix should be square 3x3");
86 Element *
pM =
m.GetMatrixArray();
110 }
else if (
t2 >=
t1) {
118 if (
det == 0 || tmp == 0) {
119 Error(
"Inv3x3",
"matrix is singular");
164template<
class Element>
167 if (
m.GetNrows() != 4) {
168 Error(
"Inv4x4",
"matrix should be square 4x4");
172 Element *
pM =
m.GetMatrixArray();
223 Error(
"Inv4x4",
"matrix is singular");
289template<
class Element>
292 if (
m.GetNrows() != 5) {
293 Error(
"Inv5x5",
"matrix should be square 5x5");
297 Element *
pM =
m.GetMatrixArray();
401 Error(
"Inv5x5",
"matrix is singular");
485template<
class Element>
488 if (
m.GetNrows() != 6 ||
m.GetNcols() != 6 ||
m.GetRowLwb() !=
m.GetColLwb()) {
489 Error(
"Inv6x6",
"matrix should be square 6x6");
493 Element *
pM =
m.GetMatrixArray();
772 Error(
"Inv6x6",
"matrix is singular");
#define NamespaceImp(name)
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.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.
Bool_t Inv6x6(TMatrixTSym< Element > &m, Double_t *determ)
Bool_t Inv3x3(TMatrixTSym< Element > &m, Double_t *determ)
Bool_t Inv4x4(TMatrixTSym< Element > &m, Double_t *determ)
Bool_t Inv2x2(TMatrixTSym< Element > &m, Double_t *determ)
Bool_t Inv5x5(TMatrixTSym< Element > &m, Double_t *determ)