12 #ifndef ROOT_TDecompQRH 13 #define ROOT_TDecompQRH 45 TDecompQRH(Int_t row_lwb,Int_t row_upb,Int_t col_lwb,Int_t col_upb);
70 virtual void Det (Double_t &d1,Double_t &d2);
76 void Print(Option_t *opt =
"")
const;
virtual const TMatrixDBase & GetDecompMatrix() const
void Print(Option_t *opt="") const
Print the class members.
Decomposition Base class.
virtual const TMatrixD & GetQ()
virtual Int_t GetNrows() const
TDecompQRH & operator=(const TDecompQRH &source)
Assignment operator.
static Bool_t QRH(TMatrixD &q, TVectorD &diagR, TVectorD &up, TVectorD &w, Double_t tol)
Decomposition function .
virtual const TVectorD & GetUp()
virtual const TVectorD & GetW()
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t Int_t m
virtual Bool_t Decompose()
QR decomposition of matrix a by Householder transformations, see Golub & Loan first edition p41 & Sec...
virtual Bool_t Solve(TVectorD &b)
Solve Ax=b assuming the QR form of A is stored in fR,fQ and fW, but assume b has not been transformed...
virtual void Det(Double_t &d1, Double_t &d2)
This routine calculates the absolute (!) value of the determinant |det| = d1*TMath::Power(2.,d2)
* x
Deprecated and error prone model selection interface.
virtual TVectorD TransSolve(const TVectorD &b, Bool_t &ok)
virtual Bool_t TransSolve(TVectorD &b)
Solve A^T x=b assuming the QR form of A is stored in fR,fQ and fW, but assume b has not been transfor...
virtual const TMatrixD & GetR()
virtual Int_t GetNcols() const
virtual TVectorD Solve(const TVectorD &b, Bool_t &ok)
virtual void SetMatrix(const TMatrixD &a)
Set matrix to be decomposed.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b